<br><br><div class="gmail_quote">On Tue, Mar 30, 2010 at 2:57 PM, Ken Fulmer <span dir="ltr"><<a href="mailto:kenfulmer@icstechnologysolutions.com">kenfulmer@icstechnologysolutions.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Yes, we do. I assume I can just reverse the statements to send
calls in the other direction?</span></p></div></div></blockquote><div>Mostly yes. However you need to handle a range of phone numbers in your regular expression instead of a specific 10-digit phone number. The Dialplan XML page on the wiki has quite a few examples...<br>
<br>-MC <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-US"><div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks,</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Ken</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Michael
Collins<br>
<b>Sent:</b> Tuesday, March 30, 2010 4:39 PM<br>
<b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Subject:</b> Re: [Freeswitch-users] Bridge two calls</span></p>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom: 12pt;">You're getting there. You were
correct to use the public.xml file. However, your syntax wasn't correct:<br>
<br>
<span style="font-size: 9pt; font-family: "Courier New";"><!-- Oops --><br>
<action application="bridge"
data="sofia/external/IPCM-VLAB-1"/><br>
<br>
<!-- Correct --><br>
<action application="bridge"
data="sofia/gateway/IPCM-VLAB-1/$1"/></span><br>
<br>
Question: what about calls from the internal PBX to the ITSP? Do you need to
route calls that way as well?<br>
-MC</p>
<div>
<p class="MsoNormal">On Tue, Mar 30, 2010 at 2:30 PM, Ken Fulmer <<a href="mailto:kenfulmer@icstechnologysolutions.com" target="_blank">kenfulmer@icstechnologysolutions.com</a>>
wrote:</p>
<div>
<div>
<p class="MsoNormal">I
need to bridge two calls together: one from an ITSP and one from an internal
PBX. I’ve tried the following syntax but can’t get it to work. Can someone
clarify what I’m doing wrong?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Here
are the two gateway configs located in the Sip Profiles / External directory:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";"><include></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";">
<gateway name="IPCM-VLAB-1"></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";">
<param name="proxy" value="10.10.3.10"/></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";">
<param name="register" value="false"/></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";">
<param name="context" value="public"/></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";">
</gateway></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";"></include></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";"> </span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";"><include></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";">
<gateway name="SDC1-VGW-1"></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";">
<param name="proxy" value="172.16.15.11"/></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";">
<param name="register" value="false"/></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";">
<param name="context" value="public"/></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";">
</gateway></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";"></include></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Here
is the inbound route in the Dial Plan / Public directory (I’m just trying to
get one number working at the moment):</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";"><extension name="From
SDC1-VGW-1"></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";"> <condition
field="destination_number" expression="^(2053148491)$"></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";">
<action application="bridge"
data="sofia/external/IPCM-VLAB-1"/></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";">
</condition></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Courier New";"></extension></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’ve
also tried the gateway statement with no luck either:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New";"> <action
application="bridge" data="sofia/gateway/mygatewayname/555123456"
/></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Any
ideas?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Ken
Fulmer</p>
<p class="MsoNormal"> </p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom: 12pt;"><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></p>
</div>
<p class="MsoNormal"> </p>
</div></div></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>