Michael,Thanks for the reply
what you want to achieve is pretty simple to do with FreeSWITCH, and is quite close from what I do.
is above right? from_provider, then $1 XML provider? (assuming _{provider} is the friendly name)Or you do like me: you split calls coming into public to a specific contex, based on source IP with such extensions in public.xml:
<extension name="from_provider"><condition field="network_addr" expression="X.X.X.X"/><condition field="destination_number" expression="^(.*)$"><action application="transfer" data="$1 XML provider"/></condition></extension>
famous last words. where caller is 561-555-1212 and destination is 301-555-1212. I see it coming from provider in public context:(i hope)<extension name="from_sipxecs"><condition field="network_addr" expression="Y.Y.Y.Y"/><condition field="destination_number" expression="^(.*)$"><action application="transfer" data="$1 XML sipxecs"/></condition></extension>
And you just have to add the right extensions in those dialplans to bridge calls to the other side.That's the easy part.
<extension name="provider">
<condition field="destination_number" expression="^(3015551212)$">
<action application="bridge" data="sofia/gateway/sipxecs/$1"/>
</condition>
</extension>
(with 'bridge' I get 'so far', but still get This email has been scanned and certified safe by SpammerTrap®.
For Information please see
http://www.secnap.com/products/spammertrap/