02-28-2017 10:57 PM
Hi guys!
I try to modify Via header
i set sip-profiles, but its not accept, when i call from another gateway.
Where i wrong ?It's possible to modify outgouing to phone headers on gateway ? My task: cut x-route-tag="cid:incoming@10.77.20.5", that send GW to phone.
call from ext xxx (10.77.18.19) -----sip---> (10.77.20.5) -----sip------> ext 339
last leg
dial-peer 255
voice class sip-profiles 10
request INVITE sip-header Via MODIFY "incoming" "zzzincloming"
request INVITE sip-header From MODIFY "callername" "DOMEBODY"
dial-peer voice 255 voip
voice-class sip profiles 10
redirect ip2ip
b2bua
session protocol sipv2
session target ipv4:10.77.20.5
incoming called-number 339$
destination-pattern 339$
dtmf-relay rtp-nte
codec g711ulaw
Solved! Go to Solution.
03-04-2017 06:05 AM
Hi, the dial-peer voice 255 is an outgoing dial-peer. It's used by the gateway in outgoing direction (calls that leave the gateway).
Try to apply the sip-profile in an incoming dial-peer (calls that reach the gateway from the IP phone).
Regards.
03-04-2017 06:05 AM
Hi, the dial-peer voice 255 is an outgoing dial-peer. It's used by the gateway in outgoing direction (calls that leave the gateway).
Try to apply the sip-profile in an incoming dial-peer (calls that reach the gateway from the IP phone).
Regards.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide