[sr-dev] sl_send_reply in failure_route

Olle E. Johansson oej at edvina.net
Tue Oct 5 16:53:11 CEST 2010


5 okt 2010 kl. 16.42 skrev Juha Heinanen:

> Olle E. Johansson writes:
> 
>> If I use sl_send_reply in a failure route (like in the example) I get
>> 
>> 0(19813) : <core> [cfg.y:3333]: parse error in config file /etc/kamailio/kamailio.cfg, line 719, column 49: Command cannot be used in the block
>> 
>> Now, is the documentation or the sl module in error?
> 
> perhaps you should try send_reply() function instead of sl_send_reply.

So the docs are in error...

I used t_reply() which worked...

Thanks, Juha.

/O


More information about the sr-dev mailing list