Hi, I am trying to call a 302 server and I like to get the 302 info out of the current session and Not have a redirected call. Can someone help me with the dial plan command? I did try this but still I get an incoming call. manual-redirect=false I just want to make a call and get the return info from the current session. Andrew
https://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirect -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 18, 2014, at 11:28 AM, Andrew <aademattia@comcast.net> wrote:
Hi, I am trying to call a 302 server and I like to get the 302 info out of the current session and Not have a redirected call. Can someone help me with the dial plan command? I did try this but still I get an incoming call. manual-redirect=false
I just want to make a call and get the return info from the current session.
Andrew
Yes but his is me doing outbound calling. I set <param name="manual-redirect" value="false"/> But still when I call the 302 it still creates another inbound call. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Friday, April 18, 2014 3:56 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect https://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirect -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 18, 2014, at 11:28 AM, Andrew <aademattia@comcast.net> wrote:
Hi, I am trying to call a 302 server and I like to get the 302 info out of the current session and Not have a redirected call. Can someone help me with the dial plan command? I did try this but still I get an incoming call. manual-redirect=false
I just want to make a call and get the return info from the current session.
Andrew
Anyone know how to do this? Trying to make a call out and I just want the call to send and get the 302 info without a redirect. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Andrew Sent: Friday, April 18, 2014 4:18 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] help 302 Redirect Yes but his is me doing outbound calling. I set <param name="manual-redirect" value="false"/> But still when I call the 302 it still creates another inbound call. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Friday, April 18, 2014 3:56 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect https://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirect -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 18, 2014, at 11:28 AM, Andrew <aademattia@comcast.net> wrote:
Hi, I am trying to call a 302 server and I like to get the 302 info out of the current session and Not have a redirected call. Can someone help me with the dial plan command? I did try this but still I get an incoming call. manual-redirect=false
I just want to make a call and get the return info from the current session.
Andrew
_________________________________________________________________________ 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
You clearly don’t know what a 302 is then, its a redirection you can’t complete a call and ignore the 302, so what exactly is your problem that you’re trying to solve? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 19, 2014, at 9:40 AM, Andrew <aademattia@comcast.net> wrote:
Anyone know how to do this? Trying to make a call out and I just want the call to send and get the 302 info without a redirect.
I do understand the 302. I want to pull the LRN info from the 302 message. I do not want to do a redirect. I want to call a 302 service and store the results and end the call. So the steps I like to take is have a list of numbers. Call a service that returns a 302. Store the return 302 LRN info. End the call. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Sunday, April 20, 2014 8:21 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect You clearly don't know what a 302 is then, its a redirection you can't complete a call and ignore the 302, so what exactly is your problem that you're trying to solve? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 19, 2014, at 9:40 AM, Andrew <aademattia@comcast.net> wrote:
Anyone know how to do this? Trying to make a call out and I just want the call to send and get the 302 info without a redirect.
Hi There, you wouldn't be number walking, would you? I happen to know that particular practice seriously p*ss*s people off in a number of carriers. It's rare to see competitors agree on anything, but that kind of activity does move them to set up meetings with their Regulator (to ask for exceptions from universal service). Certainly did over here. IIRC, once the behaviour pattern is detected, I wouldn't rely on the results being valid [kind of an intentional bug that might slip in]. all the best, Lawrence On 21 Apr 2014, at 01:51, Andrew <aademattia@comcast.net> wrote:
I do understand the 302. I want to pull the LRN info from the 302 message. I do not want to do a redirect. I want to call a 302 service and store the results and end the call.
So the steps I like to take is have a list of numbers. Call a service that returns a 302. Store the return 302 LRN info. End the call.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Sunday, April 20, 2014 8:21 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect
You clearly don't know what a 302 is then, its a redirection you can't complete a call and ignore the 302, so what exactly is your problem that you're trying to solve? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED)
On Apr 19, 2014, at 9:40 AM, Andrew <aademattia@comcast.net> wrote:
Anyone know how to do this? Trying to make a call out and I just want the call to send and get the 302 info without a redirect.
_________________________________________________________________________ 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
I owe the server. I just need to know if FS can do it. I take it that FS can't do it else someone would tell me how. I find it odd that FC must be redirected. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Lawrence Conroy Sent: Monday, April 21, 2014 6:21 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Hi There, you wouldn't be number walking, would you? I happen to know that particular practice seriously p*ss*s people off in a number of carriers. It's rare to see competitors agree on anything, but that kind of activity does move them to set up meetings with their Regulator (to ask for exceptions from universal service). Certainly did over here. IIRC, once the behaviour pattern is detected, I wouldn't rely on the results being valid [kind of an intentional bug that might slip in]. all the best, Lawrence On 21 Apr 2014, at 01:51, Andrew <aademattia@comcast.net> wrote:
I do understand the 302. I want to pull the LRN info from the 302 message. I do not want to do a redirect. I want to call a 302 service and store the results and end the call.
So the steps I like to take is have a list of numbers. Call a service that returns a 302. Store the return 302 LRN info. End the call.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Sunday, April 20, 2014 8:21 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect
You clearly don't know what a 302 is then, its a redirection you can't complete a call and ignore the 302, so what exactly is your problem that you're trying to solve? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED)
On Apr 19, 2014, at 9:40 AM, Andrew <aademattia@comcast.net> wrote:
Anyone know how to do this? Trying to make a call out and I just want the call to send and get the 302 info without a redirect.
______________________________________________________________________ ___ 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-use rs 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
Then you have to still process the 302 manually via the dial plan which is why manual redirect happens so you can extract the information and place the call to the proper location. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 20, 2014, at 7:51 PM, Andrew <aademattia@comcast.net> wrote:
I do understand the 302. I want to pull the LRN info from the 302 message. I do not want to do a redirect. I want to call a 302 service and store the results and end the call.
So the steps I like to take is have a list of numbers. Call a service that returns a 302. Store the return 302 LRN info. End the call.
So no way of calling a 302 service and just disconnecting? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, April 21, 2014 5:35 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Then you have to still process the 302 manually via the dial plan which is why manual redirect happens so you can extract the information and place the call to the proper location. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 20, 2014, at 7:51 PM, Andrew <aademattia@comcast.net> wrote:
I do understand the 302. I want to pull the LRN info from the 302 message. I do not want to do a redirect. I want to call a 302 service and store the results and end the call.
So the steps I like to take is have a list of numbers. Call a service that returns a 302. Store the return 302 LRN info. End the call.
Look in the wiki at Manual redirect handling . On 22/04/2014 9:47 am, "Andrew" <aademattia@comcast.net> wrote:
So no way of calling a 302 service and just disconnecting?
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, April 21, 2014 5:35 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect
Then you have to still process the 302 manually via the dial plan which is why manual redirect happens so you can extract the information and place the call to the proper location. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED)
On Apr 20, 2014, at 7:51 PM, Andrew <aademattia@comcast.net> wrote:
I do understand the 302. I want to pull the LRN info from the 302 message. I do not want to do a redirect. I want to call a 302 service and store the results and end the call.
So the steps I like to take is have a list of numbers. Call a service that returns a 302. Store the return 302 LRN info. End the call.
_________________________________________________________________________ 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
I did, I tried. No changes. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of jay binks Sent: Monday, April 21, 2014 8:11 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Look in the wiki at Manual redirect handling . On 22/04/2014 9:47 am, "Andrew" <aademattia@comcast.net <mailto:aademattia@comcast.net> > wrote: So no way of calling a 302 service and just disconnecting? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> ] On Behalf Of Brian West Sent: Monday, April 21, 2014 5:35 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Then you have to still process the 302 manually via the dial plan which is why manual redirect happens so you can extract the information and place the call to the proper location. -- Brian West brian@freeswitch.org <mailto:brian@freeswitch.org> FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 <tel:%2B1.918.420.9001> | F: +1.918.420.9002 <tel:%2B1.918.420.9002> | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 <tel:%2B883%205100%201420%209001> ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 20, 2014, at 7:51 PM, Andrew <aademattia@comcast.net <mailto:aademattia@comcast.net> > wrote:
I do understand the 302. I want to pull the LRN info from the 302 message. I do not want to do a redirect. I want to call a 302 service and store the results and end the call.
So the steps I like to take is have a list of numbers. Call a service that returns a 302. Store the return 302 LRN info. End the call.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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 <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
And I am not doing inbound I am doing out bound calls. <param name="manual-redirect" value="true"/> Does nothing it seems for outbound calls From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of jay binks Sent: Monday, April 21, 2014 8:11 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Look in the wiki at Manual redirect handling . On 22/04/2014 9:47 am, "Andrew" <aademattia@comcast.net <mailto:aademattia@comcast.net> > wrote: So no way of calling a 302 service and just disconnecting? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> ] On Behalf Of Brian West Sent: Monday, April 21, 2014 5:35 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Then you have to still process the 302 manually via the dial plan which is why manual redirect happens so you can extract the information and place the call to the proper location. -- Brian West brian@freeswitch.org <mailto:brian@freeswitch.org> FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 <tel:%2B1.918.420.9001> | F: +1.918.420.9002 <tel:%2B1.918.420.9002> | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 <tel:%2B883%205100%201420%209001> ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 20, 2014, at 7:51 PM, Andrew <aademattia@comcast.net <mailto:aademattia@comcast.net> > wrote:
I do understand the 302. I want to pull the LRN info from the 302 message. I do not want to do a redirect. I want to call a 302 service and store the results and end the call.
So the steps I like to take is have a list of numbers. Call a service that returns a 302. Store the return 302 LRN info. End the call.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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 <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
Sure it does... your using it wrong.. ( or only part of what you need to do ) http://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirec has all the information you need. BTW.... just to clear up something... Outbound call ... Yup. Incoming redirect ( on the b leg, in response to your invite ) Ive done this plenty, and I assure you it works. If you cant figure it out, then you will need to pay a consultant to help you. Jay On 22 April 2014 10:29, Andrew <aademattia@comcast.net> wrote:
And I am not doing inbound I am doing out bound calls.
<param name="manual-redirect" value="true"/>
Does nothing it seems for outbound calls
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *jay binks *Sent:* Monday, April 21, 2014 8:11 PM
*To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] help 302 Redirect
Look in the wiki at Manual redirect handling .
On 22/04/2014 9:47 am, "Andrew" <aademattia@comcast.net> wrote:
So no way of calling a 302 service and just disconnecting?
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, April 21, 2014 5:35 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect
Then you have to still process the 302 manually via the dial plan which is why manual redirect happens so you can extract the information and place the call to the proper location. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED)
On Apr 20, 2014, at 7:51 PM, Andrew <aademattia@comcast.net> wrote:
I do understand the 302. I want to pull the LRN info from the 302 message. I do not want to do a redirect. I want to call a 302 service and store the results and end the call.
So the steps I like to take is have a list of numbers. Call a service that returns a 302. Store the return 302 LRN info. End the call.
_________________________________________________________________________ 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
-- Sincerely Jay
Wow From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of jay binks Sent: Monday, April 21, 2014 8:38 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Sure it does... your using it wrong.. ( or only part of what you need to do ) http://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirec has all the information you need. BTW.... just to clear up something... Outbound call ... Yup. Incoming redirect ( on the b leg, in response to your invite ) Ive done this plenty, and I assure you it works. If you cant figure it out, then you will need to pay a consultant to help you. Jay On 22 April 2014 10:29, Andrew <aademattia@comcast.net <mailto:aademattia@comcast.net> > wrote: And I am not doing inbound I am doing out bound calls. <param name="manual-redirect" value="true"/> Does nothing it seems for outbound calls From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of jay binks Sent: Monday, April 21, 2014 8:11 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Look in the wiki at Manual redirect handling . On 22/04/2014 9:47 am, "Andrew" <aademattia@comcast.net <mailto:aademattia@comcast.net> > wrote: So no way of calling a 302 service and just disconnecting? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> ] On Behalf Of Brian West Sent: Monday, April 21, 2014 5:35 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Then you have to still process the 302 manually via the dial plan which is why manual redirect happens so you can extract the information and place the call to the proper location. -- Brian West brian@freeswitch.org <mailto:brian@freeswitch.org> FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 <tel:%2B1.918.420.9001> | F: +1.918.420.9002 <tel:%2B1.918.420.9002> | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 <tel:%2B883%205100%201420%209001> ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 20, 2014, at 7:51 PM, Andrew <aademattia@comcast.net <mailto:aademattia@comcast.net> > wrote:
I do understand the 302. I want to pull the LRN info from the 302 message. I do not want to do a redirect. I want to call a 302 service and store the results and end the call.
So the steps I like to take is have a list of numbers. Call a service that returns a 302. Store the return 302 LRN info. End the call.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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 <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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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 <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 -- Sincerely Jay
Here is the quick start guide to doing 302 redirects: (Also outlined in the Wiki article that Jay referenced) Processing Extension 1016 <1016>->5555 in context default <extension name="redirect_test"> <condition field=“destination_number" expression="^5555$"> <action application="bridge" data="sofia/internal/sip:5555@conference.freeswitch.org"/> </condition> </extension> Processing Extension 1016 <1016>->888 in context redirected variable_sip_redirect_contact_0: ["unknown" <sip:888@conference.freeswitch.org>] variable_sip_redirected_to: ["unknown" <sip:888@conference.freeswitch.org>] variable_sip_redirect_contact_user_0: [888] variable_sip_redirect_contact_host_0: [conference.freeswitch.org] variable_sip_redirect_dialstring_0: [sofia/internal/sip:888@conference.freeswitch.org] variable_sip_redirect_dialstring: [sofia/internal/sip:888@conference.freeswitch.org] Here is what I have in the redirected context. <context name="redirected"> <extension name="handle_redirect"> <condition field="destination_number" expression="(.*)”> <action application="info"/> <action application="bridge" data="${sip_redirect_dialstring}"/> </condition> </extension> </context> Questions? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 21, 2014, at 7:55 PM, Andrew <aademattia@comcast.net> wrote:
Wow
Yes all that works but what I am trying to do is call a LRN service and return back the ported number. The problem I am facing is the LRN service sends back a 302 and causes a redirect/ another inbound call. What I want to do is pull the LRN info back from the outbound call and the ported number being returned. So what I am looking for is how to disable redirects and then pull the value of the 302. I found outbound_redirect_fatal=true and this does seem to disable the redirect but I can't get the ported info. Sample ManagedSession leg_b = new ManagedSession( "{outbound_redirect_fatal=true}sofia/internal/123456789@1.1.1.1.1 "); string LRNDip = leg_b.GetVariable("Caller-RDNIS"); ; string LRNDip1 = leg_b.GetVariable("sip_redirected_to"); ; string LRNDip2 = leg_b.GetVariable("sip_redirect_contact_user_X"); ; string LRNDip3 = leg_b.GetVariable("sip_redirect_contact_host_X"); ; string LRNDip4 = leg_b.GetVariable("sip_redirect_contact_params_X"); ; string LRNDip5 = leg_b.GetVariable("sip_redirected_by"); ; I have business logic I will do after getting the LRN. I am trying to avoid having another setup/ destroy with a redirect. Andrew -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, April 21, 2014 9:14 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Here is the quick start guide to doing 302 redirects: (Also outlined in the Wiki article that Jay referenced) Processing Extension 1016 <1016>->5555 in context default <extension name="redirect_test"> <condition field="destination_number" expression="^5555$"> <action application="bridge" data="sofia/internal/sip:5555@conference.freeswitch.org"/> </condition> </extension> Processing Extension 1016 <1016>->888 in context redirected variable_sip_redirect_contact_0: ["unknown" <sip:888@conference.freeswitch.org>] variable_sip_redirected_to: ["unknown" <sip:888@conference.freeswitch.org>] variable_sip_redirect_contact_user_0: [888] variable_sip_redirect_contact_host_0: [conference.freeswitch.org] variable_sip_redirect_dialstring_0: [sofia/internal/sip:888@conference.freeswitch.org] variable_sip_redirect_dialstring: [sofia/internal/sip:888@conference.freeswitch.org] Here is what I have in the redirected context. <context name="redirected"> <extension name="handle_redirect"> <condition field="destination_number" expression="(.*)"> <action application="info"/> <action application="bridge" data="${sip_redirect_dialstring}"/> </condition> </extension> </context> Questions? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 21, 2014, at 7:55 PM, Andrew <aademattia@comcast.net> wrote:
Wow
Turn on man redirects, what I outlined will NOT create another inbound call it will just take the a-leg back into the redirected context so you can process the call and carry on. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 21, 2014, at 8:29 PM, Andrew <aademattia@comcast.net> wrote:
Yes all that works but what I am trying to do is call a LRN service and return back the ported number.
The problem I am facing is the LRN service sends back a 302 and causes a redirect/ another inbound call. What I want to do is pull the LRN info back from the outbound call and the ported number being returned.
So what I am looking for is how to disable redirects and then pull the value of the 302. I found outbound_redirect_fatal=true and this does seem to disable the redirect but I can't get the ported info.
Sample
ManagedSession leg_b = new ManagedSession( "{outbound_redirect_fatal=true}sofia/internal/123456789@1.1.1.1.1 "); string LRNDip = leg_b.GetVariable("Caller-RDNIS"); ; string LRNDip1 = leg_b.GetVariable("sip_redirected_to"); ; string LRNDip2 = leg_b.GetVariable("sip_redirect_contact_user_X"); ; string LRNDip3 = leg_b.GetVariable("sip_redirect_contact_host_X"); ; string LRNDip4 = leg_b.GetVariable("sip_redirect_contact_params_X"); ; string LRNDip5 = leg_b.GetVariable("sip_redirected_by"); ;
Jay, I wanted to say thank out for your very great help. This is why I just love open source. People are so willing to put you down. I do not want incoming to be redirected. I want to make a call then disconnect. No new incoming call. No redirect No new channel being created. Simple call then hang up and that is the end of the call. I know this is hard to understand. By the way I did ask for a consultant but they never returned my email. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of jay binks Sent: Monday, April 21, 2014 8:38 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Sure it does... your using it wrong.. ( or only part of what you need to do ) http://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirec has all the information you need. BTW.... just to clear up something... Outbound call ... Yup. Incoming redirect ( on the b leg, in response to your invite ) Ive done this plenty, and I assure you it works. If you cant figure it out, then you will need to pay a consultant to help you. Jay On 22 April 2014 10:29, Andrew <aademattia@comcast.net <mailto:aademattia@comcast.net> > wrote: And I am not doing inbound I am doing out bound calls. <param name="manual-redirect" value="true"/> Does nothing it seems for outbound calls From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> ] On Behalf Of jay binks Sent: Monday, April 21, 2014 8:11 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Look in the wiki at Manual redirect handling . On 22/04/2014 9:47 am, "Andrew" <aademattia@comcast.net <mailto:aademattia@comcast.net> > wrote: So no way of calling a 302 service and just disconnecting? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> ] On Behalf Of Brian West Sent: Monday, April 21, 2014 5:35 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] help 302 Redirect Then you have to still process the 302 manually via the dial plan which is why manual redirect happens so you can extract the information and place the call to the proper location. -- Brian West brian@freeswitch.org <mailto:brian@freeswitch.org> FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 <tel:%2B1.918.420.9001> | F: +1.918.420.9002 <tel:%2B1.918.420.9002> | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 <tel:%2B883%205100%201420%209001> ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 20, 2014, at 7:51 PM, Andrew <aademattia@comcast.net <mailto:aademattia@comcast.net> > wrote:
I do understand the 302. I want to pull the LRN info from the 302 message. I do not want to do a redirect. I want to call a 302 service and store the results and end the call.
So the steps I like to take is have a list of numbers. Call a service that returns a 302. Store the return 302 LRN info. End the call.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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 <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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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 <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 -- Sincerely Jay
Its not hard to understand at all you had stated you’re making an outbound call to a redirect server, I assume for routing decisions based on your wording. If this wasn’t the case then you just set manual redirects to true, and put hangup in the redirected context end of story. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org:81/key.txt (AB93356707C76CED) On Apr 21, 2014, at 7:59 PM, Andrew <aademattia@comcast.net> wrote:
I know this is hard to understand.
participants (4)
-
Andrew
-
Brian West
-
jay binks
-
Lawrence Conroy