cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1532
Views
5
Helpful
1
Replies

Modify sip headers on GW

alexabaev
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

1 Reply 1

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.