09-14-2016 08:16 AM - edited 03-17-2019 08:05 AM
Hello all,
My telephone provider requires to change the PAID (P-Asserted-Identity) SIP Header field, in order to present a different CLID, else only the default number is allowed.
I have manage to change all the internal numbers (2XXX) to a specific one,
request INVITE sip-header P-Asserted-Identity modify "<sip:2(.*)@192.168.111.2>" "<sip:5553277930@itsp.net>"
but I am not sure how to change lets say 2XXX to 555327XXX (ie 2001 to 555327001 / 2002 to 555327001 etc.)
I used:
request INVITE sip-header P-Asserted-Identity modify "<sip:2(.*)@192.168.111.2>" "<sip:5553272(.*)@itsp.net>"
but it seems that the number is translated to 5553272(.*)
(Send to the CUBE) P-Asserted-Identity: <sip:2111@192.168.111.2>
(Translated by the CUBE) P-Asserted-Identity: <sip:5553272(.*)@itsp.net>
Solved! Go to Solution.
09-14-2016 01:21 PM
Thank you Chris for the link with the useful examples. I managed to sort it out
request INVITE sip-header P-Asserted-Identity modify "<sip:2(.*)@192.168.111.2>" "<sip:5553272\1@itsp.net>"
09-14-2016 09:07 AM
Check out following section in the below link for similar requirement:
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube_fund/configuration/xe-3s/cube-fund-xe-3s-book/voi-sip-param-mod.html
09-14-2016 01:21 PM
Thank you Chris for the link with the useful examples. I managed to sort it out
request INVITE sip-header P-Asserted-Identity modify "<sip:2(.*)@192.168.111.2>" "<sip:5553272\1@itsp.net>"
09-14-2016 01:28 PM
Good job, +5 for future users needing something similar :-)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide