[Freeswitch-users] Set an gateway parameter for external gateway (skype)

Seven Du dujinfang at gmail.com
Thu Jan 28 17:29:36 PST 2010


why not just use dialplan matching?

assume FS1 has gateway named skype,

originate sofia/gateway/skype/<your_dedicated_skype_name>+<other_skype_name_you_want_to_dial


on your FS/skype server, set dialplan:


$destination_number to match    (.*)\+(.*), then you can

bridge skypiax/$1/$2

2010/1/29 Wasim Baig <wasim at convergence.pk>:
> Setting a sip header is a more elegant way ...
>
> http://wiki.freeswitch.org/wiki/Sofia#Adding_Request_Headers
>
> -wasim
>
> On Fri, Jan 29, 2010 at 4:21 AM, Ghulam Mustafa <mustafa.pk at gmail.com>
> wrote:
>>
>> i don't know if it's a wise solution, but you can make a db insert
>> before bridge on freeswitch server, kypiax server can query db after
>> answer to get an idea!
>>
>> On Fri, Jan 29, 2010 at 2:54 AM, Peter P GMX <Prometheus001 at gmx.net>
>> wrote:
>> > Hello,
>> >
>> > I have a main freeswitch server and a separate Freeswitch/Skype server
>> > with mod_skypiax.
>> >
>> > I want main freeswitch server to tell the Freeswitch/Skype server to use
>> > a dedicated Skype interface(interface1, interface2 etc). What is the
>> > best way to pass this variable?
>> > Some ideas from my side
>> >
>> >    * set caller_id_number or caller_id_number_name, as these are
>> >      overwritten by Skype anyway. But this is not a clean solution
>> >    * use another UDP port for each gateway, but this is a huge effort
>> >      if the number of gateways becomes larger
>> >    * set a dedicated sip header for this. Reading sip-header is easy
>> >      (documented) but how to set my own sip header entry in FS?
>> >    * any other idea?
>> >
>> >
>> > Best regards
>> > Peter
>> >
>> >
>> > _______________________________________________
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > http://www.freeswitch.org
>> >
>>
>>
>>
>> --
>> Ghulam Mustafa
>> cell: +92 333.611.7681
>> sip: cyrenity at ekiga.net
>> mail: mustafa.pk at gmail.com
>> web: cyrenity.wordpress.com
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
>
> --
> wasim h. baig | principal consultant | convergence pk | +92 300 8508070 |
> peace be upon you ...
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>




More information about the FreeSWITCH-users mailing list