SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
stuard1669Offline



Joined: Jul 31, 2008
Posts: 68

Status: Offline
Posted: Apr 20, 2009 - 07:08 AM Reply with quote Back to top
Can anyone tell me is openser1.1.1 dispatcher module ability same as opensips1.2, is the algorithm still same as opensips1.2 ?


1.4.1. ds_select_dst(set, alg)

The method selects a destination from addresses set.

Meaning of the parameters is as follows:

*

set - the id of the set from where to pick up destination address. It is the first column in destination list file.
*

alg - the algorithm used to select the destination address.

o

"0" - hash over callid
o

"1" - hash over from uri.
o

"2" - hash over to uri.
o

"3" - hash over request-uri.
o

"4" - round-robin (next destination).
o

"X" - if the algorithm is not implemented, the first entry in set is chosen.

If the bit 2 in 'flags' is set, the rest of the addresses from the destination set is stored in AVP list. You can use 'ds_next_dst()' to use next address to achieve serial forking to all possible destinations.

This function can be used from REQUEST_ROUTE.
View user's profile Send private message MSN Messenger


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.