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 <
[email protected]> ha scritto:

> Hi,
>
> I have some INVITES where the called number is in the P-Called-Party-ID
> header:
>
> P-Called-Party-ID: <sip:[email protected];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
> [email protected]
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to