[sr-dev] [tracker] Task opened: Kamailio: problem route

sip-router bugtracker at sip-router.org
Thu Sep 5 22:32:12 CEST 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - camilo (Skamilo0) 

Attached to Project - sip-router
Summary - Kamailio: problem route
Task Type - Feature Request
Category - Modules kamailio
Status - Unconfirmed
Assigned To - 
Operating System - FreeBSD
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - 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.






More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=336

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list