[SR-Users] UDP Fragmentation webRTC/UDP Call

2023-10-13 Thread Social Boh via sr-users

Hello,

I'm trying to solve a problem with calls WebRTC/UDP. I think is a 
fragmentation problem because udp/webRTC calls works without problem. 
The INVITE from Kamailio to the UDP device not receive any type of answer.


I'm trying to reduce the SDP annex size using:


 |sdp_remove_line_by_prefix|

for some lines unsuccessfully. Maybe I don't know where put this 
function in the script.


Or, is there another way to solve this issue?

Thank you in advance

Regards


--
---
I'm SoCIaL, MayBe
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Re: ERROR: run_top_route

2023-10-13 Thread Patrick Karton via sr-users
Hi,

ok from kamailio source code,  i see that the returned value of last function 
called in failure route is also taken also as value so that's why you have that 
log error.

you have to find why t_relay() return -1

or you can also do this

failure_route["serial"] {
if (!t_next_contacts()) {
exit;
}

  t_on_failure("serial");
$tu = $ru;
  if (!t_relay())
   drop; // or exit
}

De : satyaprakash ch 
Envoyé : vendredi 13 octobre 2023 13:43
À : Patrick Karton 
Cc : Kamailio (SER) - Users Mailing List 
Objet : Re: [SR-Users] ERROR: run_top_route

HI,

failure_route[MANAGE_FAILURE] {
if (t_check_status("3[0-9][0-9]")) {
get_redirects("3:3");
t_load_contacts();
t_next_contacts();
$tu = $ru;
t_on_failure("serial");
t_relay();
exit;
}
}

failure_route["serial"] {
if (!t_next_contacts()) {
exit;
}

  t_on_failure("serial");
$tu = $ru;
  t_relay();
}


t_relay function is returning -1 in serial failure route. Functionality wise 
this code is working fine.
So is there any thing is wrong t_relay is returning -1. Let us know your 
suggestions further.

On Wed, Oct 11, 2023 at 8:58 PM Patrick Karton 
mailto:patrickar...@hotmail.com>> wrote:
Hi,

no we don't need to change any code level.
but in your script just remove the return with negative code.

you probably have in your script

failure_route[MY_FAILURE]{


return -5; // <-- you probably have this. remove this instruction


return route[ANOTHER_ROUTE] // <-- or you have this flavour  . remove the 
return instruction.


}


you should remove any return instruction present in faillure_route.
its not useful to have a return instruction in a faillure_route.

De : satyaprakash ch 
mailto:chiramchetty.satyaprak...@gmail.com>>
Envoyé : mercredi 11 octobre 2023 07:27
À : Patrick Karton mailto:patrickar...@hotmail.com>>
Cc : Kamailio (SER) - Users Mailing List 
mailto:sr-users@lists.kamailio.org>>
Objet : Re: [SR-Users] ERROR: run_top_route

Hi,

Thanks for the reply,

What if we would get a negative value, Do we need to change any code level,
Will you please suggest what we need to do to resolve this?

Waiting for your reply.


On Mon, Oct 9, 2023 at 11:45 AM satyaprakash ch 
mailto:chiramchetty.satyaprak...@gmail.com>>
 wrote:
Hi,

Thanks for the reply,

What if we would get a negative value, Do we need to change any code level,
Will you please suggest what we need to do to resolve this?



On Wed, Sep 27, 2023 at 9:26 PM Patrick Karton 
mailto:patrickar...@hotmail.com>> wrote:
Hi,

Probably because you are returning negative value in this failure_route

De : satyaprakash ch via sr-users 
mailto:sr-users@lists.kamailio.org>>
Envoyé : mercredi 27 septembre 2023 06:45
À : Kamailio (SER) - Users Mailing List 
mailto:sr-users@lists.kamailio.org>>
Cc : satyaprakash ch 
mailto:chiramchetty.satyaprak...@gmail.com>>
Objet : [SR-Users] ERROR: run_top_route

Hi,

We are having an error in the Kamailio logs which we need to resolve this issue,

ERROR is ::  /usr/local/sbin/kamailio[10149]: ERROR: tm [t_reply.c:1081]: 
run_failure_handlers(): error running run_top_route for failure handler.

We are getting this error at the time of the 3xx response, Can anyone help me 
on this?


Thank you.
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Re: 183 Session Progress Acknowledgment

2023-10-13 Thread Alex Balashov via sr-users
PRACKs are up to the UAs to send.

> On 13 Oct 2023, at 08:30, Ali Taher via sr-users 
>  wrote:
> 
> Hello,
>  Is there a way to send PRACK as reply to a 183 Session Progress (with 
> Require: 100rel) sent to Kamailio sip proxy?
>  Regards,
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
> To unsubscribe send an email to sr-users-le...@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!
> Edit mailing list options or unsubscribe:


-- 
Alex Balashov
Principal Consultant
Evariste Systems LLC
Web: https://evaristesys.com
Tel: +1-706-510-6800

__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Re: ERROR: run_top_route

2023-10-13 Thread satyaprakash ch via sr-users
HI,

failure_route[MANAGE_FAILURE] {
if (t_check_status("3[0-9][0-9]")) {
get_redirects("3:3");
t_load_contacts();
t_next_contacts();
$tu = $ru;
t_on_failure("serial");
t_relay();
exit;
}
}

failure_route["serial"] {
if (!t_next_contacts()) {
exit;
}

  t_on_failure("serial");
$tu = $ru;
  t_relay();
}


t_relay function is returning -1 in serial failure route. Functionality
wise this code is working fine.
So is there any thing is wrong t_relay is returning -1. Let us know your
suggestions further.

On Wed, Oct 11, 2023 at 8:58 PM Patrick Karton 
wrote:

> Hi,
>
> no we don't need to change any code level.
> but in your script just remove the return with negative code.
>
> you probably have in your script
>
> failure_route[MY_FAILURE]{
>
> 
> *return *-5; *//* *<-- you probably have this. remove this
> instruction*
>
>
> *return *route[ANOTHER_ROUTE] *// <-- or you have this flavour  .
> remove the return instruction.*
>
>
> }
>
>
> you should remove any *return *instruction present in *faillure_route*.
> its not useful to have a return instruction in a faillure_route.
> --
> *De :* satyaprakash ch 
> *Envoyé :* mercredi 11 octobre 2023 07:27
> *À :* Patrick Karton 
> *Cc :* Kamailio (SER) - Users Mailing List 
> *Objet :* Re: [SR-Users] ERROR: run_top_route
>
> Hi,
>
> Thanks for the reply,
>
> What if we would get a negative value, Do we need to change any code level,
> Will you please suggest what we need to do to resolve this?
>
> Waiting for your reply.
>
>
> On Mon, Oct 9, 2023 at 11:45 AM satyaprakash ch <
> chiramchetty.satyaprak...@gmail.com> wrote:
>
> Hi,
>
> Thanks for the reply,
>
> What if we would get a negative value, Do we need to change any code level,
> Will you please suggest what we need to do to resolve this?
>
>
>
> On Wed, Sep 27, 2023 at 9:26 PM Patrick Karton 
> wrote:
>
> Hi,
>
> Probably because you are returning negative value in this failure_route
> --
> *De :* satyaprakash ch via sr-users 
> *Envoyé :* mercredi 27 septembre 2023 06:45
> *À :* Kamailio (SER) - Users Mailing List 
> *Cc :* satyaprakash ch 
> *Objet :* [SR-Users] ERROR: run_top_route
>
> Hi,
>
> We are having an error in the Kamailio logs which we need to resolve this
> issue,
>
> ERROR is ::*  /usr/local/sbin/kamailio[10149]: ERROR: tm
> [t_reply.c:1081]: run_failure_handlers(): error running run_top_route for
> failure handler.*
>
> We are getting this error at the time of the 3xx response, Can anyone help
> me on this?
>
>
> Thank you.
>
>
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] 183 Session Progress Acknowledgment

2023-10-13 Thread Ali Taher via sr-users
Hello,

Is there a way to send PRACK as reply to a 183 Session Progress (with Require: 
100rel) sent to Kamailio sip proxy?

Regards,
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Re: 503(service unavailable)

2023-10-13 Thread Masud via sr-users
Hello.
Daniel can you help with these questions?)
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe: