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-new-module-pua_json/#comment-587

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

Reply via email to