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