July 2017
Intermediate to advanced
434 pages
12h 59m
English
This example shows how to bridge to devices that have registered with your FreeSWITCH system. In this example we assume that you have set up a Sofia profile called local_profile and your phones are registering with the domain example.com. Note the % instead of @ in the dial string:
<extension name="internal">
<condition field="source" expression="mod_sofia"/>
<condition field="destination_number" expression="^(4\d+)$">
<action application="bridge"
data="sofia/local_profile/$0%example.com"/>
</condition>
</extension>
The use of % instead of @ is a FreeSWITCH-specific feature. Using the form user%domain tells FreeSWITCH that a user is registered with domain, and that domain is being serviced by the FreeSWITCH directory. ...
Read now
Unlock full access