12-06-2012 09:09 AM
Hi,
we have a Lync2010 Server, that sends the following tel-uri in the SIP FROM field to a Cisco CUBE:
FROM: <sip:+43123456789;ext=10101@server;user=phone>;epid=37D3B7C02C;tag=ad7a0684d
I need to modify this tel-uri into a valid sip-uri like this: sip:+4312345678910101
I tried the Conditional SIP Header Manipulation feature but wasn´t sucessfull.
Is there any way, to modify the incoming FROM field from the lync with the ;ext= in it into a useful from-number with the extension?
Thanks, Gerhard
12-10-2012 06:52 AM
Hi,
I solved the problem.
The important thing is to configure a copy-list at the incoming dial-peer and define the parameter you want to modify (at the outgoing dial-peer):
voice class sip-copylist 10
sip-header FROM
!
dial-peer voice 10 voip
description Call-Leg from Lync Mediation-Server1
voice-class sip copy-list 10
Then it is possible to modify the FROM field at the outgoing dial-peer:
voice class sip-profiles 101
request INVITE peer-header sip FROM copy "ext=(.....)@" u01
request INVITE sip-header From modify "(43123456789)" "\1\u01"
!
dial-peer voice 101 voip
description Call-Leg to SIP-Provider
voice-class sip profiles 101
Cheers, Gerhard
06-20-2013 11:15 PM
Hi Gerhard,
I know this post is pretty old but hope you can help me.
Did you manage to get the video working with this solution?
Thanks
Hamed
07-02-2013 04:15 AM
Hi Hamed,
we had no video.
But you should be able to rewrite any parameter within the SIP header with this method.
Gerhard
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