Hello Dears
if i need to make kamailio able to pause request processing for a Period of time is that possible ?
for example when kamailio receive an INVITE request then it have to wait until 10 seconds before relay it to the second server.
thanks in advance .
Yes, see async module.
-- Sent from mobile. Apologies for brevity and errors.
-----Original Message----- From: eyas barhouk eyas37@hotmail.com To: "Kamailio (SER) - Users Mailing List" sr-users@lists.kamailio.org Sent: Thu, 18 Oct 2018 7:50 AM Subject: [SR-Users] pause/waiting Timer kamailio
Hello Dears
if i need to make kamailio able to pause request processing for a Period of time is that possible ?
for example when kamailio receive an INVITE request then it have to wait until 10 seconds before relay it to the second server.
thanks in advance .
pause(10);
A simple but probably not the best solution.
On Thu, Oct 18, 2018, 8:25 AM Alex Balashov, abalashov@evaristesys.com wrote:
Yes, see async module.
-- Sent from mobile. Apologies for brevity and errors.
-----Original Message----- From: eyas barhouk eyas37@hotmail.com To: "Kamailio (SER) - Users Mailing List" sr-users@lists.kamailio.org Sent: Thu, 18 Oct 2018 7:50 AM Subject: [SR-Users] pause/waiting Timer kamailio
Hello Dears
if i need to make kamailio able to pause request processing for a Period of time is that possible ?
for example when kamailio receive an INVITE request then it have to wait until 10 seconds before relay it to the second server.
thanks in advance .
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
You might want to look at t_suspend
On Thu, Oct 18, 2018, 14:56 Sergiu Pojoga pojogas@gmail.com wrote:
pause(10);
A simple but probably not the best solution.
On Thu, Oct 18, 2018, 8:25 AM Alex Balashov, abalashov@evaristesys.com wrote:
Yes, see async module.
-- Sent from mobile. Apologies for brevity and errors.
-----Original Message----- From: eyas barhouk eyas37@hotmail.com To: "Kamailio (SER) - Users Mailing List" sr-users@lists.kamailio.org Sent: Thu, 18 Oct 2018 7:50 AM Subject: [SR-Users] pause/waiting Timer kamailio
Hello Dears
if i need to make kamailio able to pause request processing for a Period of time is that possible ?
for example when kamailio receive an INVITE request then it have to wait until 10 seconds before relay it to the second server.
thanks in advance .
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
iirc, it is sleep(10) instead of pause(10).
Cheers, Daniel
On 18.10.18 15:55, Sergiu Pojoga wrote:
pause(10);
A simple but probably not the best solution.
On Thu, Oct 18, 2018, 8:25 AM Alex Balashov, <abalashov@evaristesys.com mailto:abalashov@evaristesys.com> wrote:
Yes, see async module. -- Sent from mobile. Apologies for brevity and errors. -----Original Message----- From: eyas barhouk <eyas37@hotmail.com <mailto:eyas37@hotmail.com>> To: "Kamailio (SER) - Users Mailing List" <sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org>> Sent: Thu, 18 Oct 2018 7:50 AM Subject: [SR-Users] pause/waiting Timer kamailio Hello Dears if i need to make kamailio able to pause request processing for a Period of time is that possible ? for example when kamailio receive an INVITE request then it have to wait until 10 seconds before relay it to the second server. thanks in advance . _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
My bad, sleep("10") it is.
https://kamailio.org/docs/modules/5.1.x/modules/cfgutils.html#cfgutils.f.sle...
On Thu, Oct 18, 2018 at 11:34 AM Daniel-Constantin Mierla miconda@gmail.com wrote:
iirc, it is sleep(10) instead of pause(10). Cheers, Daniel
On 18.10.18 15:55, Sergiu Pojoga wrote:
pause(10);
A simple but probably not the best solution.
On Thu, Oct 18, 2018, 8:25 AM Alex Balashov, abalashov@evaristesys.com wrote:
Yes, see async module.
-- Sent from mobile. Apologies for brevity and errors.
-----Original Message----- From: eyas barhouk eyas37@hotmail.com To: "Kamailio (SER) - Users Mailing List" sr-users@lists.kamailio.org Sent: Thu, 18 Oct 2018 7:50 AM Subject: [SR-Users] pause/waiting Timer kamailio
Hello Dears
if i need to make kamailio able to pause request processing for a Period of time is that possible ?
for example when kamailio receive an INVITE request then it have to wait until 10 seconds before relay it to the second server.
thanks in advance .
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference -- www.kamailioworld.com Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Thanks dears but after trying it the server reply with error " SIP/2.0 500 I'm terribly sorry, server error occurred (1/TM)" Any idea about how to solve this issue??
Get Outlook for Androidhttps://aka.ms/ghei36
________________________________ From: sr-users sr-users-bounces@lists.kamailio.org on behalf of Sergiu Pojoga pojogas@gmail.com Sent: Thursday, October 18, 2018 6:53:07 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] pause/waiting Timer kamailio
My bad, sleep("10") it is.
https://kamailio.org/docs/modules/5.1.x/modules/cfgutils.html#cfgutils.f.sle...
On Thu, Oct 18, 2018 at 11:34 AM Daniel-Constantin Mierla <miconda@gmail.commailto:miconda@gmail.com> wrote:
iirc, it is sleep(10) instead of pause(10).
Cheers, Daniel
On 18.10.18 15:55, Sergiu Pojoga wrote: pause(10);
A simple but probably not the best solution.
On Thu, Oct 18, 2018, 8:25 AM Alex Balashov, <abalashov@evaristesys.commailto:abalashov@evaristesys.com> wrote: Yes, see async module.
-- Sent from mobile. Apologies for brevity and errors.
-----Original Message----- From: eyas barhouk <eyas37@hotmail.commailto:eyas37@hotmail.com> To: "Kamailio (SER) - Users Mailing List" <sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org> Sent: Thu, 18 Oct 2018 7:50 AM Subject: [SR-Users] pause/waiting Timer kamailio
Hello Dears
if i need to make kamailio able to pause request processing for a Period of time is that possible ?
for example when kamailio receive an INVITE request then it have to wait until 10 seconds before relay it to the second server.
thanks in advance .
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.comhttp://www.asipto.com www.twitter.com/micondahttp://www.twitter.com/miconda -- www.linkedin.com/in/micondahttp://www.linkedin.com/in/miconda Kamailio World Conference -- www.kamailioworld.comhttp://www.kamailioworld.com Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.comhttp://www.asipto.com
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Am Freitag, 19. Oktober 2018, 18:35:02 CEST schrieb eyas barhouk:
but after trying it the server reply with error " SIP/2.0 500 I'm terribly sorry, server error occurred (1/TM)" Any idea about how to solve this issue??
Hello,
can you give more context about:
- what do you tried exactly? - some logging output if there is an error
Best regards,
Henning