variable_originate_signal_bond vs variable_signal_bond
Hi, I've a small dialer that uses loopback and i'm trying to find out the uuid for the real channel sofia when the B channel is answered. So far i use the variable_originate_signal_bond that gives me the uuid of the sofia channel. But in some calls i don't have this variable but instead i have variable_signal_bond. In my code right now i test both to have the real channel, so there is no problem here. I notice that when i have signal_bond i don't have originate_signal_bond and is present when the bridge returns SUCCESS (originate_disposition=SUCCESS). But in some case the originate_disposition is equal failure and the call is successfully connected to sofia channel. What is the differences between this variables? or should i use another method to get the uuid for the realchannel? Thanks, António
originate_signal_bond is the A-Leg dialing out to the B leg in question. signal_bond is the result of successful originate where a bridge is about to or is happening. You do need to check both to get the A-Leg reliably. On Tue, Dec 10, 2013 at 5:35 AM, Antonio Silva <asilva@wirelessmundi.com>wrote:
Hi,
I've a small dialer that uses loopback and i'm trying to find out the uuid for the real channel sofia when the B channel is answered.
So far i use the variable_originate_signal_bond that gives me the uuid of the sofia channel. But in some calls i don't have this variable but instead i have variable_signal_bond. In my code right now i test both to have the real channel, so there is no problem here.
I notice that when i have signal_bond i don't have originate_signal_bond and is present when the bridge returns SUCCESS (originate_disposition=SUCCESS). But in some case the originate_disposition is equal failure and the call is successfully connected to sofia channel.
What is the differences between this variables? or should i use another method to get the uuid for the realchannel?
Thanks, António
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
participants (2)
-
Anthony Minessale
-
Antonio Silva