Hello!

i am new in It, i speak spanish y very bad english, my problem is:

i want route to announcement when is busy or request timeout(486|408):

...
...

if(t_check_status("486|408")){
route(TEST);
exit;
}

route[TEST] {
setflag(1);
append_hf("P-App-Name: announcement\r\n");
rewritehostport("sip.inf.uct.cl:5080");
route("RELAY");
exit;
}

route[RELAY] {
if(is_method("ACK")) {
exec_msg("/bin/echo \" $$SIP_HF_FROM $$SIP_HF_TO $$SIP_RURI \" >> /home/kaminfo/llamadas.log");

...
...


this just to prove that routing works.

call with linphone and gives an error that says "I'm terribly sorry, server error occurred (6/SL).

Are you missing something in code?

Please help, is my final

Thank you.


--


Saludos ATTE:

imagen mirje
Camilo Bozo
Mirje Soluciones informáticas
Atención de Lunes a Viernes 9:30 a 18:30 hrs
Fono: 81338638
Email: camilo.bozo@mirje.net