[Freeswitch-users] SBC configuration
Raymond Chandler
intralanman at freeswitch.org
Tue Jan 13 08:10:41 PST 2009
David Knell wrote:
> Hi Ash,
>
> It's the former. Here's a snippet from a dialplan of ours - this
> takes calls with a specific prefix from a specific IP address and
> forwards them to a particular carrier:
>
> <extension name="sample">
> <condition field="network_addr" expression="^10\.1\.1\.12$" />
>
i'd personally use the acl stuff here instead of manually putting
regexes in a dialplan to match ip addresses.
> <condition field="destination_number" expression="^301(.*)$">
> <action application="set" data="bypass_media=true" />
> <action application="set" data="effective_caller_id_name=$
> {caller_id_number}" />
> <action application="set" data="effective_caller_id_number=$
> {caller_id_number}" />
> <action application="bridge" data="sofia/gateway/att/$1"/>
>
and depending on what exactly you want your sbc to do, lcr here might
work better for you.
-Ray
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intralanman.vcf
Type: text/x-vcard
Size: 209 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090113/771469da/attachment-0002.vcf
More information about the FreeSWITCH-users
mailing list