<br><br><div class="gmail_quote">On Thu, Dec 10, 2009 at 8:42 AM, Otis <span dir="ltr"><<a href="mailto:abeka@greatiam.com">abeka@greatiam.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have 2 FS servers FS1 (aka medion) and FS3 (callweaver). These are set<br>
as gateways and register with each other. I wanted all users on FS1 to<br>
dial those on FS3 with prefix 33 ie extn 1001 on FS3 will be dialed as<br>
331001 on FS1.<br>
<br>
I have a dialplan as follows in .../dialplan/default/ callweaver.xml<br>
<br>
> <extension name="callweaver"><br>
> <condition field="destination_number" expression="^33(\d+)$"><br>
> <action application="bridge" data="sofia/profilename/$<a href="mailto:1@192.168.1.110">1@192.168.1.110</a>"/><br>
> </condition><br>
> </extension><br>
<br>
I have also used<br>
<br>
<extension name="callweaver"><br>
<condition field="destination_number" value="^33(.*)$"><br>
<action application="bridge" data="sofia/profilename/$<a href="mailto:1@192.168.1.110">1@192.168.1.110</a>"/><br>
</condition><br>
</extension><br>
<br>
I have also used the line <action application="bridge"<br>
data="sofia/gateway/outbound.callweaver/$1"/><br>
in place of <action application="bridge"<br>
data="sofia/profilename/$<a href="mailto:1@192.168.1.110">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<br>
1001 on FS1.<br></blockquote><div><br>Otis,<br><br>I would recommend that you turn on debugging and capture the console output. Put it in a pastebin and then respond to this thread with a link to the pastebin URL. FYI, here's a handy page that will give you some nice pointers on how to gather information when you're doing troubleshooting:<br>
<br><a href="http://wiki.freeswitch.org/wiki/Reporting_Bugs">http://wiki.freeswitch.org/wiki/Reporting_Bugs</a><br><br>It has detailed instructions on getting console output, dumping to pastebin, etc. If you want to get really fancy you can also try Tony's handy-dandy debug Perl script: libs/esl/perl/<a href="http://logger.pl">logger.pl</a> under the FS source directory. Run the script, make your call, then hit ctrl-C. The script will upload the log to pastebin for you and tell you the URL. :)<br>
<br>-MC<br></div></div><br>