Word.
--
This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors,
and general sloppiness.
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web:
http://www.evaristesys.com/
On Oct 25, 2011, at 10:04 PM, JR Richardson <jmr.richardson(a)gmail.com> wrote:
> I am.
>
> On 10/25/11, sr-users-request(a)lists.sip-router.org
> <sr-users-request(a)lists.sip-router.org> wrote:
>> Send sr-users mailing list submissions to
>> sr-users(a)lists.sip-router.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>> or, via email, send a message with subject or body 'help' to
>> sr-users-request(a)lists.sip-router.org
>>
>> You can reach the person managing the list at
>> sr-users-owner(a)lists.sip-router.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of sr-users digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: Dispatcher Confusion (v3.2.0) (Daniel-Constantin Mierla)
>> 2. Re: Dispatcher Confusion (v3.2.0) (Daniel-Constantin Mierla)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 26 Oct 2011 05:44:06 +0200
>> From: Daniel-Constantin Mierla <miconda(a)gmail.com>
>> Subject: Re: [SR-Users] Dispatcher Confusion (v3.2.0)
>> To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
>> Users Mailing List" <sr-users(a)lists.sip-router.org>
>> Message-ID: <4EA78206.4060203(a)gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1";
Format="flowed"
>>
>> Hello,
>>
>> On 10/25/11 5:52 PM, Asgaroth wrote:
>>> Hi Daniel,
>>>
>>> Thanks for the clarrification,
>>>
>>> On 25/10/2011 16:30, Daniel-Constantin Mierla wrote:
>>>>
>>>>
>>>> 4.6. |ds_mark_dst("s")|
>>>>
>>>> Mark the last used address from destination set as inactive
>>>> ("i"/"I"/"0"), active
("a"/"A"/"1") or probing
("p"/"P"/"2"). With
>>>> this function, an automatic detection of failed gateways can be
>>>> implemented. When an address is marked as inactive or probing, it
>>>> will be ignored by 'ds_select_dst' and
'ds_select_domain'.
>>>>
>>>
>>> Above is the part that is a little misleading, it says that
>>>
>>> "When an address is marked as inactive or probing, it will be ignored
>>> by 'ds_select_dst' and 'ds_select_domain'."
>>>
>>> This, to me, means that if a gateway is in probing mode
>>> (Active-Probing) then it wont be selected in the destination set
>>> because it is in probing mode, if this is not the case then maybe the
>>> above line should read:
>>>
>>> "When an address is marked as inactive or inactive-probing, it will be
>>> ignored by 'ds_select_dst' and 'ds_select_domain'."
>>>
>>> This brings me to my next question then, how would I set the state of
>>> a destination to Inactive-Probing (state: IP) from the routing script.
>>> The ds_mark_dst() function only allows one of "a", "i",
"p".
>>>
>>> If I do a ds_mark_dst("i"), then the state changes to
"IX", Inactive
>>> with no probing to tell when gateway is back up.
>>>
>>> If I do a ds_mark_dst("i") and then right after
ds_mark_dst("p"), a
>>> log is printed saying that you cannot put a destination into probing
>>> state when it is marked as inactive.
>> are you sure you run the devel version? There is no such case in the
>> sources -- send me exactly the log message you get. Only when the
>> destination is disabled the probing cannot be set, but not the same case
>> of inactive.
>>
>>>
>>> Is it possible to set the state of a gateway to inactive-probing from
>>> the routing script?
>>
>> Yes, it should be, no constraint in master branch source code.
>>
>> Daniel
>>
>>>
>>> Thanks
>>>
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users(a)lists.sip-router.org
>>>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>> --
>> Daniel-Constantin Mierla --
http://www.asipto.com
>> Kamailio Advanced Training, Dec 5-8, Berlin:
http://asipto.com/u/kat
>>
http://linkedin.com/in/miconda --
http://twitter.com/miconda
>>
>>