[SR-Users] Dispatcher ds_select_dst on branches

Daniel-Constantin Mierla miconda at gmail.com
Tue May 28 14:10:01 CEST 2013


Hello,

On 5/28/13 11:20 AM, DanB wrote:
> Hey Guys,
>
> I was wondering if I could get some guidance on my ideas.
>
> I would like to use dispatcher ds_select_dst on ruri in a branch. Is 
> this scenario feasible or out of internals (winning branch maybe) 
> impossible?
>
> The idea behind my scenario is to be able to dispatch separately 
> branches received from redirect server.
I think it should work to call dst_select_dst() in a branch route.

Alternative, would be to get contact addresses from 30x reply and build 
the branches separately in failure route, for each new URI from contact 
header, do also dst_select_dst(). This function does not care about what 
is in R-URI.

However, if you need to do also failure routing for each branch, then it 
gets more complex, the easiest would be to add another instance where to 
do load balancing.

Cheers,
Daniel

>
> Thanks in advance for any tip!
>
> DanB
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
   * http://asipto.com/u/katu *




More information about the sr-users mailing list