[Freeswitch-users] Wrong presented number in FROM

Grygoriy Dobrovolskyy megahohol at gmail.com
Mon Oct 22 19:43:02 MSD 2012


Thank you everyone, i was so blind, and totally forgot that the gateway was
just for testing, so i did instead of "sofia/gateway/opensips/URI" >
"sofia/internal/URI" That's all folks.

Thanks!

2012/10/17 Antonio Teixeira <eagle.antonio at gmail.com>

> http://wiki.freeswitch.org/wiki/Variable_origination_caller_id_number
>
> You can't use SET, origination caller id should be used on the dial string.
> Like :
> {absolute_codec_string=PCMA,origination_caller_id_name=3312231212,origination_caller_id_number=3312231212}sofia
> /blahblahblah
>
> Regards
> A/T
>
> 2012/10/17 Grygoriy Dobrovolskyy <megahohol at gmail.com>
>
>> 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
>>
>>
>
> _________________________________________________________________________
> 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/20121022/932a02ac/attachment-0001.html 


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