cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
331
Views
0
Helpful
1
Replies

Modify SIP Header to append / include company name

b.paik
Level 1
Level 1

Hi All,

I am trying to modify SIP header to append company name in the SIP from header. So When a user makes a call outbound (within WAN) i would like to append a company name at the end of the FROM field. note i do not want the number to be manipulated just the From: i.e.

"Joe Smith" <sip:0123456789@1.1.1.1>;tag=as6d79df8a

TO

"Joe Smith - COMPANY" <sip:0123456789@1.1.1.1>;tag=as6d79df8a

Is this possible?

Thanks in advance,

B

1 Reply 1

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Hi,

It all depends on what infrastructure you have. If you have a CUBE, then this can easily be achieved using the following sip profile..

voice class sip-profiles 20
 request INVITE sip-header From modify "From: (.*)(<)(.*>)" "From: \"\1 - COMPANY\" \2\3"

You then need to apply the sip profile to the outbound dial-peer

dial-p v xx voip

voice-class sip profile 20

Please rate all useful posts