[OpenSIPS-Users] P-Called-Party-ID

Tyler Merritt tyler at fonality.com
Mon Feb 7 10:09:56 CET 2011


Nvm - for whatever reason - the value is now passing properly:

 /usr/sbin/opensips[9213]: P-Called-Party-Id equals XXXXXXXXXXX

I swear I changed nothing...  But I'm also quite sure the computer didn't
just "decide" to cooperate.

On Mon, Feb 7, 2011 at 4:55 PM, Tyler Merritt <tyler at fonality.com> wrote:

> I don't see that this particular header is made available by any of the
> core vars or scripting vars.
>
> I tried using $(hdr(P-Called-Party-Id)) but OS comes back
> with /usr/sbin/opensips[7981]: P-Called-Party-Id equals <null>
>
> It seems to think that I'm looking for:
>
> /usr/sbin/opensips[7981]: DBG:core:pv_get_ppi_attr: no *P-Preferred-Identity
> header*
>
> The provider actually has a P-Called-Party-Id, and I need it's uri.user
> portion because they don't preserve any of the other headers between
> transmissions for me to perform some modification.
>
> It's a real pain - any advice on how to grab this header and put it into a
> variable that will *persist* between two separate dialogues?
>
> The dialogue from the provider to the proxy is A, and the proxy pushes a
> new call into Asterisk B.  There isn't a to tag between the INVITES, but
> there is a FROM tag (double-tag).
>
> I'm trying to mentally twist my head around how to reference the from-tag
> from a separate transaction within the loose_route function - but I'm coming
> up empty.
>
> Help would be great!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110207/c8a8fa34/attachment.htm>


More information about the Users mailing list