Hello list,
I am trying to implement presence with opensips 1.6.0-notls and
linksys spa942 firmware 6.1.5(a). On the phone side, I have configured
an idle line with blf (fnc=blf;sub=2...@$proxy;nme=2036)
On server side, I am using the presence_dialoginfo.so and
pua_dialoginfo.so modules as described on the tutorial (http://www.opensips.org/Resources/DocsPapPa.
)
When the phone starts, it sends SUBSCRIBE (Event: dialog) to the
server and receives NOTIFY from it. But there is no PUBLISH so the
light remain blinking orange. The relevant parts of sip traces and
opensips config are attached (extension 4590 is monitoring extension
2036).
Any hint for where I should look ?
Thank you !
Regards,
- vma
.
spa942.local:3354 -> sipb.provider.com:5060
SUBSCRIBE sip:2...@sipb.provider.com SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.44:5060;branch=z9hG4bK-30bde5c3;rport.
From: "4590" <sip:4...@sipb.provider.com>;tag=352777379609d209.
To: <sip:2...@sipb.provider.com>.
Call-ID: 461aa94f-dd768...@192.168.0.44.
CSeq: 25000 SUBSCRIBE.
Max-Forwards: 70.
Contact: "4590" <sip:4...@192.168.0.44:5060>.
Accept: application/dialog-info+xml.
Expires: 1800.
Event: dialog.
User-Agent: Linksys/SPA942-6.1.5(a).
Content-Length: 0.
.
sipb.provider.com:5060 -> spa942.local:3354
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
192.168.0.44:5060;branch=z9hG4bK-61dc2f7;rport=3354;received=spa942.local.
From: "4590" <sip:4...@sipb.provider.com>;tag=352777379609d209.
To: <sip:2...@sipb.provider.com>;tag=5dd6e7cfb382f22810ec02377fb059aa-3ccc.
Call-ID: 461aa94f-dd768...@192.168.0.44.
CSeq: 25001 SUBSCRIBE.
Expires: 1800.
Contact: <sip:sipb.provider.com:5060>.
Content-Length: 0.
.
sipb.provider.com:5060 -> spa942.local:3354
NOTIFY sip:4...@spa942.local:3354 SIP/2.0.
Via: SIP/2.0/UDP sipb.provider.com;branch=z9hG4bK5c33.cccc8902.0.
To: <sip:4...@sipb.provider.com>;tag=352777379609d209.
From: <sip:2...@sipb.provider.com>;tag=5dd6e7cfb382f22810ec02377fb059aa-3ccc.
CSeq: 1 NOTIFY.
Call-ID: 461aa94f-dd768...@192.168.0.44.
Content-Length: 0.
Max-Forwards: 70.
Event: dialog.
Contact: <sip:sipb.provider.com:5060>.
Subscription-State: active;expires=1800.
.
spa942.local:3354 -> sipb.provider.com:5060
SIP/2.0 200 OK.
To: <sip:4...@sipb.provider.com>;tag=352777379609d209.
From: <sip:2...@sipb.provider.com>;tag=5dd6e7cfb382f22810ec02377fb059aa-3ccc.
Call-ID: 461aa94f-dd768...@192.168.0.44.
CSeq: 1 NOTIFY.
Via: SIP/2.0/UDP
sipb.provider.com;branch=z9hG4bK5c33.cccc8902.0;received=sipb.provider.com.
Server: Linksys/SPA942-6.1.5(a).
Content-Length: 0.
loadmodule "presence.so"
modparam("presence", "db_url", "mysql://opensips:x...@192.168.1.19/opensips")
modparam("presence", "server_address", "sip:sipb.provider.com:5060")
loadmodule "presence_xml.so"
modparam("presence_xml", "db_url",
"mysql://opensips:x...@192.168.1.19/opensips")
modparam("presence_xml", "force_active", 1)
loadmodule "presence_dialoginfo.so"
modparam("presence_dialoginfo", "force_single_dialog", 1)
loadmodule "pua.so"
modparam("pua", "db_url", "mysql://opensips:x...@192.168.1.19/opensips")
loadmodule "pua_dialoginfo.so"
modparam("pua_dialoginfo", "presence_server", "sip:sipb.provider.com:5060")
#---
# Request route 'presence'
#---
route[14] {
xlog("L_INFO", "$ci - subscribe presence handler - M=$rm RURI=$ru F=$fu
T=$tu IP=$si\n");
# absorb retransmissions
if (!t_newtran()) {
sl_reply_error();
exit;
};
if(is_method("PUBLISH")) {
handle_publish();
}.
else if( is_method("SUBSCRIBE")) {
handle_subscribe();
};
exit;
}
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users