[SR-Users] Create dialog for SIP PRESENCE
Alex Balashov
abalashov at evaristesys.com
Sat May 10 18:24:58 CEST 2014
Hi Ewgeny,
The dialog module relies on TM callbacks. The dialog is not actually created until a transaction is created, usually with t_relay().
On 10 May 2014 20:23:23 GMT+04:00, Ewgeny <evoip at ukr.net> wrote:
>Hi,
>
>i'm trying to create SIP dialog for SUBSCRIBE messages, but it's still
>unsuccessful (.
>
> if (is_method("SUBSCRIBE")) {
> setflag(4);
> dlg_manage();
> xlog("L_INFO", "DLG_count=$DLG_count,
>DLG_status=$DLG_status, DLG_lifetime=$DLG_lifetime - (Method=$rm
>RURI=$ru From=$fu To=$tu IP=$si DST=$du -- $ci)\n");
> }
>
>
>In kamailio.log:
>May 10 18:15:11 /usr/sbin/kamailio[18355]: DEBUG: dialog
>[dlg_hash.c:652]: no dialog callid='265619152 at 192.168.4.18' found
>May 10 18:15:11 /usr/sbin/kamailio[18355]: DEBUG: dialog
>[dlg_hash.c:683]: no dialog callid='265619152 at 192.168.4.18' found
>May 10 18:15:11 /usr/sbin/kamailio[18355]: DEBUG: dialog
>[dlg_handlers.c:1170]: Callid '265619152 at 192.168.4.18' not found
>
>
>Does kamailio 3.3.4 support Dialog for PRESENCE (Subscribe, Publish,
>Notify) ?
>
>
>
>
>Best Regards,
>Ewgeny
>
>
>
>
>
>_______________________________________________
>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>sr-users at lists.sip-router.org
>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Sent from my mobile, and thus lacking in the refinement one might expect from a fully fledged keyboard.
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0671
Web: http://www.evaristesys.com/, http://www.alexbalashov.com
More information about the sr-users
mailing list