[Freeswitch-users] Dialed number after transfer

Oz Mortimer omortimer at gmail.com
Sun May 8 21:50:01 MSD 2016


Set a sip header 
<action application="set" data="sip_h_X-Answer=42"/> <action application="bridge" data="sofia/mydomain.com/1000 at example.com"/>
Ref: https://wiki.freeswitch.org/wiki/Sofia-SIP#Adding_Request_Headers

> On 8 May 2016, at 16:20, Varsha Agarwal <vagarwal at vertical.com> wrote:
> 
> But that is caller ID right not dialed number. 
> Tried changing effective destination number but then transfer fails because it's trying to route to that number. 
> 
> 
> 
> On May 8, 2016, at 2:08 AM, Gregor Nanger <gregor at infomedia.si> wrote:
> 
>> Before transfer, try to play with effective_caller_id_number and set is as originate caller id
>> 
>> 2016-05-08 6:56 GMT+02:00 Varsha Agarwal <vagarwal at vertical.com>:
>>> Cannot use Chanel variable. The call is gone from Freeswitch to another call manager at this point. Is there a way original number can be put in SIP message? 
>>> 
>>> 
>>> 
>>> 
>>> On May 6, 2016, at 4:47 PM, Ken Rice <krice at freeswitch.org> wrote:
>>> 
>>>> Certainly you set it i to a chan var and use it later as required there are several ways to accomplish your end goal. Check the FreeSWITCH Cookbook for a pile of examples
>>>> 
>>>> Sent from my iPhone
>>>> 
>>>> On May 6, 2016, at 5:28 PM, Varsha Agarwal <vagarwal at vertical.com> wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>>  
>>>>> 
>>>>> I have a Call manager transferring call to FS server. I want FS server to transfer the call to a voice application on say extension 5001. When the call is transferred to voice application, voice application needs to retrieve the original dialed number used to make the call but since this call is transferred from FreeSwitch, original number gets lost and I get 5001 as dialed number. Is it possible to retain the dialed number?
>>>>> 
>>>>>  
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Varsha
>>>>> 
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services: 
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>> 
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://confluence.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://confluence.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://confluence.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
>> 
>> 
>> 
>> -- 
>> Gregor Nanger
>>  
>> CTO
>> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 
>> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia 
>> • www.infomedia.si
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services: 
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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://confluence.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/20160508/e103bfa5/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list