[OpenSIPS-Users] [Kamailio-Users] About Changing 401 Message

Klaus Darilion klaus.mailinglists at pernau.at
Fri Aug 29 16:21:36 CEST 2008


Why do you want to change it? To which code?

Actually do not call www_authorized and then you do not get 401, but use 
sl_send_reply("456","any foobar");

klaus

Ali Jawad schrieb:
> Hi All
> 
> When I do logon with a wrong username/pwd I get the following error 401 
> UNAUTHORIZED. If I do want to change that error “for whatever stupid 
> reason J” I know I could change that message using the header files and 
> recompile. However I only know where to change the UNAUTHORIZED keyword, 
> what about the 401 number…apart from that could I change that message 
> using ss_reply ?
> 
> Thanks
> 
>  
> 
> With Regards
> 
>  
> 
> Ali Jawad
> 
> System Administrator
> 
> Splendor Telecom (www.splendor.net)
> 
> Beirut, Lebanon
> 
> Phone: +961 1 373725
> 
> Fax: + 961 1 375554
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list