Hi I did change kamailio.cfg as below and getting some error. *//Loaded dialog module* *loadmodule "dialog.so"*
My route block looks as below. *# Main SIP request routing logic # - processing of any incoming SIP request starts with this route route {* * # per request initial checks route(REQINIT); setflag(FLT_NATS); # NAT detection route(NAT);* * # handle requests within SIP dialogs route(WITHINDLG);* * if (is_method("INVITE")) { if($DLG_count > 1) { sl_send_reply("503","RESOURCE UNAVAILABLE"); exit; } } * I added the if block shown in red color. 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. Thanks Austin On Fri, Oct 28, 2011 at 9:53 AM, Alex Balashov <abalas...@evaristesys.com>wrote: > On 10/27/2011 11:26 PM, Austin Einter wrote: > > Do you mean that I need to modify kamailio.cfg to have max calls >> limitation? >> > > Quitely so. > > -- > Alex Balashov - Principal > Evariste Systems LLC > 260 Peachtree Street NW > Suite 2200 > Atlanta, GA 30303 > Tel: +1-678-954-0670 > Fax: +1-404-961-1892 > Web: http://www.evaristesys.com/ > > ______________________________**_________________ > 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<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> >
_______________________________________________ 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