Re: [OpenSIPS-Users] Presence BLF with linksys SPA
On March 3, 2010 6:44:25 PM CEST, Ovidiu Sas wrote: > You need to create a dialog for calls between users involved in dialog > presence *and* you will also need mark the dialogs that will generate > PUBLISH: dialoginfo_set(). > See: > http://www.opensips.org/html/docs/modules/1.6.x/pua_dialoginfo.html#id228322 Thank you Ovidiu for your answer. Your hint and Angel's patch (http://sourceforge.net/tracker/?func=detail&aid=2847397&group_id=232389&atid=1086412 ) helped me a lot to go ahead with my issues. I am still having problems with PSTN incoming calls that I am currently debugging. Regards, - vma . ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Presence BLF with linksys SPA
On Thursday4Mar, 2010, at 11:29 AM, Angel Marin wrote: > > To get the light in green before there has been any call involved we > ended up patching: > > http://sourceforge.net/tracker/?func=detail&aid=2847397&group_id=232389&atid=1086412 > > At least that seemed to be the only way to make blf more usable with > spa-9x2 phones. Thank you Angel for the patch. This is what I was looking for to get the same behaviour as asterisk. My setting works well for outgoing calls but I still have issue for incoming calls from my PSTN gateway. I am currently debugging the notify messages to understand why. Regards, - vma . ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Presence BLF with linksys SPA
On 02/03/10 19:04, vallimamod abdullah wrote: > 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 ? To get the light in green before there has been any call involved we ended up patching: http://sourceforge.net/tracker/?func=detail&aid=2847397&group_id=232389&atid=1086412 At least that seemed to be the only way to make blf more usable with spa-9x2 phones. -- Angel Marin http://anmar.eu.org/ ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Presence BLF with linksys SPA
You need to create a dialog for calls between users involved in dialog presence *and* you will also need mark the dialogs that will generate PUBLISH: dialoginfo_set(). See: http://www.opensips.org/html/docs/modules/1.6.x/pua_dialoginfo.html#id228322 Regards, Ovidiu Sas On Tue, Mar 2, 2010 at 1:04 PM, vallimamod abdullah wrote: > 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 > . > > > > > > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Presence BLF with linksys SPA
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" ;tag=352777379609d209. To: . Call-ID: 461aa94f-dd768...@192.168.0.44. CSeq: 25000 SUBSCRIBE. Max-Forwards: 70. Contact: "4590" . 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" ;tag=352777379609d209. To: ;tag=5dd6e7cfb382f22810ec02377fb059aa-3ccc. Call-ID: 461aa94f-dd768...@192.168.0.44. CSeq: 25001 SUBSCRIBE. Expires: 1800. Contact: . 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.8902.0. To: ;tag=352777379609d209. From: ;tag=5dd6e7cfb382f22810ec02377fb059aa-3ccc. CSeq: 1 NOTIFY. Call-ID: 461aa94f-dd768...@192.168.0.44. Content-Length: 0. Max-Forwards: 70. Event: dialog. Contact: . Subscription-State: active;expires=1800. . spa942.local:3354 -> sipb.provider.com:5060 SIP/2.0 200 OK. To: ;tag=352777379609d209. From: ;tag=5dd6e7cfb382f22810ec02377fb059aa-3ccc. Call-ID: 461aa94f-dd768...@192.168.0.44. CSeq: 1 NOTIFY. Via: SIP/2.0/UDP sipb.provider.com;branch=z9hG4bK5c33.8902.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