[Freeswitch-users] Wrong presented number in FROM

Grygoriy Dobrovolskyy megahohol at gmail.com
Wed Oct 17 17:25:35 MSD 2012


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 at 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 at 1.1.1.1> when FS
do the invite he does:  FROM "+33637 <sip:Freeswith at 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 at IP_OF_FREESWITCH> By
FROM "+33637 <sip:+33637 at IP_OF_FREESWITCH> !!

Thank you dear list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/47fc219f/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list