[SR-Users] Variables for P-Called-Party-ID Header

* Paolo Visintin - evosip.cloud paolo.visintin at evosip.cloud
Fri Jul 12 14:46:55 CEST 2019


Hi Benjamin,
looking for something like this ?

$var(user) = $(hdr(P-Called-Party-ID){s.replace,<,}{s.replace,>,}{uri.user})


*Paolo Visintin*
evosip.cloud
[image: Risultati immagini per evosip]


Il giorno ven 12 lug 2019 alle ore 13:24 Benjamin Tietz <
btietzkamailio at gmail.com> ha scritto:

> Hi,
>
> I have some INVITES where the called number is in the P-Called-Party-ID
> header:
>
> P-Called-Party-ID: <sip:+123456789 at sip-trunk.example.com;user=phone>
>
> Is there any function or variable where the user is stored or made
> available? In this case +123456789
>
> Thanks,
> Benjamin
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190712/0becb01a/attachment.html>


More information about the sr-users mailing list