We have an ASTPP 6 install we are setting up to work with a new carrier. Our existing carrier, Carrier A, is working properly with no issues. The new carrier, Carrier B, is setup exactly the same way as Carrier A, with the exception of them having a secondary backup IP we configure in the trunk. On calls to Carrier B, ASTPP/FreeSWITCH is sending a SIP INFO after every call connects with a message/update_display. Carrier B is rejecting these messages and causing problems with our calls. Is there a way to disable this functionality? I don’t see any configuration differences that would be causing this.
Good morning
I have had the same problem with one of my carriers too, i found that there is a option you need to make false in the External profile you are using for Carrier B.
pass-callee-id
(defaults to true) Disable by setting it to false if you encounter something that your gateway for some reason hates X-headers that it is supposed to ignore
I have also done this, may not be necessary, but fixed my problem to my carrier
/opt/ASTPP/freeswitch/scripts/astpp/scripts/astpp.xml.lua
xml_termiantion_rates= "ID:"..outbound_info['outbound_route_id'].."|CODE:"..outbound_info['pattern'].."|DESTINATION:"..outbound_info['comment'].."|CONNECTIONCOST:"..outbound_info['connectcost'].."|INCLUDEDSECONDS:"..outbound_info['includedseconds'].."|COST:"..outbound_info['cost'].."|INC:"..outbound_info['inc'].."|INITIALBLOCK:"..outbound_info['init_inc'].."|TRUNK:"..outbound_info['trunk_id'].."|PROVIDER:"..outbound_info['provider_id'];
-- ASTPPCOM-982 Ashish start
if(params:getHeader("variable_sip_h_P-Voice_broadcast") == 'true')then
local sip_user = params:getHeader("variable_sip_h_P-Voice_broadcast_type")
table.insert(xml, [[<action application="set" data="calltype=BROADCAST"/>]]);
table.insert(xml, [[<action application="set" data="sip_user=]]..sip_user..[["/>]]);
else
table.insert(xml, [[<action application="set" data="calltype=STANDARD"/>]]);
table.insert(xml, [[<action application="unset" data="sip_h_X-FS-Support"/>]]);
table.insert(xml, [[<action application="unset" data="sip_h_X-accountcode"/>]]);
table.insert(xml, [[<action application="unset" data="sip_h_P-Accountcode"/>]]);
table.insert(xml, [[<action application="unset" data="sip_h_X-User-Agent"/>]]);
table.insert(xml, [[<action application="unset" data="sip_h_X-User-IP"/>]]);
end
-- ASTPPCOM-982 Ashish End
it is around line 199 .
I hope this helps.