Nvm - for whatever reason - the value is now passing properly:<div><br></div><div> /usr/sbin/opensips[9213]: P-Called-Party-Id equals XXXXXXXXXXX</div><div><br></div><div>I swear I changed nothing... But I'm also quite sure the computer didn't just "decide" to cooperate.<br>
<br><div class="gmail_quote">On Mon, Feb 7, 2011 at 4:55 PM, Tyler Merritt <span dir="ltr"><<a href="mailto:tyler@fonality.com">tyler@fonality.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I don't see that this particular header is made available by any of the core vars or scripting vars.
<div><br></div><div>I tried using $(hdr(P-Called-Party-Id)) but OS comes back with /usr/sbin/opensips[7981]: P-Called-Party-Id equals <null></div><div><br></div><div>It seems to think that I'm looking for:</div>
<div><br></div><div><div>/usr/sbin/opensips[7981]: DBG:core:pv_get_ppi_attr: no <b>P-Preferred-Identity header</b></div></div><div><br></div><div>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. </div>
<div><br></div><div>It's a real pain - any advice on how to grab this header and put it into a variable that will <i>persist</i> between two separate dialogues? </div><div><br></div><div>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).</div>
<div><br></div><div>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.</div><div><br></div><div>Help would be great!</div>
<div><br></div>
</blockquote></div><br></div>