Redirecting a call from one FS to another FS?
i would like to know, what the best way is, to redirect an incoming call from one fs (fs1) to another fs (fs2). we use 3 freeswitch servers and the carrier passes calls to the three fs servers randomly. if on fs server is not offline, the carrier sends the call to the next fs. this is generally good, but for conferencing it not so good. i am using socket outbound and need to do this for conferencing. let's say, we have a conference going on on fs1. another person wants to enter this conference, but the call is passed to fs2. on fs2 we see, that the caller wants to enter the conference going on on fs1. now we have to redirect the call from fs2 to fs1. is this done with "redirect" and some according settings/params or are there other ways to do this? we would like to do this without our carrier doing something, to be a little more independant. thanks dennis
i had a look at the deflect app, but as far as i understand it, the carrier has to support/understand it ans react on the signals. is that right or does this have nothing to do with our carrier? or does this work between fs servers in the same local network? another similar question is: how to reject calls, so that the carrier tries to route the call to another fs? if we want to make changes to fs and test them, we would like to block new incoming calls, till there are no running calls, to shut down the fs. 2008/12/18 Brian West <brian@freeswitch.org>:
the deflect app.
/b
On Dec 18, 2008, at 10:36 AM, Dennis wrote:
i would like to know, what the best way is, to redirect an incoming call from one fs (fs1) to another fs (fs2).
_______________________________________________ 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
What switch is your provider using? /b On Dec 18, 2008, at 10:52 AM, Dennis wrote:
i had a look at the deflect app, but as far as i understand it, the carrier has to support/understand it ans react on the signals.
is that right or does this have nothing to do with our carrier? or does this work between fs servers in the same local network?
another similar question is: how to reject calls, so that the carrier tries to route the call to another fs? if we want to make changes to fs and test them, we would like to block new incoming calls, till there are no running calls, to shut down the fs.
sorry, i do not know that. i could ask tomorrow. is deflect, what i understand? the provider has to support it? if yes, what could i tell and ask the provider, to find a solution to this problem? the provider is quite open for new ideas, although we do not want to be to dependant on the provider and his possibilities. 2008/12/18 Brian West <brian@freeswitch.org>:
What switch is your provider using?
/b
On Dec 18, 2008, at 10:52 AM, Dennis wrote:
i had a look at the deflect app, but as far as i understand it, the carrier has to support/understand it ans react on the signals.
is that right or does this have nothing to do with our carrier? or does this work between fs servers in the same local network?
another similar question is: how to reject calls, so that the carrier tries to route the call to another fs? if we want to make changes to fs and test them, we would like to block new incoming calls, till there are no running calls, to shut down the fs.
_______________________________________________ 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
Well its a standard SIP Refer, They may not support it for good reason. /b On Dec 18, 2008, at 11:07 AM, Dennis wrote:
is deflect, what i understand? the provider has to support it? if yes, what could i tell and ask the provider, to find a solution to this problem? the provider is quite open for new ideas, although we do not want to be to dependant on the provider and his possibilities.
so if they do not suport it (which has to be seen), is there another way to redirect a call from one fs to another without the provider? like redirect from one fs to the other over the local lan? 2008/12/18 Brian West <brian@freeswitch.org>:
Well its a standard SIP Refer, They may not support it for good reason.
/b
On Dec 18, 2008, at 11:07 AM, Dennis wrote:
is deflect, what i understand? the provider has to support it? if yes, what could i tell and ask the provider, to find a solution to this problem? the provider is quite open for new ideas, although we do not want to be to dependant on the provider and his possibilities.
_______________________________________________ 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
do they follow a 302 redirect? Because if the call isn't answered yet then you can do a redirect /b On Dec 18, 2008, at 11:27 AM, Dennis wrote:
so if they do not suport it (which has to be seen), is there another way to redirect a call from one fs to another without the provider? like redirect from one fs to the other over the local lan?
sorry, this is to difficult for me. what does that mean? they pass a call to one of our fs. then we see, that the call should be on another fs. we know, that the call is on the wrong fs, before we send an answer. so we could react accordingly. 2008/12/18 Brian West <brian@freeswitch.org>:
do they follow a 302 redirect? Because if the call isn't answered yet then you can do a redirect
I've tried to do the same and in my own experience, most carriers don't accept 302 redirects. What I've seen is they take the 302 as a failure and move on to the next switch, so worse case with 3 switches, it will take 2 retries before hitting the switch you want them to redirect to. Gabe Dennis wrote:
i would like to know, what the best way is, to redirect an incoming call from one fs (fs1) to another fs (fs2).
we use 3 freeswitch servers and the carrier passes calls to the three fs servers randomly. if on fs server is not offline, the carrier sends the call to the next fs. this is generally good, but for conferencing it not so good.
i am using socket outbound and need to do this for conferencing. let's say, we have a conference going on on fs1. another person wants to enter this conference, but the call is passed to fs2. on fs2 we see, that the caller wants to enter the conference going on on fs1.
now we have to redirect the call from fs2 to fs1. is this done with "redirect" and some according settings/params or are there other ways to do this? we would like to do this without our carrier doing something, to be a little more independant.
thanks dennis
_______________________________________________ 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
so at least they should react on a 302? this could help, although i do not really understand, what happens on a 302. if they support it, they would receive the target fs server ip where they should try next with deflect? if everything does not help and is not possible: what could i do else? it would be very helpful, if fs would support another way, if the provider does not offer specific features. 2008/12/18 Gabriel Kuri <gkuri@ieee.org>:
I've tried to do the same and in my own experience, most carriers don't accept 302 redirects. What I've seen is they take the 302 as a failure and move on to the next switch, so worse case with 3 switches, it will take 2 retries before hitting the switch you want them to redirect to.
Gabe
Dennis wrote:
i would like to know, what the best way is, to redirect an incoming call from one fs (fs1) to another fs (fs2).
we use 3 freeswitch servers and the carrier passes calls to the three fs servers randomly. if on fs server is not offline, the carrier sends the call to the next fs. this is generally good, but for conferencing it not so good.
i am using socket outbound and need to do this for conferencing. let's say, we have a conference going on on fs1. another person wants to enter this conference, but the call is passed to fs2. on fs2 we see, that the caller wants to enter the conference going on on fs1.
now we have to redirect the call from fs2 to fs1. is this done with "redirect" and some according settings/params or are there other ways to do this? we would like to do this without our carrier doing something, to be a little more independant.
thanks dennis
_______________________________________________ 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
_______________________________________________ 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
Could you set up the 3 inbound call handlers, then set up a 4th switch with the "conference" domain, or if you don't want to set up a 4th, designate one of the 3 inbound switches with a "conference" domain to handle all conferences, do media bypass and bridge the calls to the "conference" domain? Dennis <odermann@googlemail.com> wrote: so at least they should react on a 302? this could help, although i do not really understand, what happens on a 302. if they support it, they would receive the target fs server ip where they should try next with deflect? if everything does not help and is not possible: what could i do else? it would be very helpful, if fs would support another way, if the provider does not offer specific features. 2008/12/18 Gabriel Kuri :
I've tried to do the same and in my own experience, most carriers don't accept 302 redirects. What I've seen is they take the 302 as a failure and move on to the next switch, so worse case with 3 switches, it will take 2 retries before hitting the switch you want them to redirect to.
Gabe
Dennis wrote:
i would like to know, what the best way is, to redirect an incoming call from one fs (fs1) to another fs (fs2).
we use 3 freeswitch servers and the carrier passes calls to the three fs servers randomly. if on fs server is not offline, the carrier sends the call to the next fs. this is generally good, but for conferencing it not so good.
i am using socket outbound and need to do this for conferencing. let's say, we have a conference going on on fs1. another person wants to enter this conference, but the call is passed to fs2. on fs2 we see, that the caller wants to enter the conference going on on fs1.
now we have to redirect the call from fs2 to fs1. is this done with "redirect" and some according settings/params or are there other ways to do this? we would like to do this without our carrier doing something, to be a little more independant.
thanks dennis
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
If you need to do load balancing, you could set up a conference_a domain on one switch, conference_b on the second, conference_c on the third, then use xml_curl to dialplan and bridge the call to the right domain... But again, I am no expert... Just a noob trying to be creative. :P Chris <c_cav_01@yahoo.com> wrote: Could you set up the 3 inbound call handlers, then set up a 4th switch with the "conference" domain, or if you don't want to set up a 4th, designate one of the 3 inbound switches with a "conference" domain to handle all conferences, do media bypass and bridge the calls to the "conference" domain? Dennis <odermann@googlemail.com> wrote: so at least they should react on a 302? this could help, although i do not really understand, what happens on a 302. if they support it, they would receive the target fs server ip where they should try next with deflect? if everything does not help and is not possible: what could i do else? it would be very helpful, if fs would support another way, if the provider does not offer specific features. 2008/12/18 Gabriel Kuri :
I've tried to do the same and in my own experience, most carriers don't accept 302 redirects. What I've seen is they take the 302 as a failure and move on to the next switch, so worse case with 3 switches, it will take 2 retries before hitting the switch you want them to redirect to.
Gabe
Dennis wrote:
i would like to know, what the best way is, to redirect an incoming call from one fs (fs1) to another fs (fs2).
we use 3 freeswitch servers and the carrier passes calls to the three fs servers randomly. if on fs server is not offline, the carrier sends the call to the next fs. this is generally good, but for conferencing it not so good.
i am using socket outbound and need to do this for conferencing. let's say, we have a conference going on on fs1. another person wants to enter this conference, but the call is passed to fs2. on fs2 we see, that the caller wants to enter the conference going on on fs1.
now we have to redirect the call from fs2 to fs1. is this done with "redirect" and some according settings/params or are there other ways to do this? we would like to do this without our carrier doing something, to be a little more independant.
thanks dennis
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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 _______________________________________________ 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
Gabriel Kuri wrote:
I've tried to do the same and in my own experience, most carriers don't accept 302 redirects. What I've seen is they take the 302 as a failure and move on to the next switch, so worse case with 3 switches, it will take 2 retries before hitting the switch you want them to redirect to.
could also just respond with a 503 in which case all carriers should fail over to the next one... -Ray
I agree with Ray ... using a 3XX series message is a bad idea ... or you could put OpenSer in front using the LCR module ... 503 to OpenSer and it would route to the next gateway in the gateway group. I have yet to work with any carrier that handles 3XX series correctly except for some of the TCAP guys. On Thu, Dec 18, 2008 at 11:58 AM, Raymond Chandler < intralanman@freeswitch.org> wrote:
Gabriel Kuri wrote:
I've tried to do the same and in my own experience, most carriers don't accept 302 redirects. What I've seen is they take the 302 as a failure and move on to the next switch, so worse case with 3 switches, it will take 2 retries before hitting the switch you want them to redirect to.
could also just respond with a 503 in which case all carriers should fail over to the next one...
-Ray
_______________________________________________ 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
On Thu, Dec 18, 2008 at 1:04 PM, Shelby Ramsey <sicfslist@gmail.com> wrote:
I agree with Ray ... using a 3XX series message is a bad idea ... or you could put OpenSer in front using the LCR module ... 503 to OpenSer and it would route to the next gateway in the gateway group. I have yet to work with any carrier that handles 3XX series correctly except for some of the TCAP guys.
Level(3) readily supports 302s if the destination IP of the new contact has been made known to Level(3) beforehand. You can't 302 just anywhere but you can 302 to your own boxes, networks, etc. -- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
Excellent advice. So just letting L3 know the IP's and you'll be fine. /b On Dec 18, 2008, at 1:21 PM, Kristian Kielhofner wrote:
Level(3) readily supports 302s if the destination IP of the new contact has been made known to Level(3) beforehand. You can't 302 just anywhere but you can 302 to your own boxes, networks, etc.
sendmsg redirect to an ip-adress of one of our fs server works great. thanks for your help. dannis
thanks for all your help! this sounds interesting. it seems, that these codes should be available by default with sip!? is this right? i will talk to the carrier tomorrow and ask, what is possible. as far as i can see, i am always dependant on the carrier? there is no way to pass a call from one fs to another? 2008/12/18 Raymond Chandler <intralanman@freeswitch.org>:
Gabriel Kuri wrote:
I've tried to do the same and in my own experience, most carriers don't accept 302 redirects. What I've seen is they take the 302 as a failure and move on to the next switch, so worse case with 3 switches, it will take 2 retries before hitting the switch you want them to redirect to.
could also just respond with a 503 in which case all carriers should fail over to the next one...
-Ray
_______________________________________________ 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 (7)
-
Brian West
-
Chris
-
Dennis
-
Gabriel Kuri
-
Kristian Kielhofner
-
Raymond Chandler
-
Shelby Ramsey