[Freeswitch-users] freeswitch to cisco gateway

Michael Collins msc at freeswitch.org
Mon Mar 15 11:39:01 PDT 2010


On Mon, Mar 15, 2010 at 7:36 AM, srinivasula reddy <
srinivas.ksvreddy at gmail.com> wrote:

> Hi,
>
> i am using freeswitch1.0.2, farwarding call from freeswitch to cisco
> like just farwading the call.
>

1.0.2? Are you running it on MS-DOS 2.0?!
Seriously, you need to update. 1.0.2 had some bugs. We're now at 1.0.5
(essentially). 1.0.2 is like 3 generations old.

> <action application="bridge" data=<data=sofia/internal/$%7Bdestination_number%7D at ciscogatewayip/>
> sofia/internal/${destination_number}@ciscogatewayip<sofia/internal/$%7Bdestination_number%7D at ciscogatewayip>
> />
> i do not using any gateway here, just farwarding call to router, is this
> correct way of doing? any idea
>

You might want to use $1 instead of ${destination_number} since $1 will
always have the right information in it, assuming of course that you used (
and ) in your regular expression. Something like this ought to work

<action application="bridge" data="sofia/internal/$1 at 1.2.3.4"/> <!-- 1.2.3.4
is the gateway IP addr -->

-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/0addd6e6/attachment-0002.html 


More information about the FreeSWITCH-users mailing list