[Kamailio-Users] how to work with Remote-Party-ID ?

Henning Westerholt henning.westerholt at 1und1.de
Thu Feb 12 12:23:07 CET 2009


On Thursday 12 February 2009, BERGANZ François wrote:
> i need to get the Remote-Party-ID in the header.
> I have that:
> Remote-Party-ID: "francois bgz"
> <sip:170725014 at 217.64.x.x:5067>;screen=yes;privacy=off;party=calling;-call-
>i
> nitiator=5016;-call-initiator-location=int;-redirected-by;-int-ext=5016;-en
>t -name=Acro;-direction=ext;-call-id=55665.
>
> I need to have -ent-name=Acro
> but, when I use $re, I have sip:170725014 at 217.64.x.x:5067
>
> how can I do ?

Hi,

the '$re' returns only to the remote-party URI. But you can use 
$hdr(Remote-Party-ID), and then use a transformation to split the content 
further.

Cheers,

Henning




More information about the Users mailing list