Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Sending channel variables


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
zolotov at altron.ua
Guest





PostPosted: Fri Feb 13, 2009 7:10 am    Post subject: [Freeswitch-users] Sending channel variables Reply with quote

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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
sicfslist at gmail.com
Guest





PostPosted: Fri Feb 13, 2009 9:50 am    Post subject: [Freeswitch-users] Sending channel variables Reply with quote

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@altron.ua (zolotov@altron.ua)> wrote:
Quote:
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@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@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services