[SR-Users] Delay in "100 Trying" reply message

Daniel-Constantin Mierla miconda at gmail.com
Thu May 16 16:45:28 CEST 2013


Look at tm module readme - there is a parameter for this.

Cheers,
Daniel

On 5/16/13 4:44 PM, Robert R wrote:
> I added this line and now we are getting multiple "100 Trying" for one 
> single request message.
> Can we disable the other "100 Trying" response and only leave 
> "sl_send_reply" statement to generate 100 trying?
>
> Thanks,
> R
>
>
> On Thu, May 16, 2013 at 3:52 AM, Daniel-Constantin Mierla 
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     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 at lists.sip-router.org  <mailto:sr-users at 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://twitter.com/#%21/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 at lists.sip-router.org <mailto:sr-users at 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 *

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130516/07544ecd/attachment-0001.html>


More information about the sr-users mailing list