Hey,

U can use these docs in the meantime - http://kamailio.org/docs/modules/stable/modules_k/dialog.html

Cheers
Jason

On Fri, Oct 28, 2011 at 11:36 AM, Timo Reimann <sr@foo-lounge.de> wrote:
Hey,


Am 28.10.2011 um 07:29 schrieb Austin Einter:
> I did change kamailio.cfg as below and getting some error.

[snip]


> When I start the kamailio proxy I get below error.
>
> [root@www1 kamailio]#
> [root@www1 kamailio]# kamailio -T -E -n 1 -l 174.37.8.178 -l 127.0.0.1 -W epoll_et -l udp:174.37.8.178:26588
> loading modules under /usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/
> Listening on
>              udp: 174.37.8.178:26588
>              udp: 127.0.0.1:26588
> Aliases:
>              udp: localhost:26588
>              udp: localhost.localdomain:26588
>              udp: 174.37.8.178-static.reverse.softlayer.com:26588
>  0(26959) INFO: usrloc [hslot.c:53]: locks array size 512
>  0(26959) ERROR: dialog [dialog.c:435]: no dlg flag set!!
>  0(26959) ERROR: <core> [sr_module.c:875]: init_mod(): Error while initializing module dialog (/usr/local/lib/kamailio/modules_k/dialog.so)
> ERROR: error while initializing modules
> [root@www1 kamailio]#
> [root@www1 kamailio]#
>
> It looks , dialog module facing problem during initialization.
>
> I am bit new to this, not getting any clue . Kindly let me know whats going wrong.

"no dlg flag set"

Using the dialog module requires either one of the following for each dialog you wish to track:

- Set a certain flag. This tells the dialog module to start tracking. It only works for INVITE requests though and requires specifying the desired dialog flag as a modparam.
- Call dlg_manage(). This also tells the dialog module to start tracking but may be called from non-INVITE requests too (at least theoretically; I never tried).

Unfortunately, the wiki docs regarding the dialog module seem to be broken right now, so I cannot point you at the specific syntax.


HTH,

--Timo
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users