<div dir="ltr"><div><span tabindex="-1" id="result_box" class="" lang="en"><span class="">You may</span> <span class="">setup</span> <span class="">your</span> <span class="">file</span> extensions.conf <span class="">is wrong.<br></span></span><br></div><span tabindex="-1" id="result_box" class="" lang="en"><span>Check it.<br></span></span></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-20 8:45 GMT+01:00 Olle E. Johansson <span dir="ltr"><<a href="mailto:oej@edvina.net" target="_blank">oej@edvina.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div>On 19 Jan 2015, at 21:42, <a href="mailto:mail@sathees.co.uk" target="_blank">mail@sathees.co.uk</a> <<a href="mailto:mahan.sathees@gmail.com" target="_blank">mahan.sathees@gmail.com</a>> wrote:</div><br><blockquote type="cite"><p class="MsoNormal" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-size:10pt" lang="EN-US">kamailio passing DDI to asterisk, but its sending to wrong context.</span></p><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-size:10pt" lang="EN-US"> </span><br></div><p class="MsoNormal" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-size:10pt" lang="EN-US"> If any of the<span> </span></span><span style="font-size:10pt;font-family:Arial" lang="EN-US">sip users is registered, the calls were sending to registered user context. If no sip user is online then calls has been send to kamailio-trunk. How can I get all DDI to kamailio-trunk?  How can I solve this problem?</span></p><br></blockquote></div>THis is an Asterisk problem. Turn on SIP debugging in Asterisk and Asterisk will tell you how it matches an incoming request<div>to your list of peers and users, and selects incoming context based on that. Based on that you can fix your sip.conf to </div><div>always match the proper peer and thus get the calls to the context you want.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>/Olle</div></font></span></div><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Emilio Soler Muñoz<br>665801225<br><a href="mailto:emiliosoler@gmail.com">emiliosoler@gmail.com</a></div>
</div>