[Freeswitch-users] Sending channel variables

Shelby Ramsey sicfslist at gmail.com
Fri Feb 13 06:47:36 PST 2009


I'm assuming that you are saying these are 2 boxes .... if the protocol is a
sip you can append a sip header ... _sip_h_X- .... This should be available
as a channel variable on FS A.
SDR

On Fri, Feb 13, 2009 at 6:10 AM, Evgeniy Zolotov <zolotov at altron.ua> wrote:

>        Hello!
>
> I'm trying to make such scheme:
>
> ---> FS_A --> FS_B --> record
>
> Incoming calls to FS_A are redirected to FS_B with the help of this
> context:
>
> <extension name="redirect">
>  <condition field="destination_number" expression="^(2000\d)$" >
>    <action application="answer" />
>    <action application="set" data="continue_on_true=false" />
>        <action application="bridge"
>        data="sofia/outbound/$1 at 1.2.3.4:5080" />
>    <action application="hangup" />
>  </condition>
> </extension>
>
> FS_B records them to the file:
>
> <extension name="30xxx-wr-wav">
>  <condition field="destination_number" expression="^20001">
>      <action application="answer" />
>      <action application="set" data="hangup_after_bridge=true" />
>      <action application="record"
> data="$${base_dir}/recordings/test/testrec.wav" />
>  </condition>
> </extension>
>
> This works good. But I have a question - in what manner I can send back
> (from FS_B to FS_A) some channel variables?
>
>   Thanks, Evgeniy.
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090213/70717dde/attachment-0002.html 


More information about the FreeSWITCH-users mailing list