Channel variables not being set when FS calls user
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
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:
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?
Got it. Thanks. On Wed, Oct 28, 2009 at 5:57 PM, Brian West <brian@freeswitch.org> wrote:
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:
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
participants (2)
-
Brian West
-
mayamatakeshi