<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Somehow got improvement, I am able to start the kamailio service and able to register two extensions. but again , am getting some error in Asterisk console and in /var/log/messages</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><b>Asterisk console </b></div><div class="gmail_default" style><div class="gmail_default" style="color:rgb(0,0,0);font-family:tahoma,sans-serif">chan_sip.c:16090 parse_register_contact: Not a valid SIP contact (missing sip:/sips:) trying to use anyway</div><div class="gmail_default" style="color:rgb(0,0,0);font-family:tahoma,sans-serif">    -- Registered SIP '102' at <a href="http://10.20.9.131:5060">10.20.9.131:5060</a></div><div style="font-weight:bold;color:rgb(0,0,0);font-family:tahoma,sans-serif"><br></div><div style="font-weight:bold;color:rgb(0,0,0);font-family:tahoma,sans-serif">In /var/log/messages</div><div><font color="#000000" face="tahoma, sans-serif">/usr/local/sbin/kamailio[32376]: WARNING: sanity [sanity.c:243]: check_ruri_scheme(): failed to parse request uri [<a href="http://102@10.20.9.131:5060">102@10.20.9.131:5060</a>]</font><br></div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">​Attaching latest kamailio.cfg file. ​</div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><br></div><div><br></div><font face="tahoma, sans-serif">Thank you  with regards,<br>Gopalkrishnan N.</font><div><font face="tahoma, sans-serif">Mob: +91 99404 91346</font></div><div><font face="tahoma, sans-serif">VoIP call - <a href="mailto:sip%3Asaigop@gtalk2voip.com" target="_blank">sip:saigop@gtalk2voip.com</a></font><br><br></div></div></div></div>
<br><div class="gmail_quote">On Wed, May 27, 2015 at 5:00 PM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:saigop@gmail.com" target="_blank">saigop@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Further to this, in the /var/log/messages, I see this, </div><div style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div><div style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><div>May 27 16:04:07 testvoice kamailio: : <core> [cfg.y:3420]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, from line 1058, column 1 to line 1059, column 0: syntax error</div><div>May 27 16:04:07 testvoice kamailio: WARNING: <core> [ppcfg.c:219]: pp_ifdef_level_check(): different number of preprocessor directives: N(#!IF[N]DEF) - N(#!ENDIF) = 2</div><div>^C</div><div><br></div><div>but the line what mentioned is very last line, I don't know where to start the debug. </div><div><br></div><div>Regards</div></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div><div dir="ltr"><div><br></div><div><br></div><font face="tahoma, sans-serif">Thank you  with regards,<br>Gopalkrishnan N.</font><div><font face="tahoma, sans-serif">Mob: +91 99404 91346</font></div><div><font face="tahoma, sans-serif">VoIP call - <a href="mailto:sip%3Asaigop@gtalk2voip.com" target="_blank">sip:saigop@gtalk2voip.com</a></font><br><br></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Wed, May 27, 2015 at 4:51 PM, Gopalakrishnan N <span dir="ltr"><<a href="mailto:saigop@gmail.com" target="_blank">saigop@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><div dir="ltr"><div style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Hi,<br></div><div class="gmail_quote"><div dir="ltr"><div style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div><div style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">I have added the ASTERISK integration in kamailio.cfg, after adding those, am not able to start kamailio service, its getting failed, attached is the script. </div><div style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div><div style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Any help would be appreciated. </div><div style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div><div style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div><div><div><div dir="ltr"><div><br></div><div><br></div><font face="tahoma, sans-serif">Thank you  with regards,<br>Gopalkrishnan N.</font><div><font face="tahoma, sans-serif">Mob: +91 99404 91346</font></div><div><font face="tahoma, sans-serif">VoIP call - <a href="mailto:sip%3Asaigop@gtalk2voip.com" target="_blank">sip:saigop@gtalk2voip.com</a></font><br><br></div></div></div></div>
</div>
</div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>