[Kamailio-Users] About Changing 401 Message

Ali Jawad ali.jawad at splendor.net
Fri Aug 29 16:24:44 CEST 2008


Hi Klaus
Thanks for the continous support, actually the question is not just
about the 401 it is for a couple of response codes, I want to change the
language for those. 
Thanks


-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists at pernau.at] 
Sent: 2008-08-29 17:22
To: Ali Jawad
Cc: users at lists.kamailio.org; users at lists.openser.org
Subject: Re: [Kamailio-Users] About Changing 401 Message

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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the sr-users mailing list