[Freeswitch-users] Routing calls to Another FS server

Otis abeka at greatiam.com
Thu Dec 10 08:42:14 PST 2009

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"/>
> </condition>
> </extension>
I have also used

<extension name="callweaver">
  <condition field="destination_number" value="^33(.*)$">
    <action application="bridge" data="sofia/profilename/$1 at"/>

I have also used the line <action application="bridge" 
in place of <action application="bridge" 
data="sofia/profilename/$1 at"/>
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

More information about the FreeSWITCH-users mailing list