<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">False,<div><br></div><div>The logic in FS is that a call will go through the dialplan context attached to the SIP profile that the call is coming into.</div><div>So if you have the SIP Profile internal bound to 10.0.0.1:5080 for instance, and then you receive an INVITE on 10.0.0.1:5080, FS will parse the dialplan context configured in internal.xml (by default, public).</div><div><br></div><div>For registered users though, you can alter this behavior by specifying a context in the user variables:</div><div><div><br></div><div> <variable name="user_context" value="your_own_context_for_this_user"/></div><div><br></div><div>If you don't, the context configured in the SIP profile that the user is sending INVITEs to will be used.</div></div><div><br></div><div><div><div apple-content-edited="true"> <span class="Apple-style-span" style="font-size: 14px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#1C00FF">David Ponzone </font><font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Direction Technique</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">email: <a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 01 74 03 18 97</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">gsm: 06 66 98 76 34</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><br></font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">Service Client<span class="Apple-converted-space"> </span></font><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#FF0000">IP</font></font><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">eva</font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 0811 46 26 26</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'" size="3"><span class="Apple-style-span" style="font-size: 13px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span style="text-decoration: underline; "><a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149); "> - <span style="color: rgb(0, 34, 243); text-decoration: underline; "><a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span" style="text-decoration: underline; "><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-align: justify; font: normal normal normal 10px/normal Arial; color: rgb(192, 192, 192); "><i>Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.</i></div><div style="text-decoration: underline; text-align: justify; "><font class="Apple-style-span" color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br><div><div>Le 30/03/2010 à 06:33, false a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font: inherit;">Hi all<br><br>i use freeswitch to register to sip server<br>the domain is not real: sip.yeah.com<br>the outbound proxy : 118.69.145.5<br><br>i create the sip.yeah.com.xml in /usr/local/freeswitch/conf/sip_profiles/external folder<br></include><br> <gateway name="sip.yeah.com"><br> <param name="username" value="071234"/><br> <param name="from-user" value="071234"/> <br> <param name="proxy" value="sip.yeah.com"/><br> <param name="username" value="071234"/><br> <param name="password" value="1234"/><br> <param name="register-proxy" value="118.69.145.5"/><br> <param name="register" value="true"/><br> <param name="retry-seconds" value="10"/><br> </gateway><br></include><br><br>so i use xlite register to freeswitch with user 1000<br>i start freeswitch , freeswitch start ok,<br>freeswitch register to sip server successfull with username 071234<br>xlite register to freeswitch successfull<br><br>so i edit the public.xml<br>for incomming call from sip server, i will forward to extension 1000<br> <extension name="sip.yeah.com"><br> <condition field="destination_number" expression="071234"><br> <action application="transfer" data="1000 XML default"/><br> </condition><br> </extension><br><br>but when i use xlite make call out from freeswitch to sip server and get no routing<br><br>nta: received INVITE <a href="sip:071234@192.168.1.90;user=phone">sip:071234@192.168.1.90;user=phone</a> SIP/2.0 (CSeq 3621)<br>nta: INVITE (3621) going to a default leg<br>nua(0xb6e20f90): adding session usage<br>nta: sent 100 Trying for INVITE (3621)<br>nua(0xb6e20f90): event i_invite 100 Trying<br>nua(0xb6e20f90): call state changed: init -> received, received offer<br>nua(0xb6e20f90): event i_state 100 Trying<br>432146 [NOTICE] switch_channel.c:669 New Channel <a href="mailto:sofia/internal/1000@192.168.1.90">sofia/internal/1000@192.168.1.90</a> [ef1af4b1-4d07-4b8e-8520-d99363347006]<br>446099 [INFO] mod_dialplan_xml.c:418 Processing 1000->071234 in context default<br>455113 [NOTICE] switch_ivr.c:1447 Transfer <a href="mailto:sofia/internal/1000@192.168.1.90">sofia/internal/1000@192.168.1.90</a> to enum[071234@default]<br>566021 [INFO] switch_core_state_machine.c:142 No Route, Aborting<br>566021 [NOTICE] switch_core_state_machine.c:143 Hangup <a href="mailto:sofia/internal/1000@192.168.1.90">sofia/internal/1000@192.168.1.90</a> [CS_ROUTING] [NO_ROUTE_DESTINATION]<br>nua(0xb6e20f90): recv signal r_respond 404 Not Found<br><br>i am not clear about routing call in freeswitch, i did read the dialplan in wiki but still not clear, is there any info to easy understand routing in freeswitch<br><br>please help, <br><br>Thank you<br><br></td></tr></tbody></table><br> <hr size="1"> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFnYXY0dG83BHRtX2RtZWNoA1RleHQgTGluawR0bV9sbmsDVTExMDM0NjgEdG1fbmV0A1lhaG9vIQ--/SIG=11ka86nha/**http%3A//downloads.yahoo.com/vn/internetexplorer/"> Lướt web nhanh hơn </a><br> Internet Explorer 8 tối ưu hóa cho Yahoo!, tự động khởi động 2 trang bạn thích mỗi lần mở trình duyệt. <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFnYXY0dG83BHRtX2RtZWNoA1RleHQgTGluawR0bV9sbmsDVTExMDM0NjgEdG1fbmV0A1lhaG9vIQ--/SIG=11ka86nha/**http%3A//downloads.yahoo.com/vn/internetexplorer/">Tải IE8 tại đây! (Miễn phí)</a>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></body></html>