[SR-Users] Kamailio problem route

Camilo Bozo camilo.bozo at mirje.net
Thu Sep 5 23:06:36 CEST 2013


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 at mirje.net
*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130905/2f42cb79/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7699 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130905/2f42cb79/attachment-0001.png>


More information about the sr-users mailing list