route your inbound call to the "info" app. You will see the dozens of things you can parse in the dialplan.<br>You can make a single extension that determines if it is a local domain or not and formulate the dial string.<br>
<br>You have a lot of reading to do before you are authorized to comment on if it's a bad design or not.<br><a href="http://wiki.freeswitch.org/wiki/Dialplan_XML">http://wiki.freeswitch.org/wiki/Dialplan_XML</a><br><br>
<br><br><div class="gmail_quote">On Mon, Jun 23, 2008 at 7:44 AM, Brian West <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Example:<div><br></div><div><a href="mailto:sofia/profile/user@remotedomain.com" target="_blank">sofia/profile/user@remotedomain.com</a></div><div><br></div><div><br></div><div>/b</div><div><br><div><div><div>
</div><div class="Wj3C7c"><div>On Jun 23, 2008, at 5:36 AM, Sandeep Ammaladinna wrote:</div><br></div></div><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div link="blue" vlink="purple" lang="EN-US">
<div><div></div><div class="Wj3C7c"><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt;"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hi all,</span></font></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt;">
<font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt;"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><span> <span> </span></span>Is it a mandatory requirement that for all outbound calls to an external domain (domains that<span> </span><span>freeswitch</span><span> </span>is not responsible for), an entry in the dial plan is required.</span></font></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt;"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><span> </span>To be more precise, is it a pre condition that the name of the external domain need to be know before making a call. If YES, then I feel it is a bad design, because each time a user wants to call a user from different external domain a new entry in dial plan is required. If the answer is NO, please tell me what is the configuration required apart from DNS records, to be there at the<span> </span><span>freeswitch</span>.</span></font></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt;"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt;"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks and Regards,</span></font></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt;"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">-Sandeep A</span></font></div></div></div></div>_______________________________________________<br>
Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" style="color: blue; text-decoration: underline;" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" style="color: blue; text-decoration: underline;" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" style="color: blue; text-decoration: underline;" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" style="color: blue; text-decoration: underline;" target="_blank">http://www.freeswitch.org</a><br>
</div></span></blockquote></div><br></div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400