[OpenSIPS-Users] casting eth0 to an avp param

2015-06-03 Thread Tito Cumpen
Does anyone know of a way to cast the eth0 to an avp ? Currently I am having to hard set it every time the route is called like this event_route[E_UL_AOR_DELETE] { fetch_event_params(aor=$avp(aor)); $avp(param) = x.x.x.x.x.; $avp(param) = $avp(aor);

Re: [OpenSIPS-Users] Double via in MI generated NOTIFY

2015-06-03 Thread Stas Kobzar
Yes, it resolves to itself. The domain is the one from OpenSIPS domains table. And this is actually what I want. I want OpenSIPS to find the contact from its locations table using function lookup(locations); And it works, OpenSIPS finds contact IP and sends NOTIFY to the phone. The only thing is

Re: [OpenSIPS-Users] Double via in MI generated NOTIFY

2015-06-03 Thread Stas Kobzar
Hi Bogdan, No, I do not use local_route at all. My code for these kind of notifies is in the beginning of the initial part or main route after t_check_trans and looks like this: t_check_trans(); #

Re: [OpenSIPS-Users] Double via in MI generated NOTIFY

2015-06-03 Thread Newlin, Ben
It sounds like you may be sending the NOTIFY to yourself when you use the domain name instead of the IP. Have you verified the address that the domain resolves to? Is it the same as the OpenSIPS instance? Ben Newlin From: Stas Kobzar Reply-To: OpenSIPS users mailling list Date: Wednesday, June

[OpenSIPS-Users] OpenSIPS Summit 2015, Amsterdam - post facts

2015-06-03 Thread Bogdan-Andrei Iancu
Hello, We finally managed to collect and compile the presentations, video recordings and photos from this wonderful Summit 2015 in Amsterdam. Please check and enjoy the result: PDF presentations - http://www.opensips.org/Community/Summit-2015Amsterdam-Schedule YouTube playlist -

Re: [OpenSIPS-Users] issues with webrtc in 2.1 stable

2015-06-03 Thread Răzvan Crainea
Hi, Tito! I'm not sure why the proxy is trying to send the ACK over WS, since the R-URI contains a TCP connection. Can you send a full pcap trace for the call? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 06/03/2015 01:55 AM, Tito Cumpen wrote: Group, I

Re: [OpenSIPS-Users] issues with webrtc in 2.1 stable

2015-06-03 Thread Tito Cumpen
Razvan, The ack is sourcing from the ws party to the b side which is registered via tcp. Note this is also occurring when a bye is sent from the ws side to the sip tcp b client. Meaning OpenSIPS drops of and throws the aforementioned error. I will get a trace as soon as I can. Thanks, Tito Hi,

Re: [OpenSIPS-Users] Manipulate Opensips generated SIP headers

2015-06-03 Thread Bogdan-Andrei Iancu
Hi Ping, There is no access to internally generated ACK and CANCEL requests. What are you trying to do ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 03.06.2015 02:53, Ping Han wrote: Hi, With Opensips is there a way to manipulate the SIP

[OpenSIPS-Users] Error compiling cachedb_mongodb with opensips_head

2015-06-03 Thread Jayesh Nambiar
Hi, I tried including the cachedb_mongodb with latest opensips_head and it gives out error saying fatal error: mongo.h: No such file or directory I have installed mongo C library and I see it copies all the .h files in /usr/local/include/libmongoc-1.0 and the filename is mongoc.h instead of

Re: [OpenSIPS-Users] Error compiling cachedb_mongodb with opensips_head

2015-06-03 Thread Jayesh Nambiar
Hi Liviu, Sorry to overlook the documentation. I had installed 1.0 version. Thanks for the quick response. - Jayesh On Wed, Jun 3, 2015 at 6:21 PM Liviu Chircu li...@opensips.org wrote: Hi Jayesh, Did you get mongo-c-driver v0.6, as stated in the documentation? [1] [1]:

Re: [OpenSIPS-Users] Error compiling cachedb_mongodb with opensips_head

2015-06-03 Thread Liviu Chircu
Hi Jayesh, Did you get mongo-c-driver v0.6, as stated in the documentation? [1] [1]: http://www.opensips.org/html/docs/modules/2.2.x/cachedb_mongodb.html#id249610 Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 03.06.2015 15:27, Jayesh Nambiar wrote: Hi, I tried

Re: [OpenSIPS-Users] Unable to route registered phone to registrant trunk

2015-06-03 Thread Bogdan-Andrei Iancu
Hi Fabrizio, First of all, be sure your script execution gets to the do_routing() part. Use the script_trace() function to trace the execution of your script: http://www.opensips.org/Documentation/Script-CoreFunctions-2-1#toc43 Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] Double via in MI generated NOTIFY

2015-06-03 Thread Bogdan-Andrei Iancu
Hi Stas, Do you do any local_route stuff ? If yes, do you modify the RURI/DURI or other parts of the requests? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 01.06.2015 17:42, Stas Kobzar wrote: Hello, I am sending NOTIFY packet with event

Re: [OpenSIPS-Users] Issues using memcache auth

2015-06-03 Thread Bogdan-Andrei Iancu
Tito, In DB, what do you have - the plain text passwd or the HA1 ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 03.06.2015 18:56, Tito Cumpen wrote: Bogdan, The password is hashed into a numeric value it would seem. Though my http db

Re: [OpenSIPS-Users] Issues using memcache auth

2015-06-03 Thread Tito Cumpen
Bogdan, The password is hashed into a numeric value it would seem. Though my http db provides the password in raw unhashed string when queried for the subscriber password. The debug shows that the md5 hashing is not being matched matching but I am not sure why since the save function is only

Re: [OpenSIPS-Users] Issues using memcache auth

2015-06-03 Thread Bogdan-Andrei Iancu
Hi Tito, Have you double checked if the passwd you push to pv_www_authorize() (from cache) is the correct one ? Best Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 02.06.2015 01:58, Tito Cumpen wrote: my db http returns the password in

Re: [OpenSIPS-Users] Issues using memcache auth

2015-06-03 Thread Tito Cumpen
Bogdan, The password is provided in plaintext by the db. The working scenario looks likes this : loadmodule auth.so loadmodule auth_db.so modparam(auth_db, calculate_ha1, yes) modparam(auth_db, password_column, password) #modparam(auth_db, db_url, modparam(auth_db, db_url,

Re: [OpenSIPS-Users] issues with webrtc in 2.1 stable

2015-06-03 Thread Tito Cumpen
The traces include the last 2000 lines of the opensips log. On Wed, Jun 3, 2015 at 12:44 PM, Tito Cumpen t...@xsvoce.com wrote: Razvan, I have attached two traces. The first call opensips doesn't transmit the bye sent from the ws UAS. The second call is initiated from the ws uac and

Re: [OpenSIPS-Users] Drop SIP 407 / 401 / 403 reply

2015-06-03 Thread Tito Cumpen
Depending on what you wish to do this is a way of forwarding the failure to another host. Make sure this is the failure route you are declaring within your subroute failure_route[1] { if (t_was_cancelled()) { exit; } # (t_check_status(477|401|403)) { rewritehostport(ip:port); t_relay(); exit; }

[OpenSIPS-Users] Drop SIP 407 / 401 / 403 reply

2015-06-03 Thread Podrigal, Aron
Hi, When I receive a 407 / 401 / 403 response from my carrier, I want to handle that as a failure and trigger the failure route without fowarding the 40x reply upstream. How would I do that? -- Aron Podrigal - //Be happy :-) ___ Users mailing list