[SR-Users] Dispatcher Confusion (v3.2.0)

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 26 19:17:09 CEST 2011


Hello,

if you tried with 3.2.x, it was the case, since I just backported from 
master branch the commit I did to sort out better the behaviour based on 
probing state. Try again now with latest 3.2 branch.

Cheers,
Daniel

On 10/26/11 11:59 AM, Asgaroth wrote:
> Hi Daniel,
>
> On 26/10/2011 04:44, Daniel-Constantin Mierla wrote:
>>> 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.
> I think this may have been v3.2, I'm just looking through my log files
> and here is the error line:
>
> INFO: dispatcher [dispatch.c:2031]: Ignoring the request to set this
> destination to probing: It is already inactive!
>
> If I recall correctly, I first tried to do:
>
> ds_mark_dst("ip");
>
> in routeing script, but that did not work, it set state to IX and not IP.
>
> Then I tried:
>
> ds_mark_dst("i");
> ds_mark_dst("p");
>
> Thats when I got the following message:
>
> INFO: dispatcher [dispatch.c:2031]: Ignoring the request to set this
> destination to probing: It is already 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.
> I can see, from the docs, that if I just do ds_mark_dst(), then that
> will set state to IX (Inactive), however, as described above, I cannot
> set state to Inactive-Probing, from routing script using ds_mark_dst("ip").
>
> Thanks
>
> _______________________________________________
> 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
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-users mailing list