<html><body><div>I'm storing some $vars in route[0] prior to calling b2b_init_request("top hiding");</div><div><br></div><div>Then in my local route Im appending a P-Asserted-Identity header.</div><div><br></div><div>I can't use the custom_headers modparam because it's going to preserve the PAI as it comes in. Most of the time it's not present, or is in the wrong format so I'm adding it in local route.&nbsp;<br><br>On Dec 07, 2011, at 04:31 PM, Ovidiu Sas &lt;osas@voipembedded.com&gt; wrote:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch">Are you trying to perform any msg manipulations during b2b scenarios?<br> Also, keep in mind that the b2b server functionality must be kept<br> isolated from the proxy server functionality (proxy mode is not<br> compatible with b2b mode).<br> <br> Regards,<br> Ovidiu Sas<br> <br> --&nbsp;VoIP Embedded, Inc.<a href="http://www.voipembedded.com" data-mce-href="http://www.voipembedded.com">http://www.voipembedded.com</a><br> On Wed, Dec 7, 2011 at 3:41 PM, Logan &lt;<a href="mailto:voipmaster@me.com" data-mce-href="mailto:voipmaster@me.com">voipmaster@me.com</a>&gt; wrote:<br> &gt; Hello list this is the second odd thing I've seen with b2bua in opensips<br> &gt; 1.7.1 It looks like the b2bua module is mangling the cancel message and is<br> &gt; ripping out the callid when sending upstream:<br> &gt;<br> &gt;<br> &gt; U 2011/12/07 20:15:05.895915 192.168.1.143:5060 -&gt; 192.168.1.145:5090<br> &gt;<br> &gt; CANCEL sip:<a href="mailto:9993518045551212@192.168.1.145" data-mce-href="mailto:9993518045551212@192.168.1.145">9993518045551212@192.168.1.145</a>:5090 SIP/2.0.<br> &gt;<br> &gt; Via: SIP/2.0/UDP 192.168.1.143;branch=z9hG4bKac0e.5a3d2bf1.0.<br> &gt;<br> &gt; From: "8669800222" &lt;sip:<a href="mailto:8669800222@192.168.1.1" data-mce-href="mailto:8669800222@192.168.1.1">8669800222@192.168.1.1</a>&gt;;tag=3532277698-944952.<br> &gt;<br> &gt; Call-ID: <a href="mailto:494823-3532277698-944947@192.168.1.1" data-mce-href="mailto:494823-3532277698-944947@192.168.1.1">494823-3532277698-944947@192.168.1.1</a>.<br> &gt;<br> &gt; To: "18045551212" &lt;sip:<a href="mailto:18045551212@192.168.1.143" data-mce-href="mailto:18045551212@192.168.1.143">18045551212@192.168.1.143</a>&gt;.<br> &gt;<br> &gt; CSeq: 1 CANCEL.<br> &gt;<br> &gt; Max-Forwards: 70.<br> &gt;<br> &gt; User-Agent: Opensips.<br> &gt;<br> &gt; Content-Length: 0.<br> &gt;<br> &gt; .<br> &gt;<br> &gt;<br> &gt;<br> &gt; U 2011/12/07 20:15:05.896027 192.168.1.145:5090 -&gt; 192.168.1.143:5060<br> &gt;<br> &gt; SIP/2.0 200 canceling.<br> &gt;<br> &gt; Via: SIP/2.0/UDP 192.168.1.143;branch=z9hG4bKac0e.5a3d2bf1.0.<br> &gt;<br> &gt; From: "8669800222" &lt;sip:<a href="mailto:8669800222@192.168.1.1" data-mce-href="mailto:8669800222@192.168.1.1">8669800222@192.168.1.1</a>&gt;;tag=3532277698-944952.<br> &gt;<br> &gt; Call-ID: <a href="mailto:494823-3532277698-944947@192.168.1.1" data-mce-href="mailto:494823-3532277698-944947@192.168.1.1">494823-3532277698-944947@192.168.1.1</a>.<br> &gt;<br> &gt; To: "18045551212"<br> &gt; &lt;sip:<a href="mailto:18045551212@192.168.1.143" data-mce-href="mailto:18045551212@192.168.1.143">18045551212@192.168.1.143</a>&gt;;tag=3330ae74b9cf9aed85afbc9203dd6238-e6b7.<br> &gt;<br> &gt; CSeq: 1 CANCEL.<br> &gt;<br> &gt; Server: Opensips.<br> &gt;<br> &gt; Content-Length: 0.<br> &gt;<br> &gt; .<br> &gt;<br> &gt;<br> &gt;<br> &gt; U 2011/12/07 20:15:05.896097 192.168.1.145:5090 -&gt; 10.2.3.210:5060<br> &gt;<br> &gt; CANCEL sip:+<a href="mailto:18045551212@65.211.120.23" data-mce-href="mailto:18045551212@65.211.120.23">18045551212@65.211.120.23</a> SIP/2.0.<br> &gt;<br> &gt; Via: SIP/2.0/UDP 192.168.1.145:5090;branch=z9hG4bK0299.252f8e61.0.<br> &gt;<br> &gt; .<br> &gt;<br> &gt; From: &lt;sip:<a href="mailto:7324812444@66.29.74.37" data-mce-href="mailto:7324812444@66.29.74.37">7324812444@66.29.74.37</a>&gt;;tag=418802140f6308e008db76a1e1de765b.<br> &gt;<br> &gt; CSeq: 2 INVITE54.7172739.<br> &gt;<br> &gt; Content-Lengt<br> &gt;<br> &gt; To: sip:+<a href="mailto:18045551212@65.211.120.237" data-mce-href="mailto:18045551212@65.211.120.237">18045551212@65.211.120.237</a>.<br> &gt;<br> &gt; Call- CANCEL.<br> &gt;<br> &gt; User-Agent: OpenSIPS (1.7.1-notls (x86_64/linux)).<br> &gt;<br> &gt; Max-Forwards: 70.<br> &gt;<br> &gt; Init-CallID: <a href="mailto:494823-3532277698-944947@192.168.1.1" data-mce-href="mailto:494823-3532277698-944947@192.168.1.1">494823-3532277698-944947@192.168.1.1</a>.<br> &gt;<br> &gt; Contact: &lt;sip:192.168.1.145:5090&gt;.<br> &gt;<br> &gt; .<br> &gt;<br> &gt;<br> &gt;<br> &gt; U 2011/12/07 20:15:05.910842 10.2.3.210:5060 -&gt; 192.168.1.145:5090<br> &gt;<br> &gt; SIP/2.0 400 Missing Mandatory Header Call-Id.<br> &gt;<br> &gt; v: SIP/2.0/UDP<br> &gt; 192.168.1.145:5090;branch=z9hG4bK0299.252f8e61.0;received=192.168.1.145.<br> &gt;<br> &gt; l: 0.<br> <br> _______________________________________________<br> Users mailing list<br> <a href="mailto:Users@lists.opensips.org" data-mce-href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" data-mce-href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div></div></blockquote></div></body></html>