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.
Hello,
look in syslog (/var/log/syslog or /var/log/messages) to see if there is any error message from kamailio. If not, start kamailio with debug=3 in config file, it will be lot more log messages. If you can't figure out what is wrong, then send here the debug messages.
Such error can be due to wrong hostname in r-uri (no dns record for it) or some internal issue.
Cheers, Daniel
On 9/5/13 11:06 PM, Camilo Bozo wrote:
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 */
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users