<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><a 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 href="mailto:tru083@yahoo.com">tru083@yahoo.com</a>> wrote:</div><br class="Apple-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; position: static; z-index: auto; "><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></body></html>