[SR-Users] BLF state on register

Daniel-Constantin Mierla miconda at gmail.com
Wed Aug 26 09:16:25 CEST 2015


Hello,

watch the sip traffic and see if there are retransmissions not replies
as well as look at expires header value for subscribe/public requests.
The reason timeout is somehow related to the above.

Again, be sure you look at the traffic on all network interfaces.

Is SIP sent over UDP or TCP/TLS?

Cheers,
Daniel

On 25/08/15 16:07, Loic Chabert wrote:
> Thanks Daniel,
>
> Yes a subscribe request as been sent by my hardphone, authentication
> works, but juste after 200OK, a NOTIFY message as been sent with this
> header: Subscription-State: terminated;reason=timeout
>
> But, on my SQL table "active_watcher", i can see my user (103)
> subscribed to 102 dialog events.
>
> Concerning pua_usrloc, all requests PUBLISH from myself are allowed:
>
>     if(is_method("PUBLISH") && from_uri==myself)
>         return;
>
> Do you want any copy of debug message at level 3 ?
>
> Thanks.
> Regards.
>
> 2015-08-25 12:20 GMT+02:00 Daniel-Constantin Mierla <miconda at gmail.com
> <mailto:miconda at gmail.com>>:
>
>     Hello,
>
>     do you get subscribe requests from users? A NOTIFY is sent only
>     when there is an active subscription.
>
>     Also, be sure you allow traffic on loopback without authentication
>     -- pua_usrloc may send a publish to same sip server instance.
>     Running with debug=3 and looking at syslog should reveal more
>     about what is happening around.
>
>     Cheers,
>     Daniel
>
>
>     On 25/08/15 11:40, Loic Chabert wrote:
>>     Hello everyone,
>>
>>     I'm trying to reproduce BLF's asterisk fonctionnality with kamailio.
>>     With asterisk, on register, NOTIFY message has been sent to all
>>     suscribed users. So LED became green.
>>     How can i reproduce this function ?
>>
>>     I have try to execute a "pua_set_publish()" on register route,
>>     but it's not work. My led stay "black", and no notify message has
>>     been sent.
>>
>>     I have loaded presence, presence_xml, presence_mwi,
>>     presence_dialoginfo, pua, pua_dialoginfo, pua_usrloc. Any other
>>     module needed ?
>>
>>     Thanks,
>>     Regards.
>>
>>
>>     _______________________________________________
>>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>     -- 
>     Daniel-Constantin Mierla
>     http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>     Book: SIP Routing With Kamailio - http://www.asipto.com
>
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150826/46a5f466/attachment.html>


More information about the sr-users mailing list