Hello.
My freeswitch by default replace the P-asserted-identity by Remote-Party-ID when routing calls to the gateway.
I want to send the P-asserted-identity and not the Remote-Party-ID and for that I tried the following:
I have configured in the outbound gateway definition the following parameters:
<param name="caller-id-type" value="pid"/> or
<param name="cid-type" value="pid"/>
but te behavior is the same.
The only thing that works is to set up the "sip_cid_type" variable in the dialplan like this:
<action application="bridge" data="{sip_cid_type=pid}sofia/gateway/Mygateway/$1"/>
Anyone knows how I can send the P-Asserted-identity without having to modify all my dial plan adding the sip_cid_type?
Thanks in avanced