[OpenSIPS-Users] dialogs do not restore on restart

2020-08-07 Thread William Simon
Using opensips 3.0,

I have set up the dialog module for db mode 3 (store dialogs at shutdown) with 
a postgres backend. I have also tested with a local sqlite backend.

On shutdown, the active dialogs are saved to the database. But on restart, the 
dialogs are not restored.

If I try the MI command dlg_db_sync, dialogs are not restored that way either.

Is there a parameter required or something that must be run from the script to 
restore dialogs from the database on startup?


“The information transmitted is intended only for the person or entity to which 
it is addressed and may contain proprietary, business-confidential and/or 
privileged material. If you are not the intended recipient of this message you 
are hereby notified that any use, review, retransmission, dissemination, 
distribution, reproduction or any action taken in reliance upon this message is 
prohibited. If you received this in error, please contact the sender and delete 
the material from any computer.”
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] topology_hiding and contact port

2020-08-07 Thread Yohann Poilvert
Hi all, 

I don't find where I can add the port in the contact header after 
topology_hiding(). 

Contact header after topology_hiding() : 
Contact:  

Contact header before topology_hiding() : 
Contact: < sip: @XXX.YYY.ZZZ.AAA:5060> 

It missed the port after topology_hiding... Can you help me ? 

Thank's 

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


[OpenSIPS-Users] Mid-Registrar and SUBSCRIBE

2020-08-07 Thread Yury Kirsanov
Hi,
I've successfully tested OpenSIPS with Mid-Registrar module in front of
Asterisk server, it works fine for REGISTER messages and INVITEs. But I'm
facing a problem with SUBSCRIBE/NOTIFY messages that I'd like to forward to
Asterisk server and back. How do I change Contact field in original
SUBSCRIBE request? Currently it doesn't have ;ctid field and Asterisk will
be sending NOTIFY messages to original Contact listed in SUBSCRIBE without
ctid so mid-registrar lookup is failing
with ERROR:mid_registrar:mid_reg_lookup: failed to locate our ';ctid='
param in URI message. Thanks.

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


Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-07 Thread Vic Jolin
I still need to clarify why this is happening. We are missing calls in cdrs

On Fri, Aug 7, 2020, 2:30 AM Stas Kobzar,  wrote:

> Sorry, Vic
> I was talking about a different module "db_text". I just did not get the
> subject right.
> I do not know about flatstore, sorry.
>
> However, you can still check your permissions for "/var/log/acc". Or, jist
> temporary use "/tmp" path to make sure this is not a permission problem.
>
> On Thu, Aug 6, 2020 at 2:14 PM Vic Jolin  wrote:
>
>> Staz,
>>
>> Hi thanks for the reply, I forgot I think to mention about my config
>>
>> loadmodule "db_flatstore.so"
>> modparam("db_flatstore", "flush", 1)
>> modparam("db_flatstore", "suffix", ".log_SERVERIP")
>>
>> loadmodule "acc.so"
>> /* what special events should be accounted ? */
>> modparam("acc", "early_media", 1)
>> modparam("acc", "report_cancels", 1)
>> /* by default we do not adjust the direct of the sequential requests.
>>if you enable this parameter, be sure the enable "append_fromtag"
>>in "rr" module */
>> modparam("acc", "detect_direction", 0)
>> modparam("acc", "extra_fields", "db: callerid->callerid; ani->ani;
>> prefix->prefix; src_ip->src_ip; dst_ip->dst_ip; acctid->acctid;
>> carrierid->carrierid; ruleid->ruleid; lrn->lrn; orig_ani->orig_ani")
>> #modparam("acc", "extra_fields", "db: callerid->callerid; ani->ani;
>> prefix->prefix; src_ip->src_ip; dst_ip->dst_ip; acctid->acctid;
>> carrierid->carrierid; ruleid->ruleid;")
>> modparam("acc", "db_url", "flatstore:/var/log/acc")
>>
>> Is there  a proper placement of
>> do_accounting("db|log", "cdr|missed|failed");
>>
>> In my config I have this in the route before
>>
>> dp_translate($(avp(groupid){s.int}), "$rU", $rU, $var(dp_attr));
>>
>>
>> On Fri, Aug 7, 2020 at 1:39 AM Stas Kobzar  wrote:
>>
>>> Hello,
>>>
>>> You should create the file with headers. You can copy required storage
>>> file from here:
>>> https://github.com/OpenSIPS/opensips/tree/master/scripts/dbtext/opensips
>>>
>>> And, of course, make sure you have good owner and permissions set to the
>>> file.
>>>
>>> On Thu, Aug 6, 2020 at 1:26 PM Vic Jolin  wrote:
>>>
 Hello,

 What are the reasons why flatstore files are not being created?

 Im  seeing this output in a binary journal file, and not from a normal
 log file I have my output logs in /var/log/messages (but we do not see it
 coming here as well)



 ACC: call ended:
 created=1596585092;call_start_time=1596585108;duration=5;ms_duration=5268;setuptime=16;method=INVITE;from_tag=13c1b24f27e408db;to_tag=ZtNe611a9391D;call_id=2a2ac4f263616c6c0015c430

 But no flatstore file created or updated

 But there is no flatstore files created. Is this a server issue? A
 resource like HD write speed? or some misconfiguration?
 ___
 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
>>
> ___
> 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


[OpenSIPS-Users] Sylk Mobile

2020-08-07 Thread Adrian Georgescu
Hi,

We just published Sylk Mobile, a react-native mobile client for Android and iOS.

The server side is running OpenSIPS + Janus.

https://lists.ag-projects.com/pipermail/sipbeyondvoip/2020-August/003469.html 


Enjoy!
Adrian

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