[OpenSIPS-Users] Problem with {s.int] transformation

Alexander Mustafin mustafin.aleksandr at gmail.com
Tue Mar 25 14:15:41 CET 2014


Hello.

I’ve got the header in message:  P-Asserted-Identity: «777777" <sip:777777 at 5.5.5.5>

And I need to parse «name» part for future used, but without quotes.

I’m trying:

$avp(name) = $(hdr(P-Asserted-Identity){nameaddr.name}{s.int});

but $avp(name) is null after this transformation.

How to delete quotes from this field? 


Best regards,
Alexander Mustafin
mustafin.aleksandr at gmail.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140325/38614019/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.opensips.org/pipermail/users/attachments/20140325/38614019/attachment.pgp>


More information about the Users mailing list