[OpenSIPS-Users] OpenSIPS as simple SIP proxy

2021-01-12 Thread Conor Power
Hi,
   Apologies for the noob question but I'm hoping someone can point me in the 
right direction.

I am trying to use OpenSIPS as a simple proxy to proxy all calls to another SIP 
endpoint and back again to the original client. The only role of the OpenSIPS 
server is to function as the proxy and it is for all requests.

I have OpenSIPS up and running and can see the requests coming inbound using 
ngrep but I've had no success proxying the requests.

I added a sethostport() call in the config file but really am not sure where or 
how it fits in.

If someone might point me to a simple config file that would be used for such a 
proxy setup, it would be greatly appreciated.

Conor
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Need some help while configuring opensips 3.1 with homer 7 .

2021-01-12 Thread Sasmita Panda
Hi Lorenzo ,

Need some understanding about the exported function  correlate in proto_hep
module .

The documentation says through this we can correlate two calls .

correlate("hep_dst", "correlation-no-1",$var(cor1),"correlation-no-2",
$var(cor2));


My scenario .
user1 -- opensips --- Freeswitch --- opensips --- user2

Here freeswitch behaves like a B2B UA . So when user1 calls to user2 there
is 2 call-id in both leg .
I want to correlate both the calls in a single flow . Freeswitch shares an
UUID in both the leg to identify these two calls . But in homer side the
call-id is he session id .

How I will do this ?

*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*


On Thu, Dec 17, 2020 at 6:19 PM Lorenzo Mangani 
wrote:

> Hi Sasmita,
>
> Please open an issue on the homer repository and we'll gladly assist you
> or any OpenSIPS community member :)
>
> https://github.com/sipcapture/homer/issues
>
>
> Kind Regards,
>
> Lorenzo Mangani
>
> QXIP BV - Capture Engineering
> Amsterdam, The Netherlands
>
> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
> for the sole use of the intended recipient(s) and may contain confidential or
> legally privileged information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient, please 
> contact
> the sender by reply e-mail and destroy all copies of this original message.
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] sangoma issue ?

2021-01-12 Thread Andy Dierlam
Hello All,

Wondering if anyone can offer some guidance on an issue seemingly with a
newly setup Sangoma D-500 Transcoding card.

Issue:
When using transcoding, soon after 1 transcoded call completes, utimer task
messages until opensips is restarted
seems like it happens when fetch_dlg_value: looking for 

Jan 12 15:05:26 [21578] DBG:tm:timer_routine: timer
routine:2,tl=0x7f9ce5fd3cc0 next=(nil), timeout=16

Jan 12 15:05:26 [21578] DBG:tm:wait_handler: removing 0x7f9ce5fd3c40 from
table

Jan 12 15:05:26 [21578] DBG:tm:delete_cell: delete transaction
0x7f9ce5fd3c40

Jan 12 15:05:26 [21578] DBG:tm:run_trans_callbacks: trans=0x7f9ce5fd3c40,
callback type 4096, id 3 entered

Jan 12 15:05:26 [21578] DBG:dialog:destroy_dlg: destroying dialog
0x7f9ce5fcdc50

Jan 12 15:05:26 [21578] DBG:dialog:destroy_dlg: dlg expired or not in list
- dlg 0x7f9ce5fcdc50 [57:1450509359] with clid
'3b72b48a67a1eec840e2e1db12f8b37f@x.x.x.x' and tags 'as6d2cf831'
'Yjg9IHv3tknz-KgDTUF.K-lleno6X-hI'

Jan 12 15:05:26 [21578] DBG:dialog:run_dlg_callbacks:
dialog=0x7f9ce5fcdc50, type=2048

Jan 12 15:05:26 [21578] DBG:dialog:fetch_dlg_value: looking for 

Jan 12 15:05:26 [21561] WARNING:core:utimer_ticker: utimer task 
already scheduled 100 ms ago (now 16950 ms), delaying execution

Jan 12 15:05:26 [21561] WARNING:core:utimer_ticker: utimer task 
already scheduled 200 ms ago (now 17050 ms), delaying execution

Jan 12 15:05:26 [21561] WARNING:core:utimer_ticker: utimer task 
already scheduled 300 ms ago (now 17150 ms), delaying execution

Jan 12 15:05:26 [21561] WARNING:core:utimer_ticker: utimer task 
already scheduled 400 ms ago (now 17250 ms), delaying execution

Jan 12 15:05:26 [21561] WARNING:core:utimer_ticker: utimer task 
already scheduled 490 ms ago (now 17340 ms), delaying execution

Jan 12 15:05:26 [21561] WARNING:core:utimer_ticker: utimer task 
already scheduled 590 ms ago (now 17440 ms), delaying execution

Jan 12 15:05:27 [21561] WARNING:core:utimer_ticker: utimer task 
already scheduled 690 ms ago (now 17540 ms), delaying execution

Jan 12 15:05:27 [21561] WARNING:core:utimer_ticker: utimer task 
already scheduled 790 ms ago (now 17640 ms), delaying execution

Jan 12 15:05:27 [21561] WARNING:core:utimer_ticker: utimer task 
already scheduled 890 ms ago (now 17740 ms), delaying execution

Jan 12 15:05:27 [21561] WARNING:core:timer_ticker: timer task 
already scheduled 990 ms ago (now 17740 ms), delayin



opensips-cli trap output ( not sure what am looking at here, in case helps
)

#1  0x7f9cde9aee5f in sangoma_worker_loop (proc_no=) at
sngtc_proc.c:46

req = {type = REQ_FREE_SESSION, response_fd = 78, sng_req =
{usr_priv = 0x7f9ce8c8f86b , tag = 15, rtcp_enable = 5
'\005', a = {codec_

id = 32668, ms = 20, host_ip = 0, host_netmask = 2021, host_udp_port = 0},
b = {codec_id = 9217376, ms = 0, host_ip = 3905485451, host_netmask =
32668, host_

udp_port = 20}}, sng_reply = 0x7f9ce5fd2c78}

rc = 0

__FUNCTION__ = "sangoma_worker_loop"

#2  0x005045c8 in start_module_procs () at sr_module.c:858

m = 0x7f9ce7beafa8

n = 0

l = 0

x = 

__FUNCTION__ = "start_module_procs"

#3  0x0041e3df in main_loop () at main.c:779

startup_done = 0x0

chd_rank = 0

last_check = 0

rc = 

#4  main (argc=, argv=) at main.c:1479

c = 

r = 0

tmp = 0x1 

tmp_len = 

port = 

proto = 

protos_no = 

options = 0x664908
"f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g:p:P:G:W:o:a:k:s:"

ret = -1

seed = 4061548656

rfd = 

__FUNCTION__ = "main"

thanks
Andy
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] OpenSIPS Control Panel 8.3.1 was released

2021-01-12 Thread Bogdan-Andrei Iancu

Hi all,

I know many of you were really anxious, so here we have the release of 
OpenSIPS Control Panel 8.3.1, compatible with OpenSIPS 3.1 . So, at this 
point we have the full 3.1 suite in place .


The OCP 8.3.1 has the same framework/engine as OCP 8.3.0 / 8.2.4, but it 
is aligned to the specifics of OpenSIPS 3.1 version:


* the "Dynamic Routing" tool was update to fit to the DB changed 
(related to sort algorithms)


* the "Call Center" tool was extended to cope with the new features 
related to dissuading and wrapup time


* the "Load Balancer" tool got the new "Attribute" field

* in the "CDRviewer" tool, the CDR filter was improved in terms of 
user-experience; also massive CDR exports are now supported.



Where to check for more or to download it?
http://controlpanel.opensips.org


Download and enjoy it as it's freshly baked for you,

--
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users