Hi Bogdan,

Works like a charm!

Thanks a lot, I would not solve this by myself.

Unfortunately the documentation is a little bit scrace on examples for this transformation. No blaming though ;)

Maybe you could add this example for others to get.

Gesendet: Donnerstag, 12. Juli 2012 um 18:31 Uhr
Von: "Bogdan-Andrei Iancu" <[email protected]>
An: "OpenSIPS users mailling list" <[email protected]>
Cc: "asd asd" <[email protected]>
Betreff: Re: [OpenSIPS-Users] How to get the second tel: uri in a PAI header?
Hi,

Try something like :

$(hdr(P-Asserted-Identity
){s.select,1,,}{nameaddr.uri}{uri.user})

See http://www.opensips.org/Resources/DocsCoreTran18 for more details on the used transformations.

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 07/12/2012 06:15 PM, asd asd wrote:
Hi,

what is the best way to get the telephone number from the second tel: uri in a PAI header?

I need the +123456789 string.

P-Asserted-Identity: "user"<sip:[email protected]>,<tel:+123456789> 

Thanks for any hints.
  

Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android.   
https://produkte.web.de/freemail_mobile_startseite/
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users



  

Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android.   
https://produkte.web.de/freemail_mobile_startseite/
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to