Re: [OpenSIPS-Users] Remove to-tag from 1XX provisional responses

2016-10-24 Thread Daniel Zanutti
could run on the existing server. There > shouldn’t be any need for a B2B server and a proxy server; the B2B would > replace the proxy. Unless you just can’t change the config of that server > for some reason? > > > > > > Ben Newlin > > > > *From: *<users-boun

Re: [OpenSIPS-Users] Remove to-tag from 1XX provisional responses

2016-10-21 Thread Daniel Zanutti
Hi Ben and Alex Thanks for the quick response. This is exactly what I was worrying about, get unto some unpredictable state like A rejecting some packages. Agree that putting a B2B in front/back of opensips would solve but it´s another server =( Thanks for the advices guys! On Fri, Oct 21,

[OpenSIPS-Users] Remove to-tag from 1XX provisional responses

2016-10-21 Thread Daniel Zanutti
Hi Short: Do you guys see any problem on removing the to-tag of all 1XX messages? Long description: If user A calls number . Opensips forward to gateway B which replies with 183 session progress, then refuses with 503. Opensips then call gateway C which replies with 183 then 200 OK. User

Re: [OpenSIPS-Users] Doubt on B2B Scenario

2016-10-20 Thread Daniel Zanutti
. Is it possible? Thanks On Thu, Oct 20, 2016 at 6:46 PM, Daniel Zanutti <daniel.zanu...@gmail.com> wrote: > Hi Bogdan > > I'll take a look deeply. > > Thanks > > Em 20 de out de 2016 6:39 PM, "Bogdan-Andrei Iancu" <bog...@opensips.org> > escreveu: > >>

Re: [OpenSIPS-Users] Doubt on B2B Scenario

2016-10-20 Thread Daniel Zanutti
on dialog module: > http://www.opensips.org/html/docs/modules/2.2.x/topology_hiding.html > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com > > On 20.10.2016 23:21, Daniel Zanutti wrote: > > Hi > > I'm having a p

[OpenSIPS-Users] Doubt on B2B Scenario

2016-10-20 Thread Daniel Zanutti
Hi I'm having a problem with a specific client. It ignores Record-route and Via fields order and send a BYE to last destination, not the first one. This clearly breaks RFC and there's no way to solve this with his bug software. To solve this, I was planning to implement a B2B scenario to it, so

Re: [OpenSIPS-Users] Help with big amount of data for routing

2016-10-05 Thread Daniel Zanutti
Hi Miha I have a similar situation, but around 20 M routes. The native routing mecanims wasn't performing well, so I developed a custom mecanism using Opensips scripting. Everything is stored on MySQL database. The best approach was use avp_db_query to get the route, the primary key (and index)

Re: [OpenSIPS-Users] OpenSips rejecting too many calls

2016-08-10 Thread Daniel Zanutti
Hi Chandan I would suggest upgrading to 1.11.X first, it will be very straightforward. If you still have problems, migrating to 2.2 will probably not solve them and you may find new ones. Regards On Wed, Aug 10, 2016 at 9:16 AM, Chandan PR wrote: > Hi Guys, > > We are

Re: [OpenSIPS-Users] Can I count the number of active calls in a particular time interval through opensips.

2016-08-01 Thread Daniel Zanutti
I use something different. I defined a profile with value: modparam("dialog", "profiles_with_value", "customercps"); Then use this profile in a counter with customer_id + current timestamp: set_dlg_profile("customercps", "$avp(customer_id)$Ts"); This way I can count current calls on current

Re: [OpenSIPS-Users] Get concurrent calls from sip server.

2016-07-27 Thread Daniel Zanutti
On my sample, you should run: opensipsctl fifo profile_get_size inbound Using dlg_list you should get something like this: # opensipsctl fifo dlg_list dialog:: hash=84:1411689852 state:: 4 user_flags:: 0 timestart:: 1469646635 datestart:: 2016-07-27 16:10:35

Re: [OpenSIPS-Users] Get concurrent calls from sip server.

2016-07-27 Thread Daniel Zanutti
Hi Cesar For realtime querying, you can use dialog profiles. Set a profile (for example: inbound) on all calls like this: set_dlg_profile("inbound"); Then read this using FIFO. I just didn't get the "Kamailio Sip Server running Opensips". Regards On Wed, Jul 27, 2016 at 2:29 PM, Cesar Alberto

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

2016-07-13 Thread Daniel Zanutti
Hi Feroze I think you should first understand exactly what is written to MySQL and answer yourself why do you want to move to NoSQL. Opensips has many modules that access DB structures like ACC, Subscribers, Address, Location, Loadbalancer, cachedb, etc. Which do you want to move to NoSQL? And

Re: [OpenSIPS-Users] ACC failover solution

2016-07-02 Thread Daniel Zanutti
rw@host2/testa > ") > > Your acc db url would look something like this: > modparam("acc", "db_url", "virtual://accounting”) > > jarrod > > On Jul 2, 2016, at 4:57 PM, Daniel Zanutti > aniel.zanu...@gmail.com> wrote: > > Hi > > I need

[OpenSIPS-Users] ACC failover solution

2016-07-02 Thread Daniel Zanutti
Hi I need some help to provide a failover solution to do accounting on our calls. If ACC fails to write on MySQL accounting system (Like MySQL), the record is lost. Is there any failover solution on the ACC module, to record on another kind of DB, only if MySQL failed? I know I could write on

Re: [OpenSIPS-Users] BYE generated locally going to private IP, not public IP

2016-04-22 Thread Daniel Zanutti
ng traffic to public > Internet, should not use at all private IPs. > > Bottom line, the broken link in your scenario is the 172.20.17.11 proxy > before your opensips. > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com >

[OpenSIPS-Users] BYE generated locally going to private IP, not public IP

2016-04-22 Thread Daniel Zanutti
Hi I'm facing an strange issue when my Opensips instance hangs up a call, generating BYE to both sides (timeout on dialog module or rtpproxy). The BYE is sent to both sides but A side is behind NAT and the BYE is sent to the local IP address and not to the public one. See trace bellow: Customer

Re: [OpenSIPS-Users] Fix_nated_SDP works very well. How to do more changes in the SDP?

2016-04-18 Thread Daniel Zanutti
Hi Rodrigo In theory you can modify any SIP/SDP using text ops: http://www.opensips.org/html/docs/modules/1.6.x/textops.html#id293600 I don't know any other way... Regards On Mon, Apr 18, 2016 at 6:17 PM, Rodrigo Pimenta Carvalho wrote: > > Hi. > > > Fix_nated_sdp()

Re: [OpenSIPS-Users] Delay requests to avoid CPS provider's CPS limits

2016-03-27 Thread Daniel Zanutti
Hi Did you take a look at async function of opensips 2.0? I think you may insert some delay with this. Em 27/03/2016 7:03 PM, "Mateusz Bartczak" escreveu: > Hi > > I'm looking for a solution to nicely handle call spikes > > The issue is like this: > > I have customer

Re: [OpenSIPS-Users] Query about avp in siptrace module

2016-03-23 Thread Daniel Zanutti
ptrace module? It would > be great if you help me out on this. > > > > Regards, > > Agalya > > > > *From:* users-boun...@lists.opensips.org [mailto: > users-boun...@lists.opensips.org] *On Behalf Of *Daniel Zanutti > *Sent:* Tuesday, March 22, 2016 12:22 PM > >

Re: [OpenSIPS-Users] Query about avp in siptrace module

2016-03-22 Thread Daniel Zanutti
Still am seeing AVP is NULL in my traces. Can you please clarify me on > what am missing out. > > > > Regards, > Agalya > > > > > > *From:* users-boun...@lists.opensips.org [mailto: > users-boun...@lists.opensips.org] *On Behalf Of *Daniel Zanutti > *Sent:* Monday, M

Re: [OpenSIPS-Users] Query about avp in siptrace module

2016-03-21 Thread Daniel Zanutti
abase", 0) > > modparam("siptrace", "trace_flag", 22) > > modparam("siptrace", "trace_on", 1) > > modparam("siptrace", "hep_version", 2) > > > > route{ > > > > $avp(tra

Re: [OpenSIPS-Users] Query about avp in siptrace module

2016-03-21 Thread Daniel Zanutti
> Just adding the line *$avp(traced_user) = "1";* in config file will > solve the issue? Or we need to include > > *modparam("siptrace", "traced_user_avp", "$avp(traced_user)") also in the > config file?* > > Regards, > Agalya > > *From:

Re: [OpenSIPS-Users] Query about avp in siptrace module

2016-03-21 Thread Daniel Zanutti
Correcting: *$avp(traced_user) = "1";* On Mon, Mar 21, 2016 at 2:19 PM, Daniel Zanutti <daniel.zanu...@gmail.com> wrote: > Hi > > AVP is a kind of variable on Opensips. > > When you configured the siptrace module to use the AVP, you must ensure > that the

Re: [OpenSIPS-Users] Query about avp in siptrace module

2016-03-21 Thread Daniel Zanutti
Hi AVP is a kind of variable on Opensips. When you configured the siptrace module to use the AVP, you must ensure that the AVP has some kind of value before routing the package, otherwise it will be NULL. Just add this on first line of main route: *$avp(traced_user) = 1;* On Mon, Mar 21,

[OpenSIPS-Users] Getting AVP or Transaction data on local_route

2016-03-19 Thread Daniel Zanutti
I'm trying to get an AVP variable at local_route, but all AVPs I have are nulled. When dialog module hangs the call (due to timeout), I configured to send BYE to both sides. I need that the first BYE be accounted and second not... So i did set an AVP and tried to get on the second call of

Re: [OpenSIPS-Users] Opensips doesn't react to 200 on BYE

2016-03-19 Thread Daniel Zanutti
w on? > > > Thanks again. > > > Atenciosamente, > > Daniel Moreira Yokoyama. > @dmyoko > http://twitter.com/dmyoko > > TrafficTalks > Um podcast sobre cinema feito a partir de conversas de trânsito. > http://traffictalks.com.br > > > 2016-03-17 10:55 GMT

Re: [OpenSIPS-Users] Getting AVP or Transaction data on local_route

2016-03-19 Thread Daniel Zanutti
other way, you can get above done by storing avp value along with call > id and fetching desired value in local route. > On 17-Mar-2016 8:04 pm, "Daniel Zanutti" <daniel.zanu...@gmail.com> wrote: > >> I'm trying to get an AVP variable at local_route, but all AVPs

Re: [OpenSIPS-Users] Opensips doesn't react to 200 on BYE

2016-03-19 Thread Daniel Zanutti
Hi Daniel SIPP is a litte tricky to work with proxies, you need to double check routes and Via headers. Here is what I'm using on BYE: BYE [next_url] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] [routes] From:

[OpenSIPS-Users] Problem running Media Proxy on updated Debian Jessie

2016-03-14 Thread Daniel Zanutti
Just reporting, I found a problem when running Media Proxy module with updated Debian Jessie distro. There is some error at Python... This is the error at syslog: Mar 9 16:37:26 mp5 media-relay[2252]: error: Unhandled error in Deferred: Mar 9 16:37:26 mp5 media-relay[2252]: AttributeError:

[OpenSIPS-Users] Write siptrace on "local" route

2016-03-11 Thread Daniel Zanutti
I'm trying to capture siptrace on local route like this: local_route { sip_trace(); } So when dialog module hangups a call, I'll get the siptrace of the BYE. This is not working. Is there any workaround? I'm using Opensips 1.11.6. Thanks ___

<    1   2