cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
201
Views
0
Helpful
0
Replies
Highlighted
Participant

SIP Profile for CUBE

Hello,

I am new to sip profiles and find it a bit of challenge to understand and implement it. I am setting up a CUBE for overseas deployment and ITSP is requiring the following:

 

Request REGISTER

From: <sip: 55666777@ mycompany.itsp.com;transport=udp>

To: <sip: 5566777@ mycompany.itsp.com;transport=udp>

CSeq: 12178378 REGISTER

 

In the request INVITES for outbound calls, they expect the pilot number in the From field ie. 55666777@ mycompany.itsp.com

In the request INVITES for outbound calls, they expect the dialed number prepended to @ mycompany.itsp.com.

Following is what i have configured and applied globally.

voice class sip-profiles 101
request REGISTER sip-header From modify "(<.*:.*)(@.*>)" "\1@mycompany.itsp.com>"
request REGISTER sip-header To modify "(<.*:.*)(@.*>)" "\1@mycompany.itsp.com>"
request INVITE sip-header To modify "@.*>" "@mycompany.itsp.com>"
request INVITE sip-header From modify "(@.*)>" "@mycompany.itsp.com>"
request INVITE sip-header P-Asserted-Identity modify "(@.*)>" "@mycompany.itsp.com>"
request REINVITE sip-header P-Asserted-Identity modify "(@.*)>" "@mycompany.itsp.com>"
request REINVITE sip-header From modify "(<.*:.*)(@.*>)" "\1@mycompany.itsp.com>"

I can call external numbers fine if i configure my test phone with the external number mask as 55666777. However, If i change my mask to 55666778, call fails. It is because ITSP is expecting the pilot number 55666777 in the from field.

 

Can someone help correcting my profile above so that it addresses my issues?

Thank you so much for your time and help.

Khanal

0 REPLIES 0
Content for Community-Ad