<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>On the 'dial' command, I want to specify only the destination number, not the gateway.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span>I reviewed the documentation at https://wiki.freeswitch.org/wiki/Sofia-SIP#Dial_out_of_a_gateway,</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span>but I want the Dialplan configuration to choose the gateway. </span></div><div style="font-family: 'times
new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span>How can I do that?</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Michael Jerris <mike@jerris.com><br>
<b><span style="font-weight: bold;">To:</span></b> FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, September 9, 2013 11:19 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] How can I have the DIalplan choose the        gateway for conference dialout?<br> </font> </div> <div class="y_msg_container"><br><div id="yiv8867202406"><div><a rel="nofollow" target="_blank" href="https://wiki.freeswitch.org/wiki/Sofia-SIP#Dial_out_of_a_gateway">https://wiki.freeswitch.org/wiki/Sofia-SIP#Dial_out_of_a_gateway</a><div><br><div><div>On Sep 9, 2013, at 12:02 PM, D D <<a rel="nofollow" ymailto="mailto:tru083@yahoo.com" target="_blank" href="mailto:tru083@yahoo.com">tru083@yahoo.com</a>> wrote:</div><br class="yiv8867202406Apple-interchange-newline"><blockquote type="cite"><div style="background-color: rgb(255, 255, 255); font-family: 'times new
roman', 'new york', times, serif; font-size: 12pt;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Hi,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; background-color: transparent; font-style: normal;">I would like to use the Dialplan configuration to control which gateway is used</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; background-color: transparent; font-style: normal;">on a conference dialout.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; background-color: transparent; font-style: normal;"><br></div><div style="font-family:'times new
roman', 'new york', times, serif;font-size:16px;color:rgb(0, 0, 0);background-color:transparent;font-style:normal;">I have a gateway configured in the Dialplan, to match any number.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; background-color: transparent; font-style: normal;">I have tried this on the dialout:</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; background-color: transparent; font-style: normal;"><br></div><div style="background-color:transparent;"> conference <name> dial {originate_timeout=30}sofia/external/8005551212 12345 CallerName<br></div><div style="background-color: transparent; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style:
normal;"><br></div><div style="background-color: transparent; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">but I get the errors</div><div style="background-color:transparent;"> Cannot locate registered user 8005551212@external<br></div><div style="background-color:transparent;"> mod_conference.c:6775 Cannot create outgoing channel, cause: USER_NOT_REGISTERED<br></div><div style="background-color: transparent; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><br></div><div style="background-color: transparent; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">I don't want to specify the gateway in the dial request. I want the Dialplan to
choose it.</div><div style="background-color: transparent; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">What am I doing wrong?</div> </div></blockquote></div><br></div></div></div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a ymailto="mailto:consulting@freeswitch.org" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br><a
href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" 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><br></div> </div> </div> </div></body></html>