Re: [OpenSIPS-Users] external applications

2024-04-04 Thread Prathibha B
Opensips exec() is working using the absolute path. Sent from Outlook for Android From: Prathibha B Sent: Friday, April 5, 2024 5:49:37 AM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] external applications My question

Re: [OpenSIPS-Users] external applications

2024-04-04 Thread Prathibha B
My question is not regarding exec command. How to capture the start of the call? I'm unable to get the start. Sent from Outlook for Android From: Users on behalf of Ben Newlin Sent: Thursday, April 4, 2024 9:22:28 PM To: OpenSIPS users

Re: [OpenSIPS-Users] external applications

2024-04-04 Thread Ben Newlin
Per the documentation [1], input variables to the script are provided as a separate parameter to the exec command. It does not do a direct shell execution of the entire first parameter. So it should be: exec(“script.sh”, “INVITE”); Also, for a relative command I’m not entirely sure where

[OpenSIPS-Users] OpenSIPS Summit 2024 - Speaker's lineup

2024-04-04 Thread Bogdan-Andrei Iancu
OpenSIPS Summit May 14th - 17th, 2024 Valencia, Spain *Speaker's lineup & Schedule * We bring here the list of speakers and papers - great speakers presenting great

Re: [OpenSIPS-Users] external applications

2024-04-04 Thread Prathibha B
what does the $rm = SUBSCRIBE mean? On Thu, 4 Apr 2024 at 12:18, Prathibha B wrote: > However this code is getting executed after reaching the ringing state. > > On Thu, 4 Apr 2024 at 12:13, Prathibha B wrote: > >> I am not getting the log also. >> >> On Thu, 4 Apr 2024 at 12:02, Prathibha B

Re: [OpenSIPS-Users] socket defination in opensips 3.2

2024-04-04 Thread Alex Balashov
Hello, Port spaces for UDP and TCP are independent. -- Alex > On Apr 4, 2024, at 6:45 AM, Sasmita Panda wrote: > > Hi All , > > Is the below socket definition right ? In this case opensips will listen on > both UDp and TCP protocol on the same 5507 port ? > > socket=tcp:10.5.1.1:5507 >

[OpenSIPS-Users] socket defination in opensips 3.2

2024-04-04 Thread Sasmita Panda
Hi All , Is the below socket definition right ? In this case opensips will listen on both UDp and TCP protocol on the same 5507 port ? socket=tcp:10.5.1.1:5507 socket=udp:10.5.1.1:5507 *If this is not right then how can opensips listen for both UDP and TCP protocol in a single port ?* *Thanks

Re: [OpenSIPS-Users] external applications

2024-04-04 Thread Prathibha B
However this code is getting executed after reaching the ringing state. On Thu, 4 Apr 2024 at 12:13, Prathibha B wrote: > I am not getting the log also. > > On Thu, 4 Apr 2024 at 12:02, Prathibha B wrote: > >> if($rm == "INVITE") { >> xlog("Request method = $rm"); >> exec("script.sh

Re: [OpenSIPS-Users] external applications

2024-04-04 Thread Prathibha B
I am not getting the log also. On Thu, 4 Apr 2024 at 12:02, Prathibha B wrote: > if($rm == "INVITE") { > xlog("Request method = $rm"); > exec("script.sh \"INVITE\""); > } > > > With the above code , I am getting the Request method = INVITE twice in > the log file. But the exec() is not getting

Re: [OpenSIPS-Users] external applications

2024-04-04 Thread Prathibha B
I've used the above code inside the route block. On Thu, 4 Apr 2024 at 12:02, Prathibha B wrote: > if($rm == "INVITE") { > xlog("Request method = $rm"); > exec("script.sh \"INVITE\""); > } > > > With the above code , I am getting the Request method = INVITE twice in > the log file. But the

Re: [OpenSIPS-Users] external applications

2024-04-04 Thread Prathibha B
if($rm == "INVITE") { xlog("Request method = $rm"); exec("script.sh \"INVITE\""); } With the above code , I am getting the Request method = INVITE twice in the log file. But the exec() is not getting executed. On Wed, 3 Apr 2024 at 19:43, Prathibha B wrote: > Yes. I am canceling the call

Re: [OpenSIPS-Users] memory fragmentation when calling dr_reload.

2024-04-04 Thread Bogdan-Andrei Iancu
That's EOL for quite some time :( Either consider more pkg mem (to cope with fragmentation) , either an upgrade to 3.4 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 03.04.2024 17:34, Johan De Clercq wrote: A