[Freeswitch-users] call from an internal extension to external number
Madovsky
infos at madovsky.org
Mon Feb 22 19:29:01 PST 2010
Hi,
day after I undertand a littlee more all these xml hell files (not friendly to read ;)),
but to be a PERl developer since 1999 understand regex and PERL language make life more easy...
However, I don't understand yet the concept of internal exterenal.
is it for phone registration AND outbound calls ?
for now I try to make an external call from 1000 ext (registered on port 5060)
so I added an extension in dialplan/default.xml
<extension name="outbound_europe">
<condition field="destination_number" expression="^00?(\d+)$">
<action application="bridge" data="sofia/gateway/myprovider_europe/00$1"/>
</condition>
</extension>
so if call starts with "00" it redirects to my provider that manage outbound calls, is it correct ?
I put the myprovider.xml account into sip_profiles/external/myprovider.xml.
Thanks for your help
Franck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100222/166da759/attachment-0002.html
More information about the FreeSWITCH-users
mailing list