Transfer calls from Server A Freeswitch box to Server B Freeswitch box.
Hi, I transfer some calls from Server A Freeswitch box to Server B Freeswitch box. I need to get value of variable_sip_history_info parameter in Server B. It is coming to Server A. But not coming to Server B. Also I play few announcement from Server B. It is not hear to caller even though it is play from server B box. Pls help to sort out above 2 problems. Server A ip: 10.1.1.252 Server B ip: 10.1.1.253 Here is the dial plan of server A. <include> <extension name="op-inbound"> <condition field="destination_number" expression="^(\d{8}[1,2])$"> <action application="bridge" data="sofia/internal/$1@10.1.1.253"/> </condition> </extension> </include> Here is the acl.conf.xml server B <list name="domains" default="deny"> <!-- <node type="allow" domain="$${domain}"/> --> <node type="allow" cidr=" 10.1.1.252/32"/> </list> Server A: <list name="domains" default="deny"> <!-- <node type="allow" domain="$${domain}"/> --> <node type="allow" cidr=" 10.1.1.253/32"/> </list> Br, Sanath
Have you confirmed that the sip_history_info parameter is even defined at the time bridge the call? Add this line line right before the bridge and make a test call: <action application="log" data="NOTICE SIP history for this call leg is: ${sip_history_info}"/> Check the console for an orange colored line with the sip_history_info. On a different note: what information in the sip_history_info are you needing? In any case, you might be able to set an X header in server A that you can then collect in server B. I recommend checking this section of the mod_sofia page: http://wiki.freeswitch.org/wiki/Mod_sofia#Channel_Variables HTH, MC On Wed, May 30, 2012 at 9:04 PM, Sanath Prasanna <ahe.sanath@gmail.com>wrote:
Hi, I transfer some calls from Server A Freeswitch box to Server B Freeswitch box. I need to get value of variable_sip_history_info parameter in Server B. It is coming to Server A. But not coming to Server B. Also I play few announcement from Server B. It is not hear to caller even though it is play from server B box. Pls help to sort out above 2 problems.
Server A ip: 10.1.1.252 Server B ip: 10.1.1.253
Here is the dial plan of server A. <include> <extension name="op-inbound"> <condition field="destination_number" expression="^(\d{8}[1,2])$"> <action application="bridge" data="sofia/internal/$1@10.1.1.253"/> </condition> </extension> </include>
Here is the acl.conf.xml server B <list name="domains" default="deny"> <!-- <node type="allow" domain="$${domain}"/> --> <node type="allow" cidr=" 10.1.1.252/32"/> </list> Server A: <list name="domains" default="deny"> <!-- <node type="allow" domain="$${domain}"/> --> <node type="allow" cidr=" 10.1.1.253/32"/> </list>
Br, Sanath
participants (2)
-
Michael Collins
-
Sanath Prasanna