[Serusers] sip load balancing

a c lra101 at yahoo.com
Tue May 10 22:55:53 CEST 2005


hello Karun,

This sounds like a great idea. We also don't need to
depend on DNS servers. Seems like lot of people are
having similar issues. It would also be nice if the
DID field could also take regular expressions {i.e.
800.*/etc}.How hard is this to implement? 

ac


--- Karunakar Chemudugunta <voicexml at gmail.com> wrote:

> I have a same problem as explained below.
> 
> PSTN ---> VOIP GATEWAY(Cisco AS5400) --> SER------->
> Multiple media gateways.
> 
> Planning to depoy media servers which can able to
> running IVR
> fuctionality and would like to use SER in front of
> lot of media
> gateways.
> 
> Each media gateway, might be running lot of user
> agents which are able
> to serve IVR fuctionality. all these user agents are
> going to register
> with SER with <media server hostname_channel number>
>  format as user
> name. Eg. mediaserver1_ch1 at mydomain.com
> 
> Otherside, SER will receive call from PSTN through
> VOIP Gateway with
> multiple DIDs and these calls need to route calls to
> media gateways (
> typical hosted call center environment )
> 
> 
> I have tried with lot of possibities using ser.cfg
> file and did n't
> find way to route calls to media gateways.
> 
> Just I am thinking, it would be possible to write
> another module or
> part of userloc module, which gives a routing
> fuctionality like cyclic
> or rotary senarios which helps load balancing and
> easy maintenance of
> media servers.
> 
> Possible solution
> ------------------------------
> Lets assume, if we have resource file called
> resource.cfg which has
> all did and resource mapping. All resource names are
> substring of
> usernames of useragents in media servers.
> resource.cfg
> ##########################################
> resource:resource1 =
>
mediaserver1,mediaserver2,mediaserver3,mediaserver4,mediaserver5
> 
> did:8005551212 = cyclic:resource1
> did:8005551213 = rotary:resource1
> 
> ##########################################
> 
> every invite message need to call fuction like
> lookup_route() instead
> of lookup() in ser.cfg
> 
> 
> this fuction instenally calls routing module,
> searches for did in
> resource file and get corresponding resource type(
> rotary or cylic),
> resource name.
> 
> search each resource member in useloc using function
> get_urecord  and
> it if avaialbe and route calls to that particar
> user.
> 
> Summary: 
> 
> 1.  ser receives call from PSTN
> 2.  Finds resource name for DID
> 3.  Find resource string depend of type of routing
> from resorce list.
> 4.  Serach usrloc database with resource string as
> sub string of
> usernames in userloc database.
> 5. Forward call to that particular media gateway.
> 
> 
> Welcome for any comments and thoughts ?
> 
> Thanks,
> Karun Chemudugunta
>   
> 
> 
> 
> 
> On 5/10/05, a c <lra101 at yahoo.com> wrote:
> > hello Iqbal,
> > 
> >  just need the SIP messages load balance across
> > servers. No RTP.
> > 
> > thank you
> > ac
> > 
> > --- Iqbal <iqbal at gigo.co.uk> wrote:
> > > mediaproxy can do it using dns. Am assuming you
> want
> > > the rtp stream load
> > > balanced, if its the sip messages, search
> throuygh
> > > the archives there is
> > > along discussion bout howto use LVS and load
> > > balancing....in short
> > > doesnt seem to work, cause SIP uses udp
> > >
> > > Iqbal
> > >
> > > a c wrote:
> > >
> > > >hello,
> > > >
> > > > got a question on SER. Could SER do load
> balance
> > > >across SIP servers?
> > > >
> > > >for example:
> > > >
> > > >SIP carrier --> SER --> Media/App Servers
> > > {multiple}
> > > >
> > > >Are there any Configuration examples I can look
> at?
> > > >
> > > >thank you
> > > >ac
> > > >
> > > >
> > > >
> > > >__________________________________
> > > >Yahoo! Mail Mobile
> > > >Take Yahoo! Mail with you! Check email on your
> > > mobile phone.
> > > >http://mobile.yahoo.com/learn/mail
> > > >
> > > >_______________________________________________
> > > >Serusers mailing list
> > > >serusers at lists.iptel.org
> > > >http://lists.iptel.org/mailman/listinfo/serusers
> > > >
> > > >.
> > > >
> > > >
> > > >
> > >
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - Find what you need with new enhanced
> search.
> > http://info.mail.yahoo.com/mail_250
> > 
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
> 



		
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html




More information about the sr-users mailing list