Bridge b-leg variables not present
Hey, I am using the bridge command from mod_dptools as follows. I have a channel up on one FreeSWITCH server, let's call it FS1. I am trying to bridge to a conference running via mod_conference on another media server, FS2. This is the bridge command I am executing: bridge
{call_timeout=20,originate_timeout=20,ignore_early_media='false',hold_music=silence,sip_h_X-Conf-Flags-Moderator=false,custom_Test-Thing='some_value',local_var_clobber='true'}[sip_invite_to_uri=<sip:955@realm>,origination_caller_id_number='3001',origination_caller_id_name='Test 1 Phone',ignore_early_media='true',sip_auth_username='omitted',sip_auth_password='omitted']sofia/sipinterface_1/conference@FS2_IP :11000
This results in a new b-leg channel on FS2, but upon a "uuid_dump <b-leg-channel>" on FS2, I do not see the variables specified in the bridge command. Specifically, I am trying to get "custom-Test-Thing" to be present. I am using the following doc: https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+bridge I have tried both the b-leg simple variables
(bridge [variable_scope=endpoint-1]<target_endpoint>,[variable_scope=endpoint-2]<target_endpoint>)
and b-leg thread global approaches
bridge {variable_scope=thread_global}[variable_scope=endpoint-1]<target_endpoint>[,[variable_scope=endpoint-2]<target_endpoint>][|[variable_scope=endpoint-3]<target_endpoint>]
Hoping to hear that I am just doing something wrong and that it is simple! I can supply whichever logs are necessary.
Did you export the variables before calling the bridge command? I remember in some cases you need to do bridge_export instead, although in this case normal export should work. On Mon, Apr 17, 2017 at 8:05 PM, Daniel Finke <daniel@voxter.ca> wrote:
Hey,
I am using the bridge command from mod_dptools as follows. I have a channel up on one FreeSWITCH server, let's call it FS1. I am trying to bridge to a conference running via mod_conference on another media server, FS2. This is the bridge command I am executing:
bridge {call_timeout=20,originate_timeout=20,ignore_early_media='false',hold_music=silence,sip_h_X-Conf-Flags-Moderator=false,custom_Test-Thing='some_value',local_var_clobber='true'}[sip_invite_to_uri=<sip:955@realm>,origination_caller_id_number='3001',origination_caller_id_name='Test 1 Phone',ignore_early_media='true',sip_auth_username='omitted',sip_auth_password='omitted']sofia/sipinterface_1/conference@FS2_IP:11000
This results in a new b-leg channel on FS2, but upon a "uuid_dump <b-leg-channel>" on FS2, I do not see the variables specified in the bridge command. Specifically, I am trying to get "custom-Test-Thing" to be present.
I am using the following doc: https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+bridge
I have tried both the b-leg simple variables
(bridge [variable_scope=endpoint-1]<target_endpoint>,[variable_scope=endpoint-2]<target_endpoint>)
and b-leg thread global approaches
bridge {variable_scope=thread_global}[variable_scope=endpoint-1]<target_endpoint>[,[variable_scope=endpoint-2]<target_endpoint>][|[variable_scope=endpoint-3]<target_endpoint>]
Hoping to hear that I am just doing something wrong and that it is simple! I can supply whichever logs are necessary.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
participants (2)
-
Daniel Finke
-
Vladimir Ralev