Hi all:
I am trying to use the procedure for setting BLF lights described in https://blog.voipxswitch.com/2018/02/22/kamailio-controlling-presence-with-n...
WIthout success.
My configuration is 1 Grandstream GXP2130 phone behind a NAT on a public IP. (IPP in example below)
Kamailio is running on public IP (IPK in example) listening on port 50060
The command I am sending:
curl -d '{"Call-ID":"1020101@<IPP>","Event-Category":"presence","Event-Name":"update","Event-Package":"dialog","Expires":"3600","To":"sip:1020108@<IPK>:50060","To-User":"1020108","To-Realm":"<IPK>:50060","From":"sip:1020101@<IPP>","From-User":"1020101","From-Realm":"<IPP>","State":"Confirmed"}' http://localhost:8080/presence/ {"Call-ID":"1020101@<IPP>","Event-Category":"presence","Event-Name":"update","Event-Package":"dialog","Expires":"3600","To":"sip:1020108@<IPK>:50060","To-User":"1020108","To-Realm":"<IPK>:50060","From":"sip:1020101@<IPP>","From-User":"1020101","From-Realm":"<IPP>","State":"Confirmed"}
Kamailio appears to be processing the command OK, so I think I am just not setting it up properly>
Anybody having any luck with this procedure, let me know how you are getting it to work.
Bill
Hello Bill,
just giving some generic debug pointers here:
- do you see any errors in the kamailio log file?
- do you see any SIP traffic (e.g. by observing with ngrep, wireshark etc..) to the phone after your curl command?
Cheers,
Henning
Am 28.08.19 um 19:04 schrieb bill@novatrope.us:
Hi all:
I am trying to use the procedure for setting BLF lights described in https://blog.voipxswitch.com/2018/02/22/kamailio-controlling-presence-with-n...
WIthout success.
My configuration is 1 Grandstream GXP2130 phone behind a NAT on a public IP. (IPP in example below)
Kamailio is running on public IP (IPK in example) listening on port 50060
The command I am sending:
curl -d '{"Call-ID":"1020101@<IPP>","Event-Category":"presence","Event-Name":"update","Event-Package":"dialog","Expires":"3600","To":"sip:1020108@<IPK>:50060","To-User":"1020108","To-Realm":"<IPK>:50060","From":"sip:1020101@<IPP>","From-User":"1020101","From-Realm":"<IPP>","State":"Confirmed"}' http://localhost:8080/presence/ {"Call-ID":"1020101@<IPP>","Event-Category":"presence","Event-Name":"update","Event-Package":"dialog","Expires":"3600","To":"sip:1020108@<IPK>:50060","To-User":"1020108","To-Realm":"<IPK>:50060","From":"sip:1020101@<IPP>","From-User":"1020101","From-Realm":"<IPP>","State":"Confirmed"}
Kamailio appears to be processing the command OK, so I think I am just not setting it up properly>
Anybody having any luck with this procedure, let me know how you are getting it to work.
Bill
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users