[Kamailio-Users] About Changing 401 Message

Iñaki Baz Castillo ibc at in.ilimit.es
Fri Aug 29 17:40:21 CEST 2008


El Friday 29 August 2008 17:04:15 Ali Jawad escribió:
> Hi
> Some of those responses for example "Insufficient funds" will be sent from
> asterisk.

Yo change those replies you must use failure_route[X] and do:

failure_route[X] {
  if (t_check_status("403")) {
		t_reply("403", "Cusom reason phrase");
		exit;
	}
}


> However logon errors and 404 errors for p2p calls are right from 
> Openser.

Then you do in a route[X]:

route[X] {
	sl_send("404", "Custom reasno phrase");
}

Regards.

-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the Users mailing list