[SR-Users] controlling presence with new module `pua_json`

bill at novatrope.us bill at novatrope.us
Wed Aug 28 19:04:11 CEST 2019


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





More information about the sr-users mailing list