[Devel] new errors from check_actions?

Kobi Eshun kobi at sightspeed.com
Fri Mar 9 21:23:25 CET 2007


Thanks for the tip, Daniel.

As you point out, I was inadvertently invoking sl_send_reply() from a  
Failure Route (a consequence of implementing code reuse with route()  
blocks).

The ds_select_domain() call from the Failure Route was deliberate,  
however. Basically, I don't construct a list of media servers to take  
a call until I get a failure response from the targeted user. Seems  
that I'd have to construct this list for every call if I cannot run  
this function in the Failure Route block -- any thoughts on that?

Cheers,
--
kobi


On Mar 7, 2007, at 2:00 AM, Daniel-Constantin Mierla wrote:

> Hello,
>
> you use some functions meant for route{} blocks in failure_route{}  
> blocks. ds_select_domain and sl_send_reply cannot be used in  
> failure_route -- i.e., failure_route you have transactions, so you  
> have to use t_replay() instead of sl_send_reply.
>
> Cheers,
> Daniel
>
>
> On 03/07/07 00:14, Kobi Eshun wrote:
>> Hi,
>>
>> Wondering if anyone can shed light on the attached error messages  
>> -- these started appearing after I sync'd to SVN head today. Thanks,
>> --
>> kobi
>>
>>
>>  0(9644) ERROR:check_actions: script function  
>> "ds_select_domain" (types=1) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "sl_reply_error" (types=1) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "ds_select_domain" (types=1) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[1]=8
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "sl_reply_error" (types=1) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[1]=8
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "sl_send_reply" (types=17) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "sl_reply_error" (types=1) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[2]=5
>> 0(9644) ERROR:check_actions: route stack[1]=8
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "sl_reply_error" (types=1) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[2]=5
>> 0(9644) ERROR:check_actions: route stack[1]=8
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "sl_reply_error" (types=1) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[1]=8
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "ds_select_domain" (types=1) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[2]=8
>> 0(9644) ERROR:check_actions: route stack[1]=8
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "sl_reply_error" (types=1) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[2]=8
>> 0(9644) ERROR:check_actions: route stack[1]=8
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "sl_send_reply" (types=17) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[1]=8
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "sl_reply_error" (types=1) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[3]=5
>> 0(9644) ERROR:check_actions: route stack[2]=8
>> 0(9644) ERROR:check_actions: route stack[1]=8
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "sl_reply_error" (types=1) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[3]=5
>> 0(9644) ERROR:check_actions: route stack[2]=8
>> 0(9644) ERROR:check_actions: route stack[1]=8
>> 0(9644) ERROR:check_actions: route stack[0]=0
>> 0(9644) ERROR:check_actions: script function  
>> "sl_reply_error" (types=1) does not support route type (2)
>> 0(9644) ERROR:check_actions: route stack[2]=8
>> 0(9644) ERROR:check_actions: route stack[1]=8
>> 0(9644) ERROR:check_actions: route stack[0]=0
>>
>>
>> --------------------------------------------------------------------- 
>> ---
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/devel
>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openser.org/pipermail/devel/attachments/20070309/de3cd123/attachment.html


More information about the Devel mailing list