Hello,
you can use sl module for sending a reply as soon as you get a request:
sl_send_reply("100", "Trying");
Cheers,
Daniel
On 5/15/13 9:06 PM, Robert R wrote:
Hi,
There is a big delay in our Kamailio server when repling "100 Trying"
after incoming INVITE messages (more than 500 ms). It seems my perl
script (and database query) is executed before "100 Trying" being send
out. I was wondering if sending "100 Trying" is configurable so I can
send it right after INVITE and before executing my perl script.
request_route {
# per request initial checks
route(REQINIT);
# NAT detection
route(NATDETECT);
# handle requests within SIP dialogs
route(WITHINDLG);
if (is_method("INVITE"))
{
perl_exec("test");
}
t_check_trans();
route(SIPOUT);
route(PRESENCE);
route(REGISTRAR);
..
route(RELAY);
} (morthen
Thanks
R
_______________________________________________
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
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
* http://asipto.com/u/katu *
_______________________________________________
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