[OpenSIPS-Users] OpenSIPS Control Panel 9.3.2 does not show Online Users

2023-03-14 Thread Bela H
Hello,

OpenSIPS Control Panel 9.3.2 does not show Online Users, the location table is 
empty.
The ul_dump shows 95 registered users:
opensips-cli -x mi ul_dump | grep '"AOR"' | wc -l
95

OpenSIPS version: opensips 3.2.6
The usrloc module setting in cfg:
loadmodule "usrloc.so"
modparam("usrloc", "nat_bflag", "NAT")
modparam("usrloc", "working_mode_preset", "full-sharing-cluster")
modparam("usrloc", "location_cluster", 1)

What do I miss?

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


[OpenSIPS-Users] B2B is causing an ERROR:tm:partial_dlg_matching: INV/From not parsed

2023-03-01 Thread Bela H

Hello,

I am using the OpenSIPS 3.2.11 on Debian 11 and using the B2BUA for hair pining 
to the own OpenSIPS.  With sngrep both the original and the B2B calls have 
clean SIP signalling.
However, after hang up the call there is at least (it depends if A or B 
subscriber ends the call) the original call dialog hangs up with call state: 
"state": 3 , from GUI: “Confirmed Not Acknowledged Call” and the syslog shows 
many different errors, e.g. “ERROR:tm:partial_dlg_matching: INV/From not parsed”

If I delete the hanging dialog either from GUI or with cli OpenSIPS crashes:
(cli): mi dlg_end_dlg dialog_id=f0c.57deb687
ERROR: communication exception for 'dlg_end_dlg' returned: could not decode 
json: ''
ERROR: Is OpenSIPS running?
(cli):

Mar  2 17:34:19 sbc1t kernel: [97206.071119] traps: opensips[8143] general 
protection fault ip:7f1671388250 sp:7ffcc4013100 error:0 in 
tracer.so[7f167137c000+13000]
Mar  2 17:34:19 sbc1t /usr/sbin/opensips[8143]: 
CRITICAL:db_mysql:wrapper_single_mysql_stmt_execute: driver error (1048): 
Column 'from_tag' cannot be null
Mar  2 17:34:19 sbc1t /usr/sbin/opensips[8143]: ERROR:acc:acc_db_request: 
failed to insert into acc table
Mar  2 17:34:19 sbc1t /usr/sbin/opensips[8143]: ERROR:dialog:build_dlg_t: 
invalid cseq
Mar  2 17:34:19 sbc1t /usr/sbin/opensips[8143]: ERROR:dialog:send_leg_bye: 
failed to create dlg_t
Mar  2 17:34:19 sbc1t /usr/sbin/opensips[8143]: CRITICAL:tracer:proto2str: 
unsupported proto 0
Mar  2 17:34:19 sbc1t /usr/sbin/opensips[8143]: CRITICAL:tracer:proto2str: 
unsupported proto 0
Mar  2 17:34:19 sbc1t /usr/sbin/opensips[8143]: CRITICAL:core:sig_usr: segfault 
in process pid: 8143, id: 2
Mar  2 17:34:19 sbc1t /usr/sbin/opensips[8141]: INFO:core:handle_sigs: child 
process 8143 exited by a signal 11
Mar  2 17:34:19 sbc1t /usr/sbin/opensips[8141]: INFO:core:handle_sigs: core was 
not generated
Mar  2 17:34:19 sbc1t /usr/sbin/opensips[8141]: INFO:core:handle_sigs: 
terminating due to SIGCHLD


In the script the B2B part is very simple:

loadmodule "b2b_entities.so"
modparam("b2b_entities", "script_req_route", "b2b_request")
modparam("b2b_entities", "script_reply_route", "b2b_reply")
modparam("b2b_entities", "b2b_key_prefix", "B2B1")
modparam("b2b_entities", "db_mode", 1)
#modparam("b2b_entities", "replication_mode", 0)

 B2B_Logic 
loadmodule "b2b_logic.so"
modparam("b2b_logic", "init_callid_hdr", "Init-CallID")
modparam("b2b_logic", "server_address", "sip:own_address")
modparam("b2b_logic", "db_url", "mysql://xxx@")

A certain call scenario triggers the B2B call:
b2b_init_request("top hiding");

request and reply routes are just xlogs.

The issue can be simulated any time with the same call scenario.
Is anyone able to help or just report it as a bug?

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


Re: [OpenSIPS-Users] [CRASH] segfault in b2b_logic

2023-02-22 Thread Bela H
>From gdb debug:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x7f573bbf1bd0 in b2bl_insert_new () from 
/usr/lib/x86_64-linux-gnu/opensips/modules/b2b_logic.so

From: Bela H<mailto:hob...@hotmail.com>
Sent: Thursday, 23 February 2023 11:47
To: users@lists.opensips.org<mailto:users@lists.opensips.org>
Subject: [OpenSIPS-Users] [CRASH] segfault in b2b_logic

Hello,

I am playing with b2bua and OpenSIPS was working fine but suddenly stopped to 
respond.
Tried to restart it but crashes now all the time with b2b. (without that it 
starts OK).

I am using OpenSIPS:
version: opensips 3.2.10 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, 
F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
main.c compiled on  with gcc 10

on Debian 11.3

After restart I got the following error:

Feb 23 11:31:37 sbc1 /usr/sbin/opensips[7010]: CRITICAL:core:sig_usr: segfault 
in attendant (starter) process!
Feb 23 11:31:37 sbc1 kernel: [66677.326614] opensips[7010]: segfault at 968 ip 
7fdf8fd68bd0 sp 7ffe650ced00 error 4 in b2b_logic.so[7fdf8fd3d000+2d000]
Feb 23 11:31:37 sbc1 kernel: [66677.326627] Code: 41 89 84 24 e4 00 00 00 8b 44 
24 0c 41 89 44 24 04 8b 45 08 41 89 44 24 2c 8b 45 0c 41 89 44 24 30 48 85 d2 
74 2d 48 8b 04 24 <8b> 80 68 09 00 00 23 05 b4 0a 01 00 74 1b ff d2 f3 0f 6f 00 
41 0f
Feb 23 11:31:37 sbc1 opensips: INFO:core:daemonize: pre-daemon process exiting 
with -1
Feb 23 11:31:37 sbc1 systemd[1]: opensips.service: Control process exited, 
code=exited, status=255/EXCEPTION

Is this a bug? How can I check it further?

Cheers,
Bela

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


[OpenSIPS-Users] [CRASH] segfault in b2b_logic

2023-02-22 Thread Bela H
Hello,

I am playing with b2bua and OpenSIPS was working fine but suddenly stopped to 
respond.
Tried to restart it but crashes now all the time with b2b. (without that it 
starts OK).

I am using OpenSIPS:
version: opensips 3.2.10 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, 
F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
main.c compiled on  with gcc 10

on Debian 11.3

After restart I got the following error:

Feb 23 11:31:37 sbc1 /usr/sbin/opensips[7010]: CRITICAL:core:sig_usr: segfault 
in attendant (starter) process!
Feb 23 11:31:37 sbc1 kernel: [66677.326614] opensips[7010]: segfault at 968 ip 
7fdf8fd68bd0 sp 7ffe650ced00 error 4 in b2b_logic.so[7fdf8fd3d000+2d000]
Feb 23 11:31:37 sbc1 kernel: [66677.326627] Code: 41 89 84 24 e4 00 00 00 8b 44 
24 0c 41 89 44 24 04 8b 45 08 41 89 44 24 2c 8b 45 0c 41 89 44 24 30 48 85 d2 
74 2d 48 8b 04 24 <8b> 80 68 09 00 00 23 05 b4 0a 01 00 74 1b ff d2 f3 0f 6f 00 
41 0f
Feb 23 11:31:37 sbc1 opensips: INFO:core:daemonize: pre-daemon process exiting 
with -1
Feb 23 11:31:37 sbc1 systemd[1]: opensips.service: Control process exited, 
code=exited, status=255/EXCEPTION

Is this a bug? How can I check it further?

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


Re: [OpenSIPS-Users] Does OpenSIPS support Request-Disposition: no-fork in INVITE message?

2023-02-09 Thread Bela H
Hi Richard,

I really appreciate your help!
However, the initial problem is to avoid the forking for the scenario you 
mentioned (no matter if it is serial or parallel) if the INVITE is coming from 
the GW with Request-Disposition: no-fork. The issue is with the “to tag” 
parameter:
https://www.opensips.org/Documentation/Script-CoreVar-3-2#toc90
This is read only and also Bogdan does not recommend to play with this:
http://lists.opensips.org/pipermail/users/2022-October/046318.html
Here is my original question, I hope you have some idea for this.

> I have call forwarding busy/no answer scenario: A number is from a
> gateway, B and C numbers are our own subs.
>
> The gateway is sending us the INVITE message with
> “Request-Disposition: no-fork” header field.
>
> That means we must use one dialog for the mentioned scenario.
>
> Currently the To tag we are sending to the GW in the first 180
> ringing/181 Call is being forwarded messages are different to the
> To tag in the second 180 ringing and 200 OK (SDP).
>
> Gateway  OpenSips
>
>   INVITE
>
> -->
>
> 100 GIVING IT A TRY
>
> <-- -
>
>   180 RINGING
>
> <- ---
>
> 181 CALL IS BEING FORWARDED
>
> <- ---
>
>   180 RINGING
>
> <- ---
>
>   200 OK (SDP)
>
> <- ---
>
> What would be the easiest way from OpenSIPS to send the same To
> tag (it should be the same from the first 180 ringing through to
> the 200 OK) and using one dialog for this scenario?
>

Cheers,
Bela


From: Richard Revels via Users<mailto:users@lists.opensips.org>
Sent: Friday, 10 February 2023 08:35
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] Does OpenSIPS support Request-Disposition: 
no-fork in INVITE message?



 I'm not looking back to see the old conversation so forgive me if I'm 
answering the wrong question here.  So, I think you want to send the call to a 
customer, say at their desk.  If they don't answer then send the call to, for 
example, their cellphone.  In that case you would want serial forking rather 
than parallel forking.



(and im not testing this so may miss something here but in general)


route[0]
{
 $ru = 'sip:me@mydesk.local';
 $ru_q = 990;
 construct_uri("sip", "me", "mycellphone.org<http://mycellphone.org>", 
"5060", "transport=udp", $avp(newuri));
 append_branch();
 $ru = $avp(newuri);
 $ru_q = 980;
 serialize_branches();
 next_branches();
 t_on_failure( "find-me" );
 t_relay();
}

failure_route[find-me]
{
 if( !t_was_cancelled() )
 {
  next_branches();
  t_relay();
 }

}



append_branch 
https://www.opensips.org/Documentation/Script-CoreFunctions-3-2#toc3

$ru https://www.opensips.org/Documentation/Script-CoreVar-3-2#toc79

$ru_q https://www.opensips.org/Documentation/Script-CoreVar-3-2#toc81





On Mon, Feb 6, 2023 at 7:39 PM Bela H 
mailto:hob...@hotmail.com>> wrote:
Hi Bogdan-Andrei,

I know this is an old topic but customer is complaining.
How is it possible to configure the call forwarding no answer without forking?

Cheers,
Bela

From: Bogdan-Andrei Iancu<mailto:bog...@opensips.org>
Sent: Tuesday, 11 October 2022 01:50
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] Does OpenSIPS support Request-Disposition: 
no-fork in INVITE message?

Hi Bela,

As per prev email, there is nothing to be supported by OpenSIPS, just don;t do 
forking in your cfg, nothing more.

Regards,

Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

OpenSIPS Summit 27-30 Sept 2022, Athens

  https://www.opensips.org/events/Summit-2022Athens/
On 9/30/22 12:15 AM, Bela H wrote:
Hello,

Does OpenSIPS 3.2.6 version support Request-Disposition: no-fork in INVITE 
message?

Cheers,
Bela



___

Users mailing list

Users@lists.opensips.org<mailto:Users@lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

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


Re: [OpenSIPS-Users] Does OpenSIPS support Request-Disposition: no-fork in INVITE message?

2023-02-06 Thread Bela H
Hi Bogdan-Andrei,

I know this is an old topic but customer is complaining.
How is it possible to configure the call forwarding no answer without forking?

Cheers,
Bela

From: Bogdan-Andrei Iancu<mailto:bog...@opensips.org>
Sent: Tuesday, 11 October 2022 01:50
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] Does OpenSIPS support Request-Disposition: 
no-fork in INVITE message?

Hi Bela,

As per prev email, there is nothing to be supported by OpenSIPS, just don;t do 
forking in your cfg, nothing more.

Regards,


Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

OpenSIPS Summit 27-30 Sept 2022, Athens

  https://www.opensips.org/events/Summit-2022Athens/
On 9/30/22 12:15 AM, Bela H wrote:
Hello,

Does OpenSIPS 3.2.6 version support Request-Disposition: no-fork in INVITE 
message?

Cheers,
Bela




___

Users mailing list

Users@lists.opensips.org<mailto:Users@lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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


Re: [OpenSIPS-Users] UPDATE (SDP) modification

2022-11-17 Thread Bela H
I could do the rtpproxy offer on main route but the rtpproxy answer is not 
working on the onreply_route:
  if (has_body("application/sdp")) {
   rtpproxy_answer("rocf");
  }

On which route should I use this rtpproxy_answer for the 200 OK (SDP) reply to 
the UPDATE message?
200 OK (SDP) reply rtpproxy works fine for the INVITE (SDP).

Cheers,
Bela

From: Bela H<mailto:hob...@hotmail.com>
Sent: Friday, 18 November 2022 10:23
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>
Subject: RE: [OpenSIPS-Users] UPDATE (SDP) modification

How do I force the UPDATE to go through rtpproxy offer/answer?


From: M S<mailto:medea...@gmail.com>
Sent: Friday, 18 November 2022 10:22
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] UPDATE (SDP) modification

If UPDATE goes through rtpproxy offer/answer it gets modified automatically too.

On Thu, Nov 17, 2022 at 10:06 PM Bela H 
mailto:hob...@hotmail.com>> wrote:
Yes, that is clear and working fine with all the calls don’t have UPDATE 
message. But how can I call rtpproxy offer/answer for UPDATE meassage?


From: M S<mailto:medea...@gmail.com>
Sent: Thursday, 17 November 2022 23:29
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] UPDATE (SDP) modification

if you call rtpproxy offer and answer, SDP is automatically modified.

On Thu, Nov 17, 2022 at 7:08 AM Bela H 
mailto:hob...@hotmail.com>> wrote:
Hello,

Is there any way to modify the UPDATE (SDP) content, i.e.
c=IN IP4 aaa.xx.yyy.zzz

The callee is sending this message from the PSTN network and I need to use 
rtpproxy. Without the UPDATE(SDP) modification the call is one way speech/mute.

Cheers,
Bela
___
Users mailing list
Users@lists.opensips.org<mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

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


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


Re: [OpenSIPS-Users] UPDATE (SDP) modification

2022-11-17 Thread Bela H
How do I force the UPDATE to go through rtpproxy offer/answer?


From: M S<mailto:medea...@gmail.com>
Sent: Friday, 18 November 2022 10:22
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] UPDATE (SDP) modification

If UPDATE goes through rtpproxy offer/answer it gets modified automatically too.

On Thu, Nov 17, 2022 at 10:06 PM Bela H 
mailto:hob...@hotmail.com>> wrote:
Yes, that is clear and working fine with all the calls don’t have UPDATE 
message. But how can I call rtpproxy offer/answer for UPDATE meassage?


From: M S<mailto:medea...@gmail.com>
Sent: Thursday, 17 November 2022 23:29
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] UPDATE (SDP) modification

if you call rtpproxy offer and answer, SDP is automatically modified.

On Thu, Nov 17, 2022 at 7:08 AM Bela H 
mailto:hob...@hotmail.com>> wrote:
Hello,

Is there any way to modify the UPDATE (SDP) content, i.e.
c=IN IP4 aaa.xx.yyy.zzz

The callee is sending this message from the PSTN network and I need to use 
rtpproxy. Without the UPDATE(SDP) modification the call is one way speech/mute.

Cheers,
Bela
___
Users mailing list
Users@lists.opensips.org<mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

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

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


Re: [OpenSIPS-Users] UPDATE (SDP) modification

2022-11-17 Thread Bela H
Yes, that is clear and working fine with all the calls don’t have UPDATE 
message. But how can I call rtpproxy offer/answer for UPDATE meassage?


From: M S<mailto:medea...@gmail.com>
Sent: Thursday, 17 November 2022 23:29
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] UPDATE (SDP) modification

if you call rtpproxy offer and answer, SDP is automatically modified.

On Thu, Nov 17, 2022 at 7:08 AM Bela H 
mailto:hob...@hotmail.com>> wrote:
Hello,

Is there any way to modify the UPDATE (SDP) content, i.e.
c=IN IP4 aaa.xx.yyy.zzz

The callee is sending this message from the PSTN network and I need to use 
rtpproxy. Without the UPDATE(SDP) modification the call is one way speech/mute.

Cheers,
Bela
___
Users mailing list
Users@lists.opensips.org<mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

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


[OpenSIPS-Users] UPDATE (SDP) modification

2022-11-16 Thread Bela H
Hello,

Is there any way to modify the UPDATE (SDP) content, i.e.
c=IN IP4 aaa.xx.yyy.zzz

The callee is sending this message from the PSTN network and I need to use 
rtpproxy. Without the UPDATE(SDP) modification the call is one way speech/mute.

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


Re: [OpenSIPS-Users] - INVITE (SDP) includes Originators IP info

2022-10-19 Thread Bela H
I hope this helps:
https://opensips.org/docs/modules/3.2.x/sipmsgops.html#func_remove_hf


From: Nitesh Divecha<mailto:aviator.nites...@gmail.com>
Sent: Thursday, 20 October 2022 12:29
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] - INVITE (SDP) includes Originators IP info

Bela,

Much appreciated!

Changing topolgy_hiding("C"); fixed the Call-ID issue.

Call-ID shows clean Call-ID: DLGCH_W0xtTFgVXWleUV1fVgFvEiVSRVdabgccAltXbUFf

Now gotta figure out how to stop sending Originator User-Agent to outbound 
provider and how to configure rtpproxy behind NAT.

Cheers,
Nitesh



On Wed, Oct 19, 2022 at 5:35 PM Bela H 
mailto:hob...@hotmail.com>> wrote:

For the first problem check this:
C - Encode the callid header
Note: Changing the callid of the call using the "C" flag is only available when 
doing topology_hiding with dialog support. Using this flag without dialog 
support will not change the callid at all!.

From: Nitesh Divecha<mailto:aviator.nites...@gmail.com>
Sent: Thursday, 20 October 2022 10:09
To: Bogdan-Andrei Iancu<mailto:bog...@opensips.org>
Cc: OpenSIPS users mailling list<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] - INVITE (SDP) includes Originators IP info

Hello All,

So I had some success using topology_hiding and rtpproxy but found few problems.

After implementing topology_hiding(), SIP INVITE was much better but still 
showing following:

INVITE 
sip:aaabbbc...@outboundprovider.com:5060<http://sip:aaabbbc...@outboundprovider.com:5060>
 SIP/2.0
Call-ID: 4ed41738da10faa5@172.16.16.250<mailto:4ed41738da10faa5@172.16.16.250> 
<<<-- showing originators Device LAN IP —>>>
Content-Length: 329
CSeq: 8002 INVITE
From: 
mailto:sip%3azzz...@outboundprovider.com>>;tag=SP39b79130abfb7487f
Max-Forwards: 69
To: 
Via: SIP/2.0/UDP 3.xxx.xxx.49:5060;branch=z9hG4bK1dcb.5bb78035.0
User-Agent: OBIHAI/OBi302-3.2.2.6259 <<<-- showing originators User-Agent —>>>
Contact: 
Expires: 60
Supported: replaces
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,PRACK,REFER,UPDATE
Content-Type: application/sdp

===
1) How can I remove IP from Call-ID and rewrite Originators User-Agent to local 
OpenSIPS User-Agent?
===


Now issue with rtpproxy - I'm running this OpenSIPS on AWS cloud... AWS cloud 
does natting by default, so my Public IP is 3.xxx.xxx.49 and actual VM IP is 
172.31.29.47.

After implement rtpproxy (https://www.rtpproxy.org/), it is running on local IP:
└─183589 /usr/local/bin/rtpproxy -s udp:172.31.29.47 2 -u rtpproxy rtpproxy 
-p /var/run/rtpproxy/rtpproxy.pid -l 172.31.29.47 -m 1000 -M 2000 -d INFO 
LOG_LOCAL5
As it shows from SIP INVITE and due to that no audio or RTP because IP is not 
reachable...

v=0
o=- 16210664 1 IN IP4 172.31.29.47 <<<-- OpenSIPS NAT IP —>>>
s=-
c=IN IP4 172.31.29.47 <<<-- OpenSIPS NAT IP —>>>
t=0 0
m=audio 1958 RTP/AVP 0 8 18 104 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:104 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=ptime:20
a=xg726bitorder:big-endian
a=nortpproxy:yes

===
2. How can I configure rtpproxy with Public IP? Or do I start rtpproxy with 
Public IP 3.xxx.xxx.49 and reconfigure OpenSIPS with Public IP?
modparam("rtpproxy", "rtpproxy_sock", 
"udp:172.31.29.47:2<http://172.31.29.47:2>")

Thanking in advance...

Cheers,
Nitesh





On Wed, Oct 19, 2022 at 10:17 AM Nitesh Divecha 
mailto:aviator.nites...@gmail.com>> wrote:
Hello,

Thank y'all for the input... I will try to read the documentation and work on 
implementing these modules.

By any chance do either of you have any working examples which I can refer to? 
I'm a work in progress and every time I change something I break OpenSIPS and 
it takes me hours to troubleshoot! :-)

Thanking in advance...

Cheers,
Nitesh



On Wed, Oct 19, 2022 at 2:20 AM Bogdan-Andrei Iancu 
mailto:bog...@opensips.org>> wrote:
Hi there,

Actually you do not need the B2B, you can achieve the same kind of privacy (at 
SIP level) with dialog module and topology_hiding module together.

Regards,

Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

OpenSIPS Bootcamp 5-16 Dec 2022, online

  https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/
On 10/19/22 1:23 AM, Abdul Basit wrote:
Nitesh,

You need a B2BUA 
function<https://www.tutorialspoint.com/session_initiation_protocol/session_initiation_protocol_b2bua.htm>
 with the help of a topo-hiding module with opensips as Bela shared in his 
email.
Also, install the RTP proxy on the same opensips box (not necessary if you need 
separate signaling and media boxes).

Far end party will not be able to see the A-party information.

https://www.opensips.org/Documentation/Tutorials-B2BUA-3-2

I hope this will h

Re: [OpenSIPS-Users] - INVITE (SDP) includes Originators IP info

2022-10-19 Thread Bela H

For the first problem check this:
C - Encode the callid header
Note: Changing the callid of the call using the "C" flag is only available when 
doing topology_hiding with dialog support. Using this flag without dialog 
support will not change the callid at all!.

From: Nitesh Divecha<mailto:aviator.nites...@gmail.com>
Sent: Thursday, 20 October 2022 10:09
To: Bogdan-Andrei Iancu<mailto:bog...@opensips.org>
Cc: OpenSIPS users mailling list<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] - INVITE (SDP) includes Originators IP info

Hello All,

So I had some success using topology_hiding and rtpproxy but found few problems.

After implementing topology_hiding(), SIP INVITE was much better but still 
showing following:

INVITE 
sip:aaabbbc...@outboundprovider.com:5060<http://sip:aaabbbc...@outboundprovider.com:5060>
 SIP/2.0
Call-ID: 4ed41738da10faa5@172.16.16.250<mailto:4ed41738da10faa5@172.16.16.250> 
<<<-- showing originators Device LAN IP —>>>
Content-Length: 329
CSeq: 8002 INVITE
From: 
mailto:sip%3azzz...@outboundprovider.com>>;tag=SP39b79130abfb7487f
Max-Forwards: 69
To: 
Via: SIP/2.0/UDP 3.xxx.xxx.49:5060;branch=z9hG4bK1dcb.5bb78035.0
User-Agent: OBIHAI/OBi302-3.2.2.6259 <<<-- showing originators User-Agent —>>>
Contact: 
Expires: 60
Supported: replaces
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,PRACK,REFER,UPDATE
Content-Type: application/sdp

===
1) How can I remove IP from Call-ID and rewrite Originators User-Agent to local 
OpenSIPS User-Agent?
===


Now issue with rtpproxy - I'm running this OpenSIPS on AWS cloud... AWS cloud 
does natting by default, so my Public IP is 3.xxx.xxx.49 and actual VM IP is 
172.31.29.47.

After implement rtpproxy (https://www.rtpproxy.org/), it is running on local IP:
└─183589 /usr/local/bin/rtpproxy -s udp:172.31.29.47 2 -u rtpproxy rtpproxy 
-p /var/run/rtpproxy/rtpproxy.pid -l 172.31.29.47 -m 1000 -M 2000 -d INFO 
LOG_LOCAL5
As it shows from SIP INVITE and due to that no audio or RTP because IP is not 
reachable...

v=0
o=- 16210664 1 IN IP4 172.31.29.47 <<<-- OpenSIPS NAT IP —>>>
s=-
c=IN IP4 172.31.29.47 <<<-- OpenSIPS NAT IP —>>>
t=0 0
m=audio 1958 RTP/AVP 0 8 18 104 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:104 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=ptime:20
a=xg726bitorder:big-endian
a=nortpproxy:yes

===
2. How can I configure rtpproxy with Public IP? Or do I start rtpproxy with 
Public IP 3.xxx.xxx.49 and reconfigure OpenSIPS with Public IP?
modparam("rtpproxy", "rtpproxy_sock", 
"udp:172.31.29.47:2<http://172.31.29.47:2>")

Thanking in advance...

Cheers,
Nitesh





On Wed, Oct 19, 2022 at 10:17 AM Nitesh Divecha 
mailto:aviator.nites...@gmail.com>> wrote:
Hello,

Thank y'all for the input... I will try to read the documentation and work on 
implementing these modules.

By any chance do either of you have any working examples which I can refer to? 
I'm a work in progress and every time I change something I break OpenSIPS and 
it takes me hours to troubleshoot! :-)

Thanking in advance...

Cheers,
Nitesh



On Wed, Oct 19, 2022 at 2:20 AM Bogdan-Andrei Iancu 
mailto:bog...@opensips.org>> wrote:
Hi there,

Actually you do not need the B2B, you can achieve the same kind of privacy (at 
SIP level) with dialog module and topology_hiding module together.

Regards,


Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

OpenSIPS Bootcamp 5-16 Dec 2022, online

  https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/
On 10/19/22 1:23 AM, Abdul Basit wrote:
Nitesh,

You need a B2BUA 
function<https://www.tutorialspoint.com/session_initiation_protocol/session_initiation_protocol_b2bua.htm>
 with the help of a topo-hiding module with opensips as Bela shared in his 
email.
Also, install the RTP proxy on the same opensips box (not necessary if you need 
separate signaling and media boxes).

Far end party will not be able to see the A-party information.

https://www.opensips.org/Documentation/Tutorials-B2BUA-3-2

I hope this will help.

--
regards,

abdul basit

On Wed, 19 Oct 2022 at 03:14, Bela H 
mailto:hob...@hotmail.com>> wrote:
Hi Nitesh,


  1.  Check the topology hiding function: 
https://opensips.org/docs/modules/3.2.x/topology_hiding.html
  2.  Use e.g. rtpproxy:

https://opensips.org/docs/modules/3.2.x/rtpproxy.html#func_rtpproxy_offer

http://opensips.com.br/wiki/index.php?title=Oopensips_Nat_script_with_RTPPROXY_-_English

https://github.com/sippy/rtpproxy

I hope these help!

Cheers,
Bela

From: Nitesh Divecha<mailto:aviator.nites...@gmail.com>
Sent: Wednesday, 19 October 2022 04:26
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>
Subject: [OpenSIPS-Users] - INVITE (SDP) includes Originators 

Re: [OpenSIPS-Users] - INVITE (SDP) includes Originators IP info

2022-10-18 Thread Bela H
Hi Nitesh,


  1.  Check the topology hiding function: 
https://opensips.org/docs/modules/3.2.x/topology_hiding.html
  2.  Use e.g. rtpproxy:

https://opensips.org/docs/modules/3.2.x/rtpproxy.html#func_rtpproxy_offer

http://opensips.com.br/wiki/index.php?title=Oopensips_Nat_script_with_RTPPROXY_-_English

https://github.com/sippy/rtpproxy

I hope these help!

Cheers,
Bela

From: Nitesh Divecha
Sent: Wednesday, 19 October 2022 04:26
To: OpenSIPS users mailling list
Subject: [OpenSIPS-Users] - INVITE (SDP) includes Originators IP info

Hello All,

This is my first OpenSIPS project so I'm a newbie!

After going back and forth with "uac_replace_from()", I was successfully able 
to make a call from my ATA -> OpenSIPS -> Outbound Provider -> CellPhone. All 
worked fine with two-way audio except few issues:

1) Outbound Provider was able to see my ATA (Originator's IP/User-Agent/etc) in 
SIP INVITE (SDP) which kinda raised some eyebrows with Outbound provider. How 
can I block or strip all the Originator's contact info in SIP INVITE (SDP) and 
only send OpenSIPS info? Meaning I want to protect my Originators and don't 
want to show anything to the Outbound Provider. Outbound providers should only 
communicate to the OpenSIPS server.

2) When the call was up I failed to capture any media/RTP on the OpenSIPS 
server. I want to involve OpenSIPS in media/RTP between ATA and outbound 
providers. How can I force media/RTP to pass-thru OpenSIPS IP so I'm not 
exposing Originator's IP.

Any insights will be highly appreciated.

Cheers,
Nitesh

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


Re: [OpenSIPS-Users] Request-Disposition: no-fork

2022-10-10 Thread Bela H
Or is the dialoginfo_set_branch_callee(callee) function the key here?



From: Bela H<mailto:hob...@hotmail.com>
Sent: Tuesday, 11 October 2022 08:09
To: Bogdan-Andrei Iancu<mailto:bog...@opensips.org>; OpenSIPS users mailling 
list<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] Request-Disposition: no-fork

Thanks Bogdan!

However, I am talking about serial forking, call forwarding busy/no answer 
scenario.
Is there a way to avoid that in the cfg without messing up with the to tags?

How do I achieve “proxy to only a single address ("no-fork")”?
According to fork-directive in 
https://www.rfc-editor.org/rfc/rfc3841#section-9.1.

Cheers,
Bela

From: Bogdan-Andrei Iancu<mailto:bog...@opensips.org>
Sent: Tuesday, 11 October 2022 01:49
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] Request-Disposition: no-fork

Hi Bela,

What you are trying to do (messing with the TO-tags) is a bad idea, as you will 
be breaking the upstream parallel forking.

If the GW does not support forking, what you can do is to avoid doing parallel 
forking in your cfg (like when routing to users via lookup). You do not need 
any special support.

Best regards,

Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

OpenSIPS Summit 27-30 Sept 2022, Athens

  https://www.opensips.org/events/Summit-2022Athens/
On 9/29/22 7:10 AM, Bela H wrote:
Hello,

I have call forwarding busy/no answer scenario: A number is from a gateway, B 
and C numbers are our own subs.
The gateway is sending us the INVITE message with “Request-Disposition: 
no-fork” header field.
That means we must use one dialog for the mentioned scenario.
Currently the To tag we are sending to the GW in the first 180 ringing/181 Call 
is being forwarded messages are different to the To tag in the second 180 
ringing and 200 OK (SDP).

Gateway  OpenSips
  INVITE
-->

100 GIVING IT A TRY
<-- -

  180 RINGING
<- ---

181 CALL IS BEING FORWARDED
<- ---

  180 RINGING
<- ---

  200 OK (SDP)
<- ---

What would be the easiest way from OpenSIPS to send the same To tag (it should 
be the same from the first 180 ringing through to the 200 OK) and using one 
dialog for this scenario?

Cheers,
Bela



___

Users mailing list

Users@lists.opensips.org<mailto:Users@lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users



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


Re: [OpenSIPS-Users] Request-Disposition: no-fork

2022-10-10 Thread Bela H
Thanks Bogdan!

However, I am talking about serial forking, call forwarding busy/no answer 
scenario.
Is there a way to avoid that in the cfg without messing up with the to tags?

How do I achieve “proxy to only a single address ("no-fork")”?
According to fork-directive in 
https://www.rfc-editor.org/rfc/rfc3841#section-9.1.

Cheers,
Bela

From: Bogdan-Andrei Iancu<mailto:bog...@opensips.org>
Sent: Tuesday, 11 October 2022 01:49
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] Request-Disposition: no-fork

Hi Bela,

What you are trying to do (messing with the TO-tags) is a bad idea, as you will 
be breaking the upstream parallel forking.

If the GW does not support forking, what you can do is to avoid doing parallel 
forking in your cfg (like when routing to users via lookup). You do not need 
any special support.

Best regards,


Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

OpenSIPS Summit 27-30 Sept 2022, Athens

  https://www.opensips.org/events/Summit-2022Athens/
On 9/29/22 7:10 AM, Bela H wrote:
Hello,

I have call forwarding busy/no answer scenario: A number is from a gateway, B 
and C numbers are our own subs.
The gateway is sending us the INVITE message with “Request-Disposition: 
no-fork” header field.
That means we must use one dialog for the mentioned scenario.
Currently the To tag we are sending to the GW in the first 180 ringing/181 Call 
is being forwarded messages are different to the To tag in the second 180 
ringing and 200 OK (SDP).

Gateway  OpenSips
  INVITE
-->

100 GIVING IT A TRY
<-- -

  180 RINGING
<- ---

181 CALL IS BEING FORWARDED
<- ---

  180 RINGING
<- ---

  200 OK (SDP)
<- ---

What would be the easiest way from OpenSIPS to send the same To tag (it should 
be the same from the first 180 ringing through to the 200 OK) and using one 
dialog for this scenario?

Cheers,
Bela




___

Users mailing list

Users@lists.opensips.org<mailto:Users@lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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


[OpenSIPS-Users] Does OpenSIPS support Request-Disposition: no-fork in INVITE message?

2022-09-29 Thread Bela H
Hello,

Does OpenSIPS 3.2.6 version support Request-Disposition: no-fork in INVITE 
message?

Cheers,
Bela

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


[OpenSIPS-Users] Request-Disposition: no-fork

2022-09-28 Thread Bela H
Hello,

I have call forwarding busy/no answer scenario: A number is from a gateway, B 
and C numbers are our own subs.
The gateway is sending us the INVITE message with “Request-Disposition: 
no-fork” header field.
That means we must use one dialog for the mentioned scenario.
Currently the To tag we are sending to the GW in the first 180 ringing/181 Call 
is being forwarded messages are different to the To tag in the second 180 
ringing and 200 OK (SDP).

Gateway  OpenSips
  INVITE
-->

100 GIVING IT A TRY
<-- -

  180 RINGING
<- ---

181 CALL IS BEING FORWARDED
<- ---

  180 RINGING
<- ---

  200 OK (SDP)
<- ---

What would be the easiest way from OpenSIPS to send the same To tag (it should 
be the same from the first 180 ringing through to the 200 OK) and using one 
dialog for this scenario?

Cheers,
Bela

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


Re: [OpenSIPS-Users] Cannot get registration to work with v3.2.8??

2022-09-08 Thread Bela H
Bob,


OpenSIPS calculates: HA1 field in DB is an MD5 hash of 
"username:domain:password"
At least works for me 

From: Bob Atkins
Sent: Thursday, 8 September 2022 19:32
To: Bogdan-Andrei Iancu; OpenSIPS users mailling 
list
Subject: Re: [OpenSIPS-Users] Cannot get registration to work with v3.2.8??

Iancu,

I'm not sure what the point of this would be. Even if it showed that OpenSIPS 
was calculating incorrectly - then what?

The device registers just fine with both asterisk and OpenSER v1.1 with exactly 
the same parameters.

The device is calculating the response correctly for 2 other systems.

 OpenSIPS is clearly getting it wrong. The question is why? Or even how. This 
is a pretty basic calculation.

---
Bob


On 9/7/2022 11:16 PM, Bogdan-Andrei Iancu wrote:
Hi Bob,


Use the below to double check which party is failing in computing the right 
auth response.

https://openplatform.xyz/sip_register_digest_authentication.html


Regards,


Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

OpenSIPS Summit 27-30 Sept 2022, Athens

  https://www.opensips.org/events/Summit-2022Athens/
On 9/7/22 10:46 PM, Bob Atkins wrote:
Iancu,

Thank you!! You identified the problem. Turns out that I had failed to add the 
IP for the OpenSIPS proxy to a firewall that was blocking the response from 
this new sip server (facepalm) to the device :-(

So, once I fixed the firewall I thought that would be it...  Not my luck.

Now it is challenging and rejecting! The HA1 is failing to compare! But the 
passwords are correct!  Now I am really mystified.

I created identical DB entries for this unit in both the original OpenSER 
system and the OpenSIPS system.

Registration to the OpenSER system works perfectly - HA1 validates. When I 
change the sip server to the new system, to OpenSIPS system fails due to 
mismatched HA1. Whaaa ?!?!

Mismatched HA1 would imply a password failure but I have absolutely, positively 
verified the passwords in both database entries and the only thing I change on 
the device is the sip server. It should just register on the new system. I have 
attached packet capture of the transaction between the device and teh OpenSIPSs 
system.

I have absolutely, positively copied and pasted (no trailing nl or spaces) and 
verified that the passwords are the same in both databases and also the same on 
the device.
OpenSER DB subscriber entery
phplib_id
username
domain
password
first_name
last_name
phone
email_address
datetime_created
datetime_modified
confirmation
flag
sendnotification
greeting
ha1
ha1b
allow_find
timezone
rpid
domn
uuid
customerID
customerName
3105738133
3105738133
digilink.net

PPC Home
Fax
3105738133
7/5/2012 16:36
11/7/2021 13:58
o
0
\N
\N
\N
\N
72
DigiLink Internet Services
OpenSIPS DB subscriber entry
id
username
domain
password
cr_preferred_carrier
first_name
last_name
phone
email_address
datetime_created
datetime_modified
confirmation
flag
sendnotification
greeting
allow_find
timezone
customerID
customerName
ha1
ha1_sha256
ha1_sha512t256
rpid
1
3105738133
digidial

\N
PPC Home
Fax
3105738133
b...@planeparts.com
7/5/2012 16:36
11/7/2021 13:58
0
72
DigiLink Internet Services
\N


Registration code:

OpenSER system:

modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db", "password_column", "password")

if (method=="REGISTER") {
#xlog("L_INFO","[$rm][$ft][$tt] Processing 
registration");

if (!www_authorize("digilink.net", "subscriber")) {
#xlog("L_INFO","[$rm][$ft][$tt] Challenging 
peer");
www_challenge("digilink.net", "0");
exit;
};

xlog("L_INFO","[$rm][$ft][$tt] Registered $fu from $si");
save("location");
exit;
};

==
OpenSIPS system

 AUTH Db module
loadmodule "auth.so"
loadmodule "auth_db.so"
modparam("auth_db", "calculate_ha1", 1)
modparam("auth_db", "use_domain", 1)
modparam("auth_db", "user_column", "username")
modparam("auth_db", "password_column", "password")
modparam("auth_db", "load_credentials", "")


if (is_method("REGISTER")) {
xlog("L_INFO", "REGISTER: [$tu] request from [$si]");
xlog("L_INFO","[$ft][$au]@[$ad] - Processing registration");
xlog("L_INFO", "REGISTER: www_authorize returned [$var(x)] to 
authenticate with [$rU]$ru credential");

if (!www_authorize("digilink.net", "subscriber")) {
xlog("L_INFO","CHALLENGE: [$ft][$tt]");
www_challenge("digilink.net","auth","MD5");
exit;
} else {
xlog("L_ALERT", "REGISTER: URI [$tu][$rU]$ru credential from 
[$si] - FAILED!");
sl_send_reply(403, "Not 

[OpenSIPS-Users] OpenSIPS CP 9.3.2 password mode ha1_sha256 for adding new user

2022-06-29 Thread Bela H
Hi all,

Is there any way to add new subscriber from OpenSIPS CP 9.3.2 using password 
mode ha1_sha256?
The ha1 (MD5(username:realm:password)) works fine but I had no luck with the 
value generation for the ha1_sha256 field in “subscriber” table.

I have this setting:
modparam("auth_db", "calculate_ha1", 0)
modparam("auth_db", "password_column", "ha1_sha256")

Thanks!
Bela



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


Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-08 Thread Bela H
Hi Daniel,

I went other direction as well with the troubleshooting: asked my colleague to 
check the behavior of CP from the office environment since I work from home. 
This is really odd but works fine from there with the same browser!
That means nothing wrong with the CP 9.3.2.
Thanks for your help on this and really sorry to waste your time!

Please let me know if you have further update on the CDR exporting function.

Cheers,
Bela

From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Thursday, 9 June 2022 12:55
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2


It is unexpected that only some tools have the gear button. Could you also 
quickly check that the files (these are two other files that are involved in 
displaying the button):

opensips-cp/config/tools/system/cdrviewer/settings.inc.php

opensips-cp/config/modules.inc.php

look like the files here:

https://github.com/OpenSIPS/opensips-cp/blob/master/config/tools/system/cdrviewer/settings.inc.php

https://github.com/OpenSIPS/opensips-cp/blob/master/config/modules.inc.php

I don't see any reason why they wouldn't match, but it's worth double checking 
before debugging.

Let me know  and I will get back to you with the next steps if this is not the 
problem.

Cheers,
Daniel Airinei

https://www.opensips-solutions.com/<http://www.opensips-solutions.com/>


On 6/9/2022 3:20 AM, Bela H wrote:
Hi Daniel,

Thanks for your quick feedback!
The local.inc.php related explanation is clear now.

I am using Firefox browser.

I can confirm the opensips-cp/web/tools/system/cdrviewer/template/menu.php has 
the following:


As I mentioned in my original mail, the /Users/Alias Management menu has the 
gear icon.  Compared that menu.php file with the cdrviewer menu.php and are 
identical apart from the obvious "System / CDR Viewer / " part.

I have only one user defined for CP, admin that is with “admin” access to 
everything. However, if I change the access to “read-only” for Alias Management 
I still see the gear icon and even able to modify e.g. the result per page 
value from the gear icon setting.

Can you please advise how to get any error log for this issue! Syslog does not 
show anything.

Cheers,
Bela

From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Thursday, 9 June 2022 11:40
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2


Hi Bela,

Thanks for reaching out. CP 9.3.2 does not use local.inc.php files anymore, you 
should use the settings interface for additional CDR fields (the one accessed 
through the gear button we are talking about). Could you access any tool in the 
CP and then send me the error log? What browser are you using? Could you check, 
for example, the file

opensips-cp/web/tools/system/cdrviewer/template/menu.php

and make sure that line 28 is "display_settings_button()"? (which is the 
function that displays the gear button).

Regarding exporting, I have indeed found some issues and they will be fixed as 
soon as possible.

Additionally, you have mentioned in an earlier mail that you see extra fields 
from local.inc.php in the details tab, but not in the CDR viewer panel. That is 
probably because those fields were still in your database, and the details tab 
fetches all fields directly, whereas in the CDR viewer panel, you will see only 
the fields you have configured through the gear button settings interface (so 
no extra fields in your case). But local.inc.php files for tools are not used 
in CP 9.3.2, all their content is now managed through the settings interface.

Don't hesitate to follow up,

Kind regards,

Daniel Airinei
http://www.opensips-solutions.com/
On 6/9/2022 2:00 AM, Bela H wrote:
Hi Daniel,

I have installed the CP 9.3.2 and it still looks the same: no gear icon.
I can confirm the opensips-cp/config/globals.php file indentical to the GitHub 
one:

$config->permissions = array("read-only","read-write","admin");

// Password can be saved in plain text mode by setting
// $config->admin_passwd_mode to 0 or chyphered mode, by setting it to 1
$config->admin_passwd_mode=1;

One more question: is the /cdrviewer/local.inc.php config used at all? In the 
CP 8.3.2 I modified that one for additional CDR fields but CP 9.3.2 uses the 
settings.inc.php file.

And also I found an additional problem: CDR exporting does not work, the 
exported file is empty.

Thanks for your help!
Cheers,
Bela


From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Wednesday, 8 June 2022 01:30
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Răzvan 
Crainea<mailto:raz...@opensips.org>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hell

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-08 Thread Bela H
Hi Daniel,

Thanks for your quick feedback!
The local.inc.php related explanation is clear now.

I am using Firefox browser.

I can confirm the opensips-cp/web/tools/system/cdrviewer/template/menu.php has 
the following:


As I mentioned in my original mail, the /Users/Alias Management menu has the 
gear icon.  Compared that menu.php file with the cdrviewer menu.php and are 
identical apart from the obvious "System / CDR Viewer / " part.

I have only one user defined for CP, admin that is with “admin” access to 
everything. However, if I change the access to “read-only” for Alias Management 
I still see the gear icon and even able to modify e.g. the result per page 
value from the gear icon setting.

Can you please advise how to get any error log for this issue! Syslog does not 
show anything.

Cheers,
Bela

From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Thursday, 9 June 2022 11:40
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2


Hi Bela,

Thanks for reaching out. CP 9.3.2 does not use local.inc.php files anymore, you 
should use the settings interface for additional CDR fields (the one accessed 
through the gear button we are talking about). Could you access any tool in the 
CP and then send me the error log? What browser are you using? Could you check, 
for example, the file

opensips-cp/web/tools/system/cdrviewer/template/menu.php

and make sure that line 28 is "display_settings_button()"? (which is the 
function that displays the gear button).

Regarding exporting, I have indeed found some issues and they will be fixed as 
soon as possible.

Additionally, you have mentioned in an earlier mail that you see extra fields 
from local.inc.php in the details tab, but not in the CDR viewer panel. That is 
probably because those fields were still in your database, and the details tab 
fetches all fields directly, whereas in the CDR viewer panel, you will see only 
the fields you have configured through the gear button settings interface (so 
no extra fields in your case). But local.inc.php files for tools are not used 
in CP 9.3.2, all their content is now managed through the settings interface.

Don't hesitate to follow up,

Kind regards,

Daniel Airinei
http://www.opensips-solutions.com/
On 6/9/2022 2:00 AM, Bela H wrote:
Hi Daniel,

I have installed the CP 9.3.2 and it still looks the same: no gear icon.
I can confirm the opensips-cp/config/globals.php file indentical to the GitHub 
one:

$config->permissions = array("read-only","read-write","admin");

// Password can be saved in plain text mode by setting
// $config->admin_passwd_mode to 0 or chyphered mode, by setting it to 1
$config->admin_passwd_mode=1;

One more question: is the /cdrviewer/local.inc.php config used at all? In the 
CP 8.3.2 I modified that one for additional CDR fields but CP 9.3.2 uses the 
settings.inc.php file.

And also I found an additional problem: CDR exporting does not work, the 
exported file is empty.

Thanks for your help!
Cheers,
Bela


From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Wednesday, 8 June 2022 01:30
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Răzvan 
Crainea<mailto:raz...@opensips.org>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hello Bela,

If you are interested in upgrading to 9.3.2, I'd be happy to assist you
with any issues you might encounter (I reworked most of the new settings
feature). Regarding your gear button problem, you could first check the
permissions in the opensips-cp/config/globals.php file, and make sure
they look like the ones here:
https://github.com/OpenSIPS/opensips-cp/blob/master/config/globals.php

If they look the same, or if you have any additional problems, please
let me know and I will help you out.

Regards,

Daniel Airinei
http://www.opensips-solutions.com

On 6/7/2022 1:32 PM, Răzvan Crainea wrote:
> Well, this depends on the way you had set up your call forwarding
> feature in OpenSIPS. But since most likely this is a custom handling,
> in a custom table, you will have better experience if you are using
> the tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading
> :).
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 6/7/22 11:44, Bela H wrote:
>> Hi Răzvan,
>>
>> Unfortunately there was no luck, I rolled it back.
>>
>> However, I am not sure if this latest 9.3.2 version has the feature I
>> was hoping for.
>>
>> Is there an “easy” way to configure this new CP GUI for call
>> forwarding management? Currently I set up/modify directly in the DB.
>>
>> Cheers,
>>
>> Bela
>>
>> *From: *Răzvan Crainea <

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-08 Thread Bela H
Hi Daniel,

I have installed the CP 9.3.2 and it still looks the same: no gear icon.
I can confirm the opensips-cp/config/globals.php file indentical to the GitHub 
one:

$config->permissions = array("read-only","read-write","admin");

// Password can be saved in plain text mode by setting
// $config->admin_passwd_mode to 0 or chyphered mode, by setting it to 1
$config->admin_passwd_mode=1;

One more question: is the /cdrviewer/local.inc.php config used at all? In the 
CP 8.3.2 I modified that one for additional CDR fields but CP 9.3.2 uses the 
settings.inc.php file.

And also I found an additional problem: CDR exporting does not work, the 
exported file is empty.

Thanks for your help!
Cheers,
Bela


From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Wednesday, 8 June 2022 01:30
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Răzvan 
Crainea<mailto:raz...@opensips.org>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hello Bela,

If you are interested in upgrading to 9.3.2, I'd be happy to assist you
with any issues you might encounter (I reworked most of the new settings
feature). Regarding your gear button problem, you could first check the
permissions in the opensips-cp/config/globals.php file, and make sure
they look like the ones here:
https://github.com/OpenSIPS/opensips-cp/blob/master/config/globals.php

If they look the same, or if you have any additional problems, please
let me know and I will help you out.

Regards,

Daniel Airinei
http://www.opensips-solutions.com

On 6/7/2022 1:32 PM, Răzvan Crainea wrote:
> Well, this depends on the way you had set up your call forwarding
> feature in OpenSIPS. But since most likely this is a custom handling,
> in a custom table, you will have better experience if you are using
> the tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading
> :).
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 6/7/22 11:44, Bela H wrote:
>> Hi Răzvan,
>>
>> Unfortunately there was no luck, I rolled it back.
>>
>> However, I am not sure if this latest 9.3.2 version has the feature I
>> was hoping for.
>>
>> Is there an “easy” way to configure this new CP GUI for call
>> forwarding management? Currently I set up/modify directly in the DB.
>>
>> Cheers,
>>
>> Bela
>>
>> *From: *Răzvan Crainea <mailto:raz...@opensips.org>
>> *Sent: *Tuesday, 7 June 2022 20:36
>> *To: *users@lists.opensips.org <mailto:users@lists.opensips.org>
>> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>>
>> Hi, Bela!
>>
>> Did you manage to sort this out? If not, perhaps Daniel, the guy who
>> reworked the settings feature might be able to help you out.
>>
>> Best regards,
>>
>> Răzvan Crainea
>> OpenSIPS Core Developer
>> http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>>
>> On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:
>>  > Hi Bela,
>>  >
>>  > OK, be sure the user you are using to log into CP has the "admin"
>>  > permission on the cdrviewer tool . Check this via the Admin tools
>> -> Access.
>>  >
>>  > Regards,
>>  >
>>  > Bogdan-Andrei Iancu
>>  >
>>  > OpenSIPS Founder and Developer
>>  > https://www.opensips-solutions.com
>> <https://www.opensips-solutions.com>
>>  > OpenSIPS eBootcamp 23rd May - 3rd June 2022
>>  > https://opensips.org/training/OpenSIPS_eBootcamp_2022/
>> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>
>>  >
>>  > On 5/18/22 12:25 AM, Bela H wrote:
>>  >>
>>  >> Hi Bogdan,
>>  >>
>>  >> I have re-installed the CP 9.3.2 but the results are same. Still
>>  >> missing CDR fields in the CDR Viewer and no gear icon anywhere only
>>  >> Users/Alias Management and System/Monit.
>>  >>
>>  >> However, in the CDR details I can see the additional fields:
>>  >>
>>  >> What did I wrong?
>>  >>
>>  >> Cheers,
>>  >>
>>  >> Bela
>>  >>
>>  >> *From: *Bogdan-Andrei Iancu <mailto:bog...@opensips.org
>> <mailto:bog...@opensips.org>>
>>  >> *Sent: *Wednesday, 18 May 2022 03:01
>>  >> *To: *OpenSIPS users mailling list
>> <mailto:Users@lists.opensips.org <mailto:Users@lists.opensips.org>>;
>>  >> Bela H <mailto:hob...@hotmail.com <mailto:hob...@hotmail.com>>
>>  >> *Subject: *Re: [OpenSIPS-User

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-07 Thread Bela H
Thanks Daniel!

I’ll upgrade again hopefully this Friday and will get back to you with the 
findings.

Cheers,
Bela

From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Wednesday, 8 June 2022 01:30
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Răzvan 
Crainea<mailto:raz...@opensips.org>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hello Bela,

If you are interested in upgrading to 9.3.2, I'd be happy to assist you
with any issues you might encounter (I reworked most of the new settings
feature). Regarding your gear button problem, you could first check the
permissions in the opensips-cp/config/globals.php file, and make sure
they look like the ones here:
https://github.com/OpenSIPS/opensips-cp/blob/master/config/globals.php

If they look the same, or if you have any additional problems, please
let me know and I will help you out.

Regards,

Daniel Airinei
http://www.opensips-solutions.com

On 6/7/2022 1:32 PM, Răzvan Crainea wrote:
> Well, this depends on the way you had set up your call forwarding
> feature in OpenSIPS. But since most likely this is a custom handling,
> in a custom table, you will have better experience if you are using
> the tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading
> :).
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 6/7/22 11:44, Bela H wrote:
>> Hi Răzvan,
>>
>> Unfortunately there was no luck, I rolled it back.
>>
>> However, I am not sure if this latest 9.3.2 version has the feature I
>> was hoping for.
>>
>> Is there an “easy” way to configure this new CP GUI for call
>> forwarding management? Currently I set up/modify directly in the DB.
>>
>> Cheers,
>>
>> Bela
>>
>> *From: *Răzvan Crainea <mailto:raz...@opensips.org>
>> *Sent: *Tuesday, 7 June 2022 20:36
>> *To: *users@lists.opensips.org <mailto:users@lists.opensips.org>
>> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>>
>> Hi, Bela!
>>
>> Did you manage to sort this out? If not, perhaps Daniel, the guy who
>> reworked the settings feature might be able to help you out.
>>
>> Best regards,
>>
>> Răzvan Crainea
>> OpenSIPS Core Developer
>> http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>>
>> On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:
>>  > Hi Bela,
>>  >
>>  > OK, be sure the user you are using to log into CP has the "admin"
>>  > permission on the cdrviewer tool . Check this via the Admin tools
>> -> Access.
>>  >
>>  > Regards,
>>  >
>>  > Bogdan-Andrei Iancu
>>  >
>>  > OpenSIPS Founder and Developer
>>  > https://www.opensips-solutions.com
>> <https://www.opensips-solutions.com>
>>  > OpenSIPS eBootcamp 23rd May - 3rd June 2022
>>  > https://opensips.org/training/OpenSIPS_eBootcamp_2022/
>> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>
>>  >
>>  > On 5/18/22 12:25 AM, Bela H wrote:
>>  >>
>>  >> Hi Bogdan,
>>  >>
>>  >> I have re-installed the CP 9.3.2 but the results are same. Still
>>  >> missing CDR fields in the CDR Viewer and no gear icon anywhere only
>>  >> Users/Alias Management and System/Monit.
>>  >>
>>  >> However, in the CDR details I can see the additional fields:
>>  >>
>>  >> What did I wrong?
>>  >>
>>  >> Cheers,
>>  >>
>>  >> Bela
>>  >>
>>  >> *From: *Bogdan-Andrei Iancu <mailto:bog...@opensips.org
>> <mailto:bog...@opensips.org>>
>>  >> *Sent: *Wednesday, 18 May 2022 03:01
>>  >> *To: *OpenSIPS users mailling list
>> <mailto:Users@lists.opensips.org <mailto:Users@lists.opensips.org>>;
>>  >> Bela H <mailto:hob...@hotmail.com <mailto:hob...@hotmail.com>>
>>  >> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>>  >>
>>  >> Hi Bela,
>>  >>
>>  >> Does you CDRviewer look like this ?
>>  >>
>>  >>
>>  >>
>>  >> See the gear box in the right upper corner.
>>  >>
>>  >> And be sure that the 9.3.2 version is indeed displayed in the left
>>  >> upper corner.
>>  >>
>>  >> Regards,
>>  >>
>>  >> Bogdan-Andrei Iancu
>>  >> OpenSIPS Founder and Developer
>>  >> https://www.opensips-solutions.com
>> &l

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-07 Thread Bela H
Thanks Răzvan!

I am using the usr_preferences preferences table for call forwarding setup, 
like this:
+++--++---+--+-+-+
| id | uuid   | username | domain | attribute | type | value   | 
last_modified   |
+++--++---+--+-+-+
| 23 | B_num ||| fwdnoansw|0| C_num 
   | 2022-04-11 16:46:40 |


Cheers,
Bela

From: Răzvan Crainea<mailto:raz...@opensips.org>
Sent: Tuesday, 7 June 2022 22:36
To: users@lists.opensips.org<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Well, this depends on the way you had set up your call forwarding
feature in OpenSIPS. But since most likely this is a custom handling, in
a custom table, you will have better experience if you are using the
tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading :).

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 6/7/22 11:44, Bela H wrote:
> Hi Răzvan,
>
> Unfortunately there was no luck, I rolled it back.
>
> However, I am not sure if this latest 9.3.2 version has the feature I
> was hoping for.
>
> Is there an “easy” way to configure this new CP GUI for call forwarding
> management? Currently I set up/modify directly in the DB.
>
> Cheers,
>
> Bela
>
> *From: *Răzvan Crainea <mailto:raz...@opensips.org>
> *Sent: *Tuesday, 7 June 2022 20:36
> *To: *users@lists.opensips.org <mailto:users@lists.opensips.org>
> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>
> Hi, Bela!
>
> Did you manage to sort this out? If not, perhaps Daniel, the guy who
> reworked the settings feature might be able to help you out.
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>
> On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:
>  > Hi Bela,
>  >
>  > OK, be sure the user you are using to log into CP has the "admin"
>  > permission on the cdrviewer tool . Check this via the Admin tools ->
> Access.
>  >
>  > Regards,
>  >
>  > Bogdan-Andrei Iancu
>  >
>  > OpenSIPS Founder and Developer
>  > https://www.opensips-solutions.com <https://www.opensips-solutions.com>
>  > OpenSIPS eBootcamp 23rd May - 3rd June 2022
>  > https://opensips.org/training/OpenSIPS_eBootcamp_2022/
> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>
>  >
>  > On 5/18/22 12:25 AM, Bela H wrote:
>  >>
>  >> Hi Bogdan,
>  >>
>  >> I have re-installed the CP 9.3.2 but the results are same. Still
>  >> missing CDR fields in the CDR Viewer and no gear icon anywhere only
>  >> Users/Alias Management and System/Monit.
>  >>
>  >> However, in the CDR details I can see the additional fields:
>  >>
>  >> What did I wrong?
>  >>
>  >> Cheers,
>  >>
>  >> Bela
>  >>
>  >> *From: *Bogdan-Andrei Iancu <mailto:bog...@opensips.org
> <mailto:bog...@opensips.org>>
>  >> *Sent: *Wednesday, 18 May 2022 03:01
>  >> *To: *OpenSIPS users mailling list <mailto:Users@lists.opensips.org
> <mailto:Users@lists.opensips.org>>;
>  >> Bela H <mailto:hob...@hotmail.com <mailto:hob...@hotmail.com>>
>  >> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>  >>
>  >> Hi Bela,
>  >>
>  >> Does you CDRviewer look like this ?
>  >>
>  >>
>  >>
>  >> See the gear box in the right upper corner.
>  >>
>  >> And be sure that the 9.3.2 version is indeed displayed in the left
>  >> upper corner.
>  >>
>  >> Regards,
>  >>
>  >> Bogdan-Andrei Iancu
>  >> OpenSIPS Founder and Developer
>  >> https://www.opensips-solutions.com
> <https://www.opensips-solutions.com>
> <https://www.opensips-solutions.com <https://www.opensips-solutions.com>>
>  >> OpenSIPS eBootcamp 23rd May - 3rd June 2022
>  >> https://opensips.org/training/OpenSIPS_eBootcamp_2022/
> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>
> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/
> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>>
>  >>
>  >> On 5/17/22 10:55 AM, Bela H wrote:
>  >>
>  >> Hello,
>  >>
>  >> What is the best method to upgrade the control panel from 8.3.2 to
>  >> 9

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-07 Thread Bela H
Hi Răzvan,

Unfortunately there was no luck, I rolled it back.
However, I am not sure if this latest 9.3.2 version has the feature I was 
hoping for.
Is there an “easy” way to configure this new CP GUI for call forwarding 
management? Currently I set up/modify directly in the DB.

Cheers,
Bela


From: Răzvan Crainea<mailto:raz...@opensips.org>
Sent: Tuesday, 7 June 2022 20:36
To: users@lists.opensips.org<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hi, Bela!

Did you manage to sort this out? If not, perhaps Daniel, the guy who
reworked the settings feature might be able to help you out.

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:
> Hi Bela,
>
> OK, be sure the user you are using to log into CP has the "admin"
> permission on the cdrviewer tool . Check this via the Admin tools -> Access.
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>https://www.opensips-solutions.com
> OpenSIPS eBootcamp 23rd May - 3rd June 2022
>https://opensips.org/training/OpenSIPS_eBootcamp_2022/
>
> On 5/18/22 12:25 AM, Bela H wrote:
>>
>> Hi Bogdan,
>>
>> I have re-installed the CP 9.3.2 but the results are same. Still
>> missing CDR fields in the CDR Viewer and no gear icon anywhere only
>> Users/Alias Management and System/Monit.
>>
>> However, in the CDR details I can see the additional fields:
>>
>> What did I wrong?
>>
>> Cheers,
>>
>> Bela
>>
>> *From: *Bogdan-Andrei Iancu <mailto:bog...@opensips.org>
>> *Sent: *Wednesday, 18 May 2022 03:01
>> *To: *OpenSIPS users mailling list <mailto:Users@lists.opensips.org>;
>> Bela H <mailto:hob...@hotmail.com>
>> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>>
>> Hi Bela,
>>
>> Does you CDRviewer look like this ?
>>
>>
>>
>> See the gear box in the right upper corner.
>>
>> And be sure that the 9.3.2 version is indeed displayed in the left
>> upper corner.
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>>https://www.opensips-solutions.com  <https://www.opensips-solutions.com>
>> OpenSIPS eBootcamp 23rd May - 3rd June 2022
>>https://opensips.org/training/OpenSIPS_eBootcamp_2022/  
>> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>
>>
>> On 5/17/22 10:55 AM, Bela H wrote:
>>
>> Hello,
>>
>> What is the best method to upgrade the control panel from 8.3.2 to
>> 9.3.2?
>>
>> I had some extra fields e.g. in CDR viewer and disappeared after
>> 9.3.2. It is in the file
>> /var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php
>> but not visible in the CDR viewer panel only in the detailed view
>> for each call.
>>
>> Also I don’t see this gear icon Bogdan mentioned in the blog: Each
>> tool has its own Settings panel “accessible via the gear-icon in
>> the right side of the tool header”.
>>
>> Cheers,
>>
>> Bela
>>
>>
>>
>> ___
>>
>> Users mailing list
>>
>> Users@lists.opensips.org  <mailto:Users@lists.opensips.org>
>>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users  
>> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

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

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


Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-05-18 Thread Bela H
Hi Bogdan,

I have re-installed the CP 9.3.2 but the results are same. Still missing CDR 
fields in the CDR Viewer and no gear icon anywhere only Users/Alias Management 
and System/Monit.

[cid:image002.png@01D86A99.33EE85C0]

However, in the CDR details I can see the additional fields:
[cid:image005.png@01D86A99.33EE85C0]

What did I wrong?

Cheers,
Bela

From: Bogdan-Andrei Iancu<mailto:bog...@opensips.org>
Sent: Wednesday, 18 May 2022 03:01
To: OpenSIPS users mailling list<mailto:Users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hi Bela,

Does you CDRviewer look like this ?

[cid:part1.1E9CE55B.28BF7076@opensips.org]

See the gear box in the right upper corner.

And be sure that the 9.3.2 version is indeed displayed in the left upper corner.

Regards,


Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

OpenSIPS eBootcamp 23rd May - 3rd June 2022

  https://opensips.org/training/OpenSIPS_eBootcamp_2022/
On 5/17/22 10:55 AM, Bela H wrote:

Hello,

What is the best method to upgrade the control panel from 8.3.2 to 9.3.2?
I had some extra fields e.g. in CDR viewer and disappeared after 9.3.2. It is 
in the file 
/var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php but not 
visible in the CDR viewer panel only in the detailed view for each call.

Also I don’t see this gear icon Bogdan mentioned in the blog: Each tool has its 
own Settings panel “accessible via the gear-icon in the right side of the tool 
header”.

Cheers,
Bela



___

Users mailing list

Users@lists.opensips.org<mailto:Users@lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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


[OpenSIPS-Users] How to use old "opensipsctl avp add" with opensips-cli?

2022-05-18 Thread Bela H
Hello,

I want to set up a call forwarding and followed the instructions from the 
"Building telephony systems with OpenSIPS". However, this is a little bit 
outdated, the old opensipsctl was replaced by opensips-cli. How can I add an 
avp data into a usr_preferences table from opensips-cli?
This was the old format: opensipsctl avp add A_number callfwd 0 C_number

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


[OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-05-17 Thread Bela H

Hello,

What is the best method to upgrade the control panel from 8.3.2 to 9.3.2?
I had some extra fields e.g. in CDR viewer and disappeared after 9.3.2. It is 
in the file 
/var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php but not 
visible in the CDR viewer panel only in the detailed view for each call.

Also I don’t see this gear icon Bogdan mentioned in the blog: Each tool has its 
own Settings panel “accessible via the gear-icon in the right side of the tool 
header”.

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


Re: [OpenSIPS-Users] How to use old "opensipsctl avp add" with opensips-cli?

2022-04-06 Thread Bela H
Thanks Bogdan again!
I am using that function but somehow didn't work with 
avp_db_load("$rU",$avp(callfwd)).
With uuid it is all good!

Cheers,
Bela

From: Bogdan-Andrei Iancu 
Sent: Wednesday, 6 April 2022 21:48
To: Bela H ; OpenSIPS users mailling list 

Subject: Re: [OpenSIPS-Users] How to use old "opensipsctl avp add" with 
opensips-cli?

Hi Bela,

If you should put the A number in UUID or user+domain columns depends 100% on 
how you use the avp_db_load() from script, mainly what is that first param - an 
uuid or user. See 
https://opensips.org/html/docs/modules/3.2.x/avpops.html#func_avp_db_load, the 
"source" param

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS eBootcamp 23rd May - 3rd June 2022
  https://opensips.org/training/OpenSIPS_eBootcamp_2022/

On 4/6/22 11:48 AM, Bela H wrote:

Hi Bogdan,



Great thanks for your quick answer.

I got that workaround as well, however that would have been my next question 
what you already answered: using the A number in uuid field instead of  
username 



Cheers,

Bela



From: Bogdan-Andrei Iancu<mailto:bog...@opensips.org>
Sent: Wednesday, 6 April 2022 18:25
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] How to use old "opensipsctl avp add" with 
opensips-cli?



Hi Bela,

The opensips-cli does not offer anymore the pure DB oriented ops (like the 
opensipsctl did). The actually opensipsctl avp add A_number callfwd 0 C_number 
translates into the query:

INSERT INTO  usr_preferences
( uuid, username, domain, attribute, type, value, last_modified)
VALUES
('A_number','','','callfwd', 0,'C_number',NOW());

Regards,


Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

OpenSIPS eBootcamp 23rd May - 3rd June 2022

  https://opensips.org/training/OpenSIPS_eBootcamp_2022/

On 4/5/22 11:31 PM, Bela H wrote:

Hello,



I want to set up a call forwarding and followed the instructions from the 
"Building telephony systems with OpenSIPS". However, this is a little bit 
outdated, the old opensipsctl was replaced by opensips-cli. How can I add an 
avp data into a usr_preferences table from opensips-cli?

This was the old format: opensipsctl avp add A_number callfwd 0 C_number



Cheers,
Bela





___

Users mailing list

Users@lists.opensips.org<mailto:Users@lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users





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


Re: [OpenSIPS-Users] How to use old "opensipsctl avp add" with opensips-cli?

2022-04-06 Thread Bela H
Hi Bogdan,

Great thanks for your quick answer.
I got that workaround as well, however that would have been my next question 
what you already answered: using the A number in uuid field instead of  
username 

Cheers,
Bela

From: Bogdan-Andrei Iancu<mailto:bog...@opensips.org>
Sent: Wednesday, 6 April 2022 18:25
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] How to use old "opensipsctl avp add" with 
opensips-cli?

Hi Bela,

The opensips-cli does not offer anymore the pure DB oriented ops (like the 
opensipsctl did). The actually opensipsctl avp add A_number callfwd 0 C_number 
translates into the query:

INSERT INTO  usr_preferences
( uuid, username, domain, attribute, type, value, last_modified)
VALUES
('A_number','','','callfwd', 0,'C_number',NOW());

Regards,


Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

OpenSIPS eBootcamp 23rd May - 3rd June 2022

  https://opensips.org/training/OpenSIPS_eBootcamp_2022/
On 4/5/22 11:31 PM, Bela H wrote:
Hello,

I want to set up a call forwarding and followed the instructions from the 
"Building telephony systems with OpenSIPS". However, this is a little bit 
outdated, the old opensipsctl was replaced by opensips-cli. How can I add an 
avp data into a usr_preferences table from opensips-cli?
This was the old format: opensipsctl avp add A_number callfwd 0 C_number

Cheers,
Bela




___

Users mailing list

Users@lists.opensips.org<mailto:Users@lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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


[OpenSIPS-Users] How to use old "opensipsctl avp add" with opensips-cli?

2022-04-05 Thread Bela H
Hello,

I want to set up a call forwarding and followed the instructions from the 
"Building telephony systems with OpenSIPS". However, this is a little bit 
outdated, the old opensipsctl was replaced by opensips-cli. How can I add an 
avp data into a usr_preferences table from opensips-cli?
This was the old format: opensipsctl avp add A_number callfwd 0 C_number

Cheers,
Bela

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