<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Otis wrote:
<blockquote cite="mid:%3C4B2124E6.6010507@greatiam.com%3E" type="cite"><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.
<br>
<br>
I have a dialplan as follows in .../dialplan/default/ callweaver.xml
<br>
<br>
<blockquote type="cite"><extension name="callweaver">
<br>
<condition field="destination_number" expression="^33(\d+)$">
<br>
<action application="bridge"
data=<a class="moz-txt-link-rfc2396E" href="mailto:sofia/profilename/$1@192.168.1.110">"sofia/profilename/$1@192.168.1.110"</a>/>
<br>
</condition>
<br>
</extension>
<br>
</blockquote>
<br>
I have also used
<br>
<br>
<extension name="callweaver">
<br>
<condition field="destination_number" value="^33(.*)$">
<br>
<action application="bridge"
data=<a class="moz-txt-link-rfc2396E" href="mailto:sofia/profilename/$1@192.168.1.110">"sofia/profilename/$1@192.168.1.110"</a>/>
<br>
</condition>
<br>
</extension>
<br>
<br>
I have also used the line <action application="bridge"
data="sofia/gateway/outbound.callweaver/$1"/>
<br>
in place of <action application="bridge"
data=<a class="moz-txt-link-rfc2396E" href="mailto:sofia/profilename/$1@192.168.1.110">"sofia/profilename/$1@192.168.1.110"</a>/>
<br>
without any joy.
<br>
<br>
I am getting error Not - found from the client. I am registered as
1001 on FS1.
<br>
<br>
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
<br>
<br>
Should it have a particular name either than the gateway name ?
<br>
<br>
Thanks for your time once again
<br>
<br>
<br>
<br>
</div>
<br>
<br>
</blockquote>
Sorry I forgot to add that where it says profilename I have <b>callweaver</b>
which is the profile name of the gateway in
/conf/sip_profiles/external/callweaver.xml<br>
<br>
</body>
</html>