|
RE: Dispatcher failure route: msg#00461voip.openser.user
Well, that's just too beautiful not to upgrade :-) thanks -----Original Message----- From: Daniel-Constantin Mierla [mailto:daniel-/qk4c3+6r1L0ABVSK+4LOw@xxxxxxxxxxxxxxxx] Sent: May 25, 2006 5:04 PM To: Benjamin Lawetz Cc: users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx Subject: Re: [Users] Dispatcher failure route Hello, On 05/24/06 23:41, Benjamin Lawetz wrote: > Hello all, > > I'm setting up a load balancer using openser. The load balancing works > great and I'm now trying to work out the redundancy side of it. > > In my route I have: > if (method=="INVITE") > { > record_route(); > ds_select_dst("1", "0"); > t_on_failure("1"); > t_relay(); > } > > This works fine in that if the selected server is not up or takes too > long to answer, the call is route to failure_route[1] And here's where > I'm scratching my head. I would like the INVITE to be tried on another > server from the server farm. But how. Is there a way to send it back > to ds_select_dst and make sure it doesn't get sent back to the same > server? > > if you use the development version, yes, it is possible to try the next address in the list, see the readme of the dispatcher module. You have to set the id of the avp to store the other addresses and then use in failure route the ds_next_dst() function: http://openser.org/docs/modules/1.1.x/dispatcher.html http://openser.org/docs/modules/1.1.x/dispatcher.html#AEN105 http://openser.org/docs/modules/1.1.x/dispatcher.html#AEN184 Cheers, Daniel > thanks > > > > _______________________________________________ > Users mailing list > Users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx > http://openser.org/cgi-bin/mailman/listinfo/users > > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Record Route: 00461, raviprakash sunkara |
|---|---|
| Next by Date: | Re: OpenSER dimensioning. How many calls/sec can it set up?: 00461, Klaus Darilion |
| Previous by Thread: | Re: Dispatcher failure routei: 00461, Daniel-Constantin Mierla |
| Next by Thread: | split signaling from rtp: 00461, Adrian I. Vasile |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |