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
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@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@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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Antonio Teixeira
-
Avi Marcus
-
Grygoriy Dobrovolskyy