Good day dear list, i would like to get you help, i am facing very simple issue i am not able to resolve:


I receive incoming call from my provider which i forward to URI with the following Dialplan

  <extension name="FACTEO">
    <condition field="${sip_to_user}" expression="(12345678).*$" break="on-false">
      <action application="set" data="sip_recovery_break_rfc=1"/>
      <action application="set" data="effective_caller_id_name=${sip_to_user}"/>
      <action application="set" data="effective_caller_id_number=${sip_to_user}"/>
      <action application="bridge" data="{absolute_codec_string=PCMA}sofia/gateway/opensips/999999@1.2.2.5"/>

For whatever reason FS replace the FROM field when he does bridge, the one i receive from the provider is FROM "+33637" <sip:+33637@1.1.1.1> when FS do the invite he does:  FROM "+33637 <sip:Freeswith@IP_OF_FREESWITCH>

I have tried to do this:

<action application="set" data="origination_caller_id_number=${sip_to_user}"/>

Same result, when opensips send the invite, the end user sees the number un Caller_id_name, but still FREESWITCH in caller_id_number

Please help me replace the FROM "+33637 <sip:Freeswith@IP_OF_FREESWITCH> By FROM "+33637 <sip:+33637@IP_OF_FREESWITCH> !!

Thank you dear list