Re: [OpenSIPS-Users] Dispatcher Order SQL DB - version 1.11.5

2015-08-17 Thread Federico Edorna
Actually the table has the priority column in ver 1.11. Anyway, thanks for your response Bogdan, I will try to find a workarround for this version until we upgrade to 2.x. Thanks & Regards Federico On Mon, Aug 17, 2015 at 5:56 AM, Bogdan-Andrei Iancu wrote: > Hi Federico, > > This is an known

Re: [OpenSIPS-Users] Managing Concurrent Calls

2015-08-17 Thread Bogdan-Andrei Iancu
Hi, See the updated scripting here: http://www.opensips.org/Documentation/Tutorials-ConcurrentCallsLimitation Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 17.08.2015 17:46, Bogdan-Andrei Iancu wrote: Hi Terrance, yes, still the case. That t

Re: [OpenSIPS-Users] extension status monitoring

2015-08-17 Thread SamyGo
Thanks Bogdan, That makes everything easy. :) Best Regards, Sammy On Mon, Aug 17, 2015 at 11:52 AM, Bogdan-Andrei Iancu wrote: > Hi Sammy, > > If you use the "brief" option just to get the list of AORs, is quite ok. > But depends on how often you need this info. > > If you want to keep into int

Re: [OpenSIPS-Users] B2BUA marketting scenario

2015-08-17 Thread Bogdan-Andrei Iancu
Hi Sebastian, I will put together a small setup and see what is going wrong. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 17.08.2015 13:40, Sebastian Sastre wrote: Bodgan, Thanks i wasn't sure on the ack process. This is the log , the scen

Re: [OpenSIPS-Users] extension status monitoring

2015-08-17 Thread Bogdan-Andrei Iancu
Hi Sammy, If you use the "brief" option just to get the list of AORs, is quite ok. But depends on how often you need this info. If you want to keep into into a parallel DB, better use the AOR inserted /deleted events: http://www.opensips.org/html/docs/modules/2.1.x/usrloc.html#id295255 And k

Re: [OpenSIPS-Users] extension status monitoring

2015-08-17 Thread Eric Tamme
Hey Sammy, I would suggest you use a standard sip client :D We at OnSIP maintain sip.js , a javascript sip signaling library which happens to have full RFC6665 support for subscriptions. So you can simply create a UA in the browser and subscriber for the presence of as man

Re: [OpenSIPS-Users] extension status monitoring

2015-08-17 Thread SamyGo
So Eric, Time and over again, while looking for best way for this, my eyes keep getting stuck at PUA_MI module [ http://www.opensips.org/html/docs/modules/2.1.x/pua_mi.html] The module you mentioned I used this for regular presence scenario for phones to know which other extension is online/offli

Re: [OpenSIPS-Users] extension status monitoring

2015-08-17 Thread Eric Tamme
I would suggest using a presence based option and utilizing the pua_usrloc module for pushing state updates into the presence server. http://www.opensips.org/html/docs/modules/2.1.x/pua_usrloc.html -Eric On 08/17/2015 09:10 AM, SamyGo wrote: Hi Bogdan, Can you recommend this approach for a h

Re: [OpenSIPS-Users] extension status monitoring

2015-08-17 Thread SamyGo
Hi Bogdan, Can you recommend this approach for a huge number of ul records ? Is there any better approach in your opinion ? I Push Registering Users into Redis from cfg file, and on un-registering delete them from redis List of online users. This wont give me accurate results but I believe much l

Re: [OpenSIPS-Users] best way to append prefix (areacode)

2015-08-17 Thread Bogdan-Andrei Iancu
Søren, makes no sense to change username in Contact hdr as itis useless information. The Contact hdr is exclusively used to provide network coordinates (IP, port, proto) of a SIP party. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 17.08.2015

Re: [OpenSIPS-Users] best way to append prefix (areacode)

2015-08-17 Thread Søren Andersen
Cool, :) I also have to append the prefix to the contact field.. If I use the subst the topology hiding won't replace my rfc1918 ip address with my server address. Should I use another function instead? /Søren Fra: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sendt: 17. august 2015 16:40

Re: [OpenSIPS-Users] Managing Concurrent Calls

2015-08-17 Thread Bogdan-Andrei Iancu
Hi Terrance, yes, still the case. That tutorial is a bit old and outdated - I will do an upgrade to 1.11 in the next days and let you know. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 17.08.2015 16:27, Terrance Devor wrote: Hello Everyone

Re: [OpenSIPS-Users] Duplicate entries in syslog

2015-08-17 Thread Bogdan-Andrei Iancu
OK, simple solutions for simple problems :) Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 17.08.2015 16:42, Aqs Younas wrote: Thanks for your answer. I just restarted my dev server and problem was solved. On 14 August 2015 at 14:40, Bogdan-A

Re: [OpenSIPS-Users] best way to append prefix (areacode)

2015-08-17 Thread Bogdan-Andrei Iancu
Yes Søren, that is the correct way to do it. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 17.08.2015 16:37, Søren Andersen wrote: Hi Bogdan, Yup. Currently I’m using: prefix("+areacode"); uac_replace_from("\"+areacode$fU\"","sip:+areacode

Re: [OpenSIPS-Users] best way to append prefix (areacode)

2015-08-17 Thread Søren Andersen
Hi Bogdan, Yup. Currently I'm using: prefix("+areacode"); uac_replace_from("\"+areacode$fU\"","sip:+areacode$fU@$rd"); uac_replace_to("$ruri"); But I don't know if that is the best way? /Søren Fra: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sendt: 17. august 2015 15:27 Til: OpenSIPS use

Re: [OpenSIPS-Users] best way to append prefix (areacode)

2015-08-17 Thread Bogdan-Andrei Iancu
Hi Søren, Do you have to add this prefix to the RURI or to the TO URI too ? For RURI is simple: $rU = "my_prefix" + $rU ; Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 17.08.2015 15:07, Søren Andersen wrote: Hello Guys, What is the best wa

Re: [OpenSIPS-Users] dns srv lookups happening during relay

2015-08-17 Thread Bogdan-Andrei Iancu
Try: append_branch("sip:dst_ip:port;transport=tcp"); Also take a look at $branch variable & co: http://www.opensips.org/Documentation/Script-CoreVar-1-11#toc21 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 17.08.2015 14:36, Tito Cumpen wro

Re: [OpenSIPS-Users] best way to append prefix (areacode)

2015-08-17 Thread Søren Andersen
Hello Guys, What is the best way to append prefix (areacode) in OpenSIPS? - I need to append my areacode when I pass the call to my upstream provider, and then stip the prefix off when I receive a call. Is the best way to use uac_replace then I receive/making a call? /Søren

Re: [OpenSIPS-Users] B2BUA marketting scenario

2015-08-17 Thread Sebastian Sastre
Bodgan, Thanks i wasn't sure on the ack process. This is the log , the scenario is triggered by a httpd json call. INFO:b2b_logic:b2bl_add_client: adding entity [0x7f718dfa7068]->[B2B.173.7331923] to tuple [0x7f718dfa0cd0]->[685.0] WARNING:b2b_logic:b2bl_delete_entity: entity [0x7f718dfa2d18]->[]

Re: [OpenSIPS-Users] B2BUA marketting scenario

2015-08-17 Thread Bogdan-Andrei Iancu
Hi Sebastian, The 200OK from FS must be followed by ACK+SDP to linphone. See: http://www.opensips.org/Documentation/Tutorials-B2BUA#toc14 If this does not happen -> do you see any errors in the logs (around the processing of 200OK from FS) ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder

Re: [OpenSIPS-Users] extension status monitoring

2015-08-17 Thread Bogdan-Andrei Iancu
Hi Julian, The MI command "ul_dump" gives you the registration status for all users: http://www.opensips.org/html/docs/modules/1.11.x/usrloc.html#id294959 You can trigger this command via the MI interface : http://www.opensips.org/Documentation/Interface-MI-1-11 where you have several protoc

Re: [OpenSIPS-Users] dns srv lookups happening during relay

2015-08-17 Thread Bogdan-Andrei Iancu
Hi Tito, Yes, your SIP URI does not have any protocol or port indication, so NAPTR lookup is perform. Now, of the call flow you describe : DNS based discovery is to be done for initial request only - the sequential requests (in dialog) should simply follow the path discovered by the initial

Re: [OpenSIPS-Users] Dispatcher Order SQL DB - version 1.11.5

2015-08-17 Thread Bogdan-Andrei Iancu
Hi Federico, This is an known issue with the older versions of OpenSIPS (not being able set an order for the records). In 2.1 this was solved by having a priority column which dictates the oder of usage of records. For versions before 2.1, you have to rely on the oder provided by DB :(. Rega

[OpenSIPS-Users] OpenSIPS control panel 6.1 php version???

2015-08-17 Thread Admin
Hi, I have installed opensips-cp 6.1 but got all kinds of warnings even with the php error reporting set to minimal. I had opensips-cp running fine before upgrading to Debian Jessie, which comes with php 5.6.9. I am running OpenSIPS (2.1.0 (x86_64/linux)) What php version shall i be using with o

Re: [OpenSIPS-Users] Error message

2015-08-17 Thread Garry M Paxinos
Greetings Understood on the meaning. However, the configuration is set to listen to an external IP address. There are no 'listens' on local host. And mhomed is not set. The system works fine at low call volume. But once call volume ramps up it starts having the problem listed below. Th

[OpenSIPS-Users] OpenSIPS control panel 6.1 php version???

2015-08-17 Thread Admin
Hi, I have installed opensips-cp 6.1 but got all kinds of warnings even with the php error reporting set to minimal. I had opensips-cp running fine before upgrading to Debian Jessie, which comes with php 5.6.9. I am running OpenSIPS (2.1.0 (x86_64/linux)) What php version shall i be using with o

Re: [OpenSIPS-Users] Possible memory leak related to AVPs

2015-08-17 Thread Mickael Marrache
Hi Razvan, I have some news. It happens for the following scenario: 1. For first branch, the branch route is executed therefore I can see the branch AVPs are created by our module. 2. The first branch fails and we do a second attempt to a different destination. So a second branch is created, the