<div dir="ltr"><div>Hi,<br><span id="result_box" class="" lang="en"><span class="">Can anyone</span> <span class="">help me?</span> <span class="">Looking for</span> <span class="">ways to</span> <span class="">configure</span> <span class="">Kamailio</span><span class="">.</span></span><br>
</div>Thank you,<br>Mickael<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/17 Mickael MONSIEUR <span dir="ltr"><<a href="mailto:mickael.monsieur@gmail.com" target="_blank">mickael.monsieur@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div>First, i have 7 years experience with Asterisk, but I started a project with Kamailio, forgive me in advance if I say silly things...! ;-)</div>
<div><br></div><div><div>I set up a classic Asterisk / Kamailio configuration:</div>
<div>sip phones -> kamailio -> asterisk -> sip trunks/pstn.</div><div><br></div><div><div>When a call comes from the PSTN side, if I configure Asterisk as follows:</div><div><br></div><div><div><div>[012345678]</div>

<div>type = friend</div><div>username = 012345678</div><div>secret = xxxxxxx</div><div>host = dynamic</div></div><div>fromdomain = <a href="http://sip.mydomain.com" target="_blank">sip.mydomain.com</a></div><div>fromuser = 012345678</div>

</div><div><br></div><div>Standard mode:</div><div>exten => 012345678, 1, Dial(SIP/012345678) -> The call is redirected on the phone by Kamailio ! :-)</div><div><br></div><div>------------------------------------------------------------------------------------------------------------------------------------------------<br>

</div><div><br></div><div><br></div><div>Trunk mode:</div><div><br></div><div><div><div>[mytrunk]</div><div>type = friend</div><div>username = mytrunkUser</div><div>secret = xxxxxxx</div><div>host = dynamic</div></div><div>

fromdomain = <a href="http://sip.mydomain.com" target="_blank">sip.mydomain.com</a></div><div>fromuser = mytrunkUser</div></div><div><br></div><div><br></div><div>exten => 012345678, 1, Dial(SIP/mytrunk/012345678) -> The call is rejected by Kamailio....</div>

<div>exten => 012345679, 1, Dial(SIP/mytrunk/012345679) -> The call is rejected by Kamailio ....</div></div><div><br></div><div><br></div><div>My question is how to allow the routing of multiple numbers (trunk mode) in a SIP account with Kamailio?<br>

</div><div>Best regards,</div><div>Mickael</div><div><br></div></div></div>
</blockquote></div><br></div>