[Freeswitch-users] Routing calls to Another FS server

Otis abeka at greatiam.com
Thu Dec 10 09:03:40 PST 2009


Otis wrote:
> <div class="moz-text-flowed" style="font-family: -moz-fixed">I have 2 
> FS servers FS1 (aka medion) and FS3 (callweaver). These are set as 
> gateways and register with each other. I wanted all users on FS1 to 
> dial those on FS3 with  prefix 33  ie extn 1001 on FS3 will be dialed 
> as 331001 on FS1.
>
> I have a dialplan as follows in .../dialplan/default/ callweaver.xml
>
>> <extension name="callweaver">
>> <condition field="destination_number" expression="^33(\d+)$">
>> <action application="bridge" data="sofia/profilename/$1 at 192.168.1.110"/>
>> </condition>
>> </extension>
>
> I have also used
>
> <extension name="callweaver">
>  <condition field="destination_number" value="^33(.*)$">
>    <action application="bridge" 
> data="sofia/profilename/$1 at 192.168.1.110"/>
>  </condition>
> </extension>
>
> I have also used the line <action application="bridge" 
> data="sofia/gateway/outbound.callweaver/$1"/>
> in place of <action application="bridge" 
> data="sofia/profilename/$1 at 192.168.1.110"/>
> without any joy.
>
> I am getting error  Not - found from the client.  I am registered as 
> 1001 on FS1.
>
> Please how do I make all users use this dial plan  and may I know 
> which version of all those stated above is right.  All are in the 
> ...dialplan/default directory.  called callweaver.xml
>
> Should it have a particular name either than the gateway name ?
>
> Thanks for your time once again
>
>
>
> </div>
>
Sorry I forgot to add that where it says profilename I have *callweaver* 
which is the profile name of the gateway in  
/conf/sip_profiles/external/callweaver.xml

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091210/032209e8/attachment-0002.html 


More information about the FreeSWITCH-users mailing list