On Tue, Mar 30, 2010 at 2:57 PM, Ken Fulmer < kenfulmer@icstechnologysolutions.com> wrote:
Yes, we do. I assume I can just reverse the statements to send calls in the other direction?
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... -MC
Thanks,
Ken
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Michael Collins *Sent:* Tuesday, March 30, 2010 4:39 PM *To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] Bridge two calls
You're getting there. You were correct to use the public.xml file. However, your syntax wasn't correct:
<!-- Oops --> <action application="bridge" data="sofia/external/IPCM-VLAB-1"/>
<!-- Correct --> <action application="bridge" data="sofia/gateway/IPCM-VLAB-1/$1"/>
Question: what about calls from the internal PBX to the ITSP? Do you need to route calls that way as well? -MC
On Tue, Mar 30, 2010 at 2:30 PM, Ken Fulmer < kenfulmer@icstechnologysolutions.com> wrote:
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?
Here are the two gateway configs located in the Sip Profiles / External directory:
<include>
<gateway name="IPCM-VLAB-1">
<param name="proxy" value="10.10.3.10"/>
<param name="register" value="false"/>
<param name="context" value="public"/>
</gateway>
</include>
<include>
<gateway name="SDC1-VGW-1">
<param name="proxy" value="172.16.15.11"/>
<param name="register" value="false"/>
<param name="context" value="public"/>
</gateway>
</include>
Here is the inbound route in the Dial Plan / Public directory (I’m just trying to get one number working at the moment):
<extension name="From SDC1-VGW-1">
<condition field="destination_number" expression="^(2053148491)$">
<action application="bridge" data="sofia/external/IPCM-VLAB-1"/>
</condition>
</extension>
I’ve also tried the gateway statement with no luck either:
<action application="bridge" data="sofia/gateway/mygatewayname/555123456" />
Any ideas?
Thanks,
Ken Fulmer
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org