Re: [OpenSIPS-Users] Dynamic Routing never routes call

2019-01-25 Thread Jim DeVito
rule_441423369031 | Send to testpbx1 | > > ++-+------+-+--+-+--+---+--+ > > > > -- > Mark Farmer > farm...@gmail.com > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- - Jim DeVito Mobile 216.507.9497 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Dynamic Routing dr_carrier state column understanding

2019-01-04 Thread Jim DeVito
e > ). > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 01/04/2019 04:40 PM, Jim DeVito wrote: > > Hi Guys

Re: [OpenSIPS-Users] Dynamic Routing dr_carrier state column understanding

2019-01-04 Thread Jim DeVito
SIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 01/04/2019 04:40 PM, Jim DeVito wrote: > > Hi Guys, > > Maybe i'm misunderstanding this column. I understand how to

[OpenSIPS-Users] Dynamic Routing dr_carrier state column understanding

2019-01-04 Thread Jim DeVito
but the carrier is always marked as enabled when I check at run time. I've tried with persistent_state set to 0 and 1 with no effect. Thanks! - Jim DeVito ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo

Re: [OpenSIPS-Users] nathelper and mid_register

2017-10-27 Thread Jim DeVito
lled on a REGISTER, rather you should > use the fix_nated_register() which forces a ";received=" param into the > Contact. Conceptually, at least - I'm pretty sure this also won't work well > with mid_registrar_save(). > > Best regards, > > Liviu Chircu > OpenSIPS

[OpenSIPS-Users] nathelper and mid_register

2017-10-26 Thread Jim DeVito
ontact URI Thoughts? And Thanks!! - Jim DeVito ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Segfault in mid_register module upon attempted save of OK

2017-10-25 Thread Jim DeVito
egards, > > [1]: https://github.com/OpenSIPS/opensips/commit/fc5762694201eb > > Liviu Chircu > OpenSIPS Developerhttp://www.opensips-solutions.com > > On 24.10.2017 22:42, Jim DeVito wrote: > > Hi All, > > Getting into he mid_register module so I could very well be do

[OpenSIPS-Users] Segfault in mid_register module upon attempted save of OK

2017-10-24 Thread Jim DeVito
break; case 2: xlog("absorbing REGISTER! ($$ci=$ci)\n"); break; default: xlog("failed to save registration! ($$ci=$ci)\n"); } - Jim DeVito _

Re: [OpenSIPS-Users] Feature request? Script Var / AVP variables in route function.

2017-09-21 Thread Jim DeVito
h as: > > route(route_name, $avp(carrier_id)); > > Best regards, > > Răzvan Crainea > OpenSIPS Developerwww.opensips-solutions.com > > On 09/21/2017 03:43 PM, Jim DeVito wrote: > > Hi Razvan, > > So what am I doing wrong with > > route($avp(carrier

Re: [OpenSIPS-Users] Feature request? Script Var / AVP variables in route function.

2017-09-21 Thread Jim DeVito
les) themselves, so you > should be able to use them. > > Best regards, > > Răzvan Crainea > OpenSIPS Developerwww.opensips-solutions.com > > On 09/21/2017 03:14 PM, Jim DeVito wrote: > > Hi All, > > It's my understanding only PV, integers and strings can be use

[OpenSIPS-Users] Feature request? Script Var / AVP variables in route function.

2017-09-21 Thread Jim DeVito
Hi All, It's my understanding only PV, integers and strings can be used in the core route function. Is there a reason I don't understand why we can not use script variables or AVP's? Thanks!! - Jim DeVito Mobile 216.507.9497 ___ Users

Re: [OpenSIPS-Users] Strange entries in ACC

2017-04-26 Thread Jim DeVito
sips.org>bog...@opensips.org> wrote: > >> And I suppose you can reproduce such funky records, right ? >> >> Bogdan-Andrei Iancu >> OpenSIPS Founder and Developer >> http://www.opensips-solutions.com >> >> OpenSIPS Summit May 2017 Amsterdam >>

Re: [OpenSIPS-Users] Strange entries in ACC

2017-04-26 Thread Jim DeVito
; Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > http://www.opensips-solutions.com > > OpenSIPS Summit May 2017 Amsterdam > http://www.opensips.org/events/Summit-2017Amsterdam.html > > On 04/26/2017 06:50 PM, Jim DeVito wrote: > > Correct. > > do_account

Re: [OpenSIPS-Users] Strange entries in ACC

2017-04-26 Thread Jim DeVito
ted by you from script ? it not ever proxied further, > right ? > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > http://www.opensips-solutions.com > > OpenSIPS Summit May 2017 Amsterdam > http://www.opensips.org/events/Summit-2017Amsterda

Re: [OpenSIPS-Users] Strange entries in ACC

2017-04-26 Thread Jim DeVito
ards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > http://www.opensips-solutions.com > > OpenSIPS Summit May 2017 Amsterdam > http://www.opensips.org/events/Summit-2017Amsterdam.html > > On 04/26/2017 05:43 PM, Jim DeVito wrote: > > Hi All, > > S

[OpenSIPS-Users] Strange entries in ACC

2017-04-26 Thread Jim DeVito
Hi All, So I am seeing the below record in the ACC output that is causing me problems else where. Notice the \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 part. INVITE|gK0c48d4aa||1464632400_16750753@REDACTED|600|Busy

Re: [OpenSIPS-Users] Possible Memory Problem

2017-03-01 Thread Jim DeVito
t's: > > : x [ file: function, line ] > > Liviu Chircu > OpenSIPS Developerhttp://www.opensips-solutions.com > > On 01.03.2017 18:10, Jim DeVito wrote: > > Hi Liviu! > > Server:: OpenSIPS (2.2.3 (x86_64/linux)) > > For my own understanding what does the number

Re: [OpenSIPS-Users] Possible Memory Problem

2017-03-01 Thread Jim DeVito
, line 88] > May I ask what version are you using? ("opensips -V") That's the first > step in trying to reproduce this! > > Regards, > > Liviu Chircu > OpenSIPS Developerhttp://www.opensips-solutions.com > > On 01.03.2017 17:28, Jim DeVito wrote: > > Hi All

[OpenSIPS-Users] Possible Memory Problem

2017-03-01 Thread Jim DeVito
gging flags compiled in. http://pastebin.com/45QrtFts Thoughts? Thanks!! P.S. Here is the original conversation. https://opensips.org/pipermail/users/2016-November/035860.html - Jim DeVito ___ Users mailing list Users@lis

[OpenSIPS-Users] Question on memory debugging.

2017-02-27 Thread Jim DeVito
/users/2016-November/035860.html Thanks!! - Jim DeVito ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] Possible Memory Leak in rest_client module.

2016-11-07 Thread Jim DeVito
ze:: seems to always be going up until it runs out of the memory I allotted with the -M switch. What else can I do to see where this is coming from? Thanks!! -- Jim DeVito ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-b

Re: [OpenSIPS-Users] Strange segfault when calling check_fraud

2016-11-04 Thread Jim DeVito
I See it Thanks! Will run nighties later this weekend and let you know if I have any trouble. Thanks for fixing it!! --- Jim DeVito On 2016-11-04 10:15, Liviu Chircu wrote: Thank you for all the help, Jim! A fix for this issue has been pushed to all 2.X versions of the git repository [1

Re: [OpenSIPS-Users] Strange segfault when calling check_fraud

2016-11-04 Thread Jim DeVito
!! --- Jim DeVito On 2016-11-04 09:30, Liviu Chircu wrote: Thank you, Jim! The backtrace is very helpful. Could you give a bit more details about how you are triggering this bug? Could it be right after you are starting OpenSIPS? Also, pasting the output of `opensips -V` could help as well. Regards

Re: [OpenSIPS-Users] Strange segfault when calling check_fraud

2016-11-04 Thread Jim DeVito
Thanks for the tip Liviu! I was able to get the full core file and paseted below is the back trace. Let me know if this can help track down what is going on. http://pastebin.com/m7LfVHqJ Thanks!! --- Jim DeVito On 2016-11-04 08:08, Liviu Chircu wrote: Hi, Jim! It appears that OpenSIPS

[OpenSIPS-Users] Strange segfault when calling check_fraud

2016-11-04 Thread Jim DeVito
2-1.el7 @opensips opensips-fraud_detection.x86_64 2.2.2-1.el7 @opensips opensips-rest_client.x86_64 2.2.2-1.el7 @opensips opensips-yum-releases.noarch2.2-3.el7 @/opensips

Re: [OpenSIPS-Users] sipmsgops and codec_move_up

2016-09-19 Thread Jim DeVito
Thanks Ben! Learned something new. --- Jim DeVito On 2016-09-19 08:08, Newlin, Ben wrote: The priority of the codecs is given by their ordering on the “m=audio” line. PCMU is “0” and you can see in the after SDP that “0” has been moved to the front of the list. The ordering of the “a=rtpmap

[OpenSIPS-Users] sipmsgops and codec_move_up

2016-09-19 Thread Jim DeVito
G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 And After... m=audio 12002 RTP/AVP 0 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 If I use codec_delete("G729") it works fine. -- Jim DeVito ___ User

Re: [OpenSIPS-Users] Possible Bug / Unexpected behavior with ACC.

2016-09-02 Thread Jim DeVito
the repo. But it does in the nightly repo version 2.2.1.20160830.7261cf0-1.el7 Thanks!! --- Jim DeVito On 2016-09-01 05:39, Răzvan Crainea wrote: Hi, Jim! That was exact scenario I tried, but did not find anything. Is there any chance I could get access to your testing environmen? Or can we meet

Re: [OpenSIPS-Users] Possible Bug / Unexpected behavior with ACC.

2016-09-01 Thread Jim DeVito
Hi Răzvan, It is a single leg of the call. And I am doing CDR accounting with the flags below. if (is_method("INVITE")) { do_accounting("db", "cdr|failed|missed", "acc"); --- Jim DeVito On 2016-09-01 01:43, Răzvan Crainea wrote: Hi,

[OpenSIPS-Users] Possible Bug / Unexpected behavior with ACC.

2016-08-31 Thread Jim DeVito
url","flatstore:/var/log/opensips/acc") modparam("acc", "db_extra", "to_tn=$rU; etc) $rU is the extra parameter that is supposed to be 011610408287261 but it comes out as \x00\x00\x00\x00\x00\x00\x00\x

[OpenSIPS-Users] Help responding to 401 in reply route.

2016-08-26 Thread Jim DeVito
direction that would be helpful. Thanks!! -- Jim DeVito ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Save gateway used on ACC Table when using drouting

2016-07-25 Thread Jim DeVito
Sure thing! http://www.opensips.org/html/docs/modules/2.2.x/drouting.html#id294247 Then just add to the acc module *_extra "carrier_id=$avp(carrier_id_avp)" carrier_id being the column in your acc database or log. Thanks!! --- Jim DeVito On 2016-07-25 08:20, Annus Fictus wro

Re: [OpenSIPS-Users] Opensips switch from SQL to NoSQL

2016-07-14 Thread Jim DeVito
I addition to what Eric said I suspect you are failing to load cachedb_mongodb as stated "The following modules must be loaded before this module: At least one NoSQL cachedb_* module." Thanks!! --- Jim DeVito Mobile 440.941.3860 On 2016-07-14 10:31, feroze waris wrote:

Re: [OpenSIPS-Users] OpenSips and CLIR

2016-07-01 Thread Jim DeVito
Depends how your upstream expects you to handle privacy. In my case it is enough to set the user part of the from uri to "anonymous" and use insert_hf("Privacy: id\r\n", "Allow-Events"); to add the privacy header. --- Jim DeVito On 2016-07-01 04:31, Dragomir H

Re: [OpenSIPS-Users] Dialog DB backend only updates on clean shutdown not crash

2016-06-24 Thread Jim DeVito
Thanks Răzvan! I must have misunderstood the cache mode in db_text. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] n00b SIP question

2016-06-23 Thread Jim DeVito
For ease of use for a beginner use vanilla Asterisk. Soft phones like bria for the clients. As always good luck and buy the book. On Jun 23, 2016 6:32 PM, Ozz Nixon wrote:Hello, I have read this mail list for months, everything is way above me – but, I am ready

[OpenSIPS-Users] Dialog DB backend only updates on clean shutdown not crash

2016-06-23 Thread Jim DeVito
orrect? The DB is only being synced from memory on clean shutdown. If I kill -9 the process the dialog info is lost. Thoughts? Thanks!! -- Jim DeVito ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] How do I get the latest commit in the yum repo.

2016-06-21 Thread Jim DeVito
Super good. Thanks!! --- Jim DeVito Mobile 440.941.3860 On 2016-06-21 07:04, Bogdan-Andrei Iancu wrote: Hi Jim, Currently we generate packages based on GIT tags only. So far there is no TAG covering this commit - the commit is on 1st of June, while 2.2.0 was released on 27th of May. Still

[OpenSIPS-Users] How do I get the latest commit in the yum repo.

2016-06-21 Thread Jim DeVito
. Thanks!! -- Jim DeVito ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] RTP Proxy Help

2016-03-10 Thread Jim DeVito
It started as a PCM wav and ran through makeann from rtpproxy so it should be good. Maybe it does not like the file for some reason and does not say so in the debugging? Thanks!! --- Jim DeVito On 2016-03-10 07:29, Aqs Younas wrote: Have you transcoded your file to PCMU? What is the format

Re: [OpenSIPS-Users] RTP Proxy Help

2016-03-10 Thread Jim DeVito
!! --- Jim DeVito On 2016-03-10 06:31, Richard Robson wrote: Check the RTPProxy is not Segfaulting. I found that the Daemon was segfaulting despite seeming to be available. I have stopped using this and have found RTPEngine to work OK R On 10/03/2016 14:26, Jim DeVito wrote: So it seems I have

[OpenSIPS-Users] RTP Proxy Help

2016-03-10 Thread Jim DeVito
ee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session:2494595e5addcc12036b84f75312af3f@66.228.40.119:5060: session on ports 37018/0 is cleaned up Any insight as to what I may be doing wrong would be a big help. Thanks!! -- Jim DeVito ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] Dynamic Routing "flow" question 1.8

2016-02-22 Thread Jim DeVito
to_carrier(#carrier2)) { t_on_failure("next_gw"); t_relay(); exit; } -- Jim DeVito ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] CDR when terminating dialog

2016-02-17 Thread Jim DeVito
That looks like you would receive a response indication a timeout. (408 maybe?) If so setting this flag on the transaction should do it. http://www.opensips.org/html/docs/modules/2.2.x/acc#id294062 --- Jim DeVito On 2016-02-17 05:27, Dragomir Haralambiev wrote: Hello, How to setup

Re: [OpenSIPS-Users] Registration Handling.

2016-02-09 Thread Jim DeVito
Well. I bet that is it. In my head I thought I did because it did for another module. Thanks for the reminder! --- Jim DeVito On 2016-02-09 11:51, Ovidiu Sas wrote: Have you set the use_domain parameter? http://www.opensips.org/html/docs/modules/2.1.x/usrloc.html#id294320 -ovidiu On Tue

[OpenSIPS-Users] Registration Handling.

2016-02-09 Thread Jim DeVito
problem. FROM header in 200 OK looks like this From: <sip:USERNAME@DOMAIN>;tag=as6211061c however ONLY the username part of the URI ends up in the location table. This makes it hard to do a lookup("location") later. A push in the right dire

[OpenSIPS-Users] DR module fail over on multiple carriers with multiple gateways

2016-01-05 Thread Jim DeVito
GW1 -> carrier1GW2 -> carrier2GW1 -> carrier2GW2) I call do_routing() with WF and F but the behavior is the same. Any thoughts on what I am doing wrong would be great! Thanks!! -- Jim DeVito ___ Users mailing list Users@lists.opensips.org http://lists.

Re: [OpenSIPS-Users] Run as other user than root?

2015-02-23 Thread Jim DeVito
Karl, The init scripts are in the packaging/ folder and need to be modified and moved by you. I needed to change OSER, PID_FILE, LOCK_FILE and the path to the configuration file in the check_fork() in order to install and start in a non standard location. --- Jim DeVito Mobile