<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div dir="ltr" id="yui_3_16_0_1_1413189217531_3558">Hi,</div><div dir="ltr" id="yui_3_16_0_1_1413189217531_3526"><br></div><div dir="ltr" id="yui_3_16_0_1_1413189217531_3559">on mod_sofia.c there's this line of code:</div><div dir="ltr" id="yui_3_16_0_1_1413189217531_3561"><br></div><pre style="border: 0px; margin-top: 0px; margin-bottom: 0px;" class="" id="yui_3_16_0_1_1413189217531_3516"><a href="http://code.metager.de/source/s?defs=header&project=freeswitch" style="color: rgb(32, 32, 98);" class="">header</a> = (<a href="http://code.metager.de/source/s?defs=tech_pvt&project=freeswitch" style="text-decoration: none; color: rgb(32, 32, 98);" class="">tech_pvt</a>-><a href="http://code.metager.de/source/s?defs=cid_type&project=freeswitch" style="text-decoration: none; color: rgb(32, 32, 98);" class="" id="yui_3_16_0_1_1413189217531_3562">cid_type</a> == <a href="http://code.metager.de/source/s?defs=CID_TYPE_RPID&project=freeswitch" style="text-decoration: none; color: rgb(32, 32, 98);" class="">CID_TYPE_RPID</a> && !<a href="http://code.metager.de/source/s?defs=switch_stristr&project=freeswitch" style="text-decoration: none; color: rgb(32, 32, 98);" class="" id="yui_3_16_0_1_1413189217531_3591">switch_stristr</a>(<span class="" style="color: green;">"aastra"</span>, <a href="http://code.metager.de/source/s?defs=ua&project=freeswitch" style="text-decoration: none; color: rgb(32, 32, 98);" class="">ua</a>)) ? <span class="" style="color: green;">"Remote-Party-ID"</span> : <span class="" style="color: green;" id="yui_3_16_0_1_1413189217531_3515">"P-Asserted-Identity"</span>;</pre><pre style="border: 0px; margin-top: 0px; margin-bottom: 0px;" class="" id="yui_3_16_0_1_1413189217531_3514"><br></pre><pre style="border: 0px; margin-top: 0px; margin-bottom: 0px;" class="" id="yui_3_16_0_1_1413189217531_3513">If you have an Aastra phone, you get header = "<span style="color: green;" class="" id="yui_3_16_0_1_1413189217531_3519">P-Asserted-Identity</span>". Since I've snom phones and I'd like to get header = "<span class="" id="yui_3_16_0_1_1413189217531_3519" style="color: green;">P-Asserted-Identity</span>", which var should I set to do it?</pre><pre style="border: 0px; margin-top: 0px; margin-bottom: 0px;" class="" id="yui_3_16_0_1_1413189217531_3513"><br></pre><pre style="border: 0px; margin-top: 0px; margin-bottom: 0px;" class="" id="yui_3_16_0_1_1413189217531_3513">I've tried setting sip_cid_type=pid before bridge, inside bridge and exporting it also. No luck.</pre><pre style="border: 0px; margin-top: 0px; margin-bottom: 0px;" class="" id="yui_3_16_0_1_1413189217531_3513"><br></pre><pre style="border: 0px; margin-top: 0px; margin-bottom: 0px;" class="" id="yui_3_16_0_1_1413189217531_3513">I suspect my compiler (gcc version 4.7.2) execute AND before ==! :(</pre><pre style="border: 0px; margin-top: 0px; margin-bottom: 0px;" class="" id="yui_3_16_0_1_1413189217531_3513"><br></pre><pre style="border: 0px; margin-top: 0px; margin-bottom: 0px;" class="" id="yui_3_16_0_1_1413189217531_3513">Any help?</pre><div></div></div></body></html>