[OpenSIPS-Users] convert from tel: to sip: on To header

Alain Bieuzent alain.bieuzent at free.fr
Wed Dec 12 11:08:12 EST 2018


Hi All,

 

what is the best way to convert « tel: » format to « sip: » on a To header.

 

For exemple : 

 

INVITE sip:+33999999999 at mydomain.com;user=phone SIP/2.0

Via: SIP/2.0/UDP X.Y.Z.Z:5060;branch=z9hG4bKiqehr50040ilbvfkjfn0.1

To: <tel:+33999999999>

From: "De 0888888888"<sip:+33888888888 at otherdomain.com;user=phone>;tag=SDu2kba01-1653662573-1544626875515-

Call-ID: SDu2kba01-1317d56f03e5fc6d6dc2136c0254bed0-v300g00

CSeq: 293066302 INVITE

Max-Forwards: 67

Content-Length: 255

 
I want to convert : « To: tel:+33999999999 » to « To: sip:33999999999 at A.B.C.D:5060 »
 
Thanks for your help
 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181212/12f7df12/attachment.html>


More information about the Users mailing list