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
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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@freeswitch.org<mailto:krice@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@vertical.com<mailto:vagarwal@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
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@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@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@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@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- 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
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@infomedia.si<mailto:gregor@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@vertical.com<mailto:vagarwal@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@freeswitch.org<mailto:krice@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@vertical.com<mailto:vagarwal@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@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto: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 -- 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<http://www.infomedia.si> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@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@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
Set a sip header <action application="set" data="sip_h_X-Answer=42"/> <action application="bridge" data="sofia/mydomain.com/1000@example.com"/> Ref: https://wiki.freeswitch.org/wiki/Sofia-SIP#Adding_Request_Headers
On 8 May 2016, at 16:20, Varsha Agarwal <vagarwal@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@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@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@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@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@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- 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@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@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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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 (4)
-
Gregor Nanger
-
Ken Rice
-
Oz Mortimer
-
Varsha Agarwal