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

Modify sip headers on GW

alexabaev
Beginner
Beginner

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

Daniele Giordano
Collaborator
Collaborator

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

Daniele Giordano
Collaborator
Collaborator

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers