[SR-Users] Kamailio PSTN with User/Pass authentication

Daniel Tryba d.tryba at pocos.nl
Wed Sep 23 18:46:12 CEST 2015


On Wednesday 23 September 2015 21:52:24 Infinicalls Infinicalls wrote:
> >  *  0(39013) ERROR: <core> [cfg.y:3282]: yyparse(): misused command
> >
> > uac_auth
> >
> >  0(39013) : <core> [cfg.y:3426]: yyerror_at(): parse error in config
> >
> > file /usr/local/etc/kamailio/kamailio.cfg, line 332, column 22:
> > Command cannot be used in the block

The problem is listed above: on line 332 uac_auth is used in a block where it 
can't be used. It can only be used from:
http://kamailio.org/docs/modules/stable/modules/uac.html#uac.f.uac_auth%28%29

"4.7.  uac_auth()

This function can be called only from failure route and will build the 
authentication response header and insert it into the request without sending 
anything.

This function can be used from FAILURE_ROUTE. "




More information about the sr-users mailing list