Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Channel variables not being set when FS calls user


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





PostPosted: Wed Oct 28, 2009 3:44 am    Post subject: [Freeswitch-users] Channel variables not being set when FS c Reply with quote

Hello,
in this page
http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide
we can read:

=============================
Variables:
Any variables defined in the domain or user will be defined as channel variables when there is a call to user or when there is an inbound calls from that user.
=============================

I can see the channel variables are set when there is an incoming call from the user, but not when FS sends a call to the user.
Can someone confirm what is the expected behavior?

br,
takeshi
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Oct 28, 2009 4:07 am    Post subject: [Freeswitch-users] Channel variables not being set when FS c Reply with quote

Yes it is the expected behavior... if you wish to set them on an
inbound call TO the user you'll use the set_user api to do so. Its
kinda like sudo in FreeSWITCH it'll load up all the variables for that
user.

/b

On Oct 28, 2009, at 3:33 AM, mayamatakeshi wrote:

Quote:
I can see the channel variables are set when there is an incoming
call from the user, but not when FS sends a call to the user.
Can someone confirm what is the expected behavior?


_______________________________________________
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
mayamatakeshi at gmail...
Guest





PostPosted: Wed Oct 28, 2009 4:31 am    Post subject: [Freeswitch-users] Channel variables not being set when FS c Reply with quote

Got it. Thanks.

On Wed, Oct 28, 2009 at 5:57 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
Yes it is the expected behavior... if you wish to set them on an
inbound call TO the user you'll use the set_user api to do so.  Its
kinda like sudo in FreeSWITCH it'll load up all the variables for that
user.

/b

On Oct 28, 2009, at 3:33 AM, mayamatakeshi wrote:

Quote:
I can see the channel variables are set when there is an incoming
call from the user, but not when FS sends a call to the user.
Can someone confirm what is the expected behavior?



_______________________________________________
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