[SR-Users] When Not Found

Daniel Tryba d.tryba at pocos.nl
Tue Aug 9 11:15:52 CEST 2016


On Mon, Aug 08, 2016 at 10:16:26AM -0400, Alex Balashov wrote:
> >When sending an invite and the calle not found or responding with an ACK
> >I want my script do some costume work.
> >When can I do it (using regular script)?
> 
> Sorry, what? :-)
 
I guess custom actions instead of costume work.

So the answer is not simple, parse you config for all logic with respect
to your wishes. Taking the "default" config with kamailio. An action to
an ACK can be defined in WITHINDLG. A callee not found can be handled in
LOCATION when the lookup() fails or in the MANAGE_FAILURE failure route.



More information about the sr-users mailing list