[Freeswitch-users] Wrong presented number in FROM

Avi Marcus avi at avimarcus.net
Wed Oct 17 17:32:52 MSD 2012


I think you need caller-id-in-from to be true in the opinsips gateway.

-Avi


On Wed, Oct 17, 2012 at 3:25 PM, Grygoriy Dobrovolskyy
<megahohol at gmail.com>wrote:

> 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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/5e194b23/attachment.html 


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