Re: [SR-Users] Fwd: Kamailio + IMS + sipml5 call to softphone

2016-11-01 Thread Alberto Llamas
HI Serhat, Is it possible to have a packet capture for the cases you mention. Regards, On Tue, Nov 1, 2016 at 12:15 PM, Serhat Guler wrote: > Hi, > > I have a setup as follows: > > IMS enabled on Kamailio and whereas websockets are enabled for PCSCF for > webrtc calls. > > Calls(both audio and

Re: [SR-Users] Fwd: TOPOH Module in Kamialio

2016-10-06 Thread Ginti Saurabh
Thanks Danial :) for expaining On Thu, Oct 6, 2016 at 4:26 PM, Daniel-Constantin Mierla wrote: > topoh is a module that provides topology hiding by masking IP addresses in > Via, Contact and Record-Route headers. Making is done by replacing the > original ip with mask ip and the original ip is h

Re: [SR-Users] Fwd: TOPOH Module in Kamialio

2016-10-06 Thread Daniel-Constantin Mierla
topoh is a module that provides topology hiding by masking IP addresses in Via, Contact and Record-Route headers. Making is done by replacing the original ip with mask ip and the original ip is hidden in parameters after it is ecrypted, so it can be decrypted on the other way of the traffic. If yo

Re: [SR-Users] Fwd: TOPOH Module in Kamialio

2016-10-06 Thread Ginti Saurabh
Danial, i have gone thorugh the URl, but a little bit confuse that what exactly this module does? If i commented out thease lines then what will be the effect or will it effect the system? On Thu, Oct 6, 2016 at 3:18 PM, Daniel-Constantin Mierla wrote: > Hello, > > On 06/10/16 11:45, Ginti Saur

Re: [SR-Users] Fwd: TOPOH Module in Kamialio

2016-10-06 Thread Daniel-Constantin Mierla
Hello, On 06/10/16 11:45, Ginti Saurabh wrote: > Hi Danial, > > below is the line. > modparam("topoh", "mask_ip", "192.168.0.1") > > loadmodule "topoh.so" if you comment the lines above, then the topoh module won't be loaded and the IP addresses in routing headers will not be masked anymore. To

Re: [SR-Users] Fwd: TOPOH Module in Kamialio

2016-10-06 Thread Ginti Saurabh
Hi Danial, below is the line. modparam("topoh", "mask_ip", "192.168.0.1") loadmodule "topoh.so" On Thu, Oct 6, 2016 at 3:03 PM, Daniel-Constantin Mierla wrote: > Hello, > On 05/10/16 13:30, Ginti Saurabh wrote: > > Hi, > > Can you let me know what is TOPOH module do in kamailio? > > what do

Re: [SR-Users] Fwd: TOPOH Module in Kamialio

2016-10-06 Thread Daniel-Constantin Mierla
Hello, On 05/10/16 13:30, Ginti Saurabh wrote: > Hi, > > Can you let me know what is TOPOH module do in kamailio? > > what does it do? > > and if commented out this line then will it effect the system? what line and what system are you referring to? Cheers, Daniel -- Daniel-Constantin Mierla ht

Re: [SR-Users] Fwd: Kamailio with SNMP

2016-08-23 Thread Daniel-Constantin Mierla
Hello, On 23/08/16 18:35, Rodrigo Moreira wrote: > Hello, > > Once set up and running the Kamailio environment would like to install > SNMP and incorporate the functionality to collect the statistics of > IMS entities. > > It's possible? snmpstats module is independent and can be loaded in any co

Re: [SR-Users] Fwd: [kamailio]: Querie on ratelimit module

2016-03-01 Thread Prashant Desai
Thanks Sammy, You have correctly understood the requirement. Initially we also thought to use the approach which you have mentioned. But, Since we came across ratelimit module which all ready has inbuilt CPU Monitoring and other techniques so we started using it. If we can we get some help on this

Re: [SR-Users] Fwd: [kamailio]: Querie on ratelimit module

2016-03-01 Thread SamyGo
Hi Prashant, If I were to do it the lazy way and if I have understood your requirement completely. I might've ended up using snmp monitoring of the CPU and set a memcache/redis variable to be 0 or 1 in case CPU goes above or below 70. In my kamailio.cfg I would just check that redis variable and de

Re: [SR-Users] Fwd: Invalid Configuration File

2016-01-27 Thread Sunil More
Hello Andrew, Seems like the config file is not able to find the modules. Can you check the modules path. Compare the modules path in both the files. Regards, Sunil More On Jan 27, 2016 7:36 PM, "Andrew J. Smith" wrote: > Hello! > > I followed this tutorial > (http://kb.asipto.com/kamailio:skyp

Re: [SR-Users] Fwd: Kamailio and NAT

2016-01-20 Thread Nelson Migliaro
>From what I saw, Nat´d por does not change. It always use 52548. Questions: 1 - In order to get rport, as you mentioned, i can use transformation. ¿What variable / pseudovariable I can use to get a string that contains rport? 2 - After I get that info, what would be the best way to insert that

Re: [SR-Users] Fwd: Kamailio and NAT

2016-01-19 Thread Daniel-Constantin Mierla
To get rport you can use transformations. If you restart kamailio, is the firewall preserving the same value for rport? Cheers, Daniel On 19/01/16 18:18, Nelson Migliaro wrote: > I am thinking that I cat get the port during the first call and then > use that port for the rest of calls. > Maybe t

Re: [SR-Users] Fwd: Kamailio and NAT

2016-01-19 Thread Nelson Migliaro
I am thinking that I cat get the port during the first call and then use that port for the rest of calls. Maybe that first call will fail but after that, all calls will go fine. Example of a Trying showing received port: 52548 ¿Do you know what pseudovariable represent that value? I tested with

Re: [SR-Users] Fwd: Kamailio and NAT

2016-01-14 Thread Daniel-Constantin Mierla
Ahh, I thought Asterisk is in the public internet, but actually you connect to a provider (vendor), which seems to run Kamailio as well. Using information from 100 trying is too late, as the INVITE was already sent... so one more question before trying to propose a solution. Do you have to registe

Re: [SR-Users] Fwd: Kamailio and NAT

2016-01-14 Thread Nelson Migliaro
Yes it is possible, but is there an easy way to workaround the issue using Kamailio. Because I have the port because vendor is sending that info in Trying: 2016/01/13 20:10:15.842055 VENDOR-IP:5060 -> PRIVATE-IP-KAMAILIO:5060 SIP/2.0 100 trying -- your call is important to us Via: SIP/2.0/UDP PUB

Re: [SR-Users] Fwd: Kamailio and NAT

2016-01-14 Thread Daniel-Constantin Mierla
Not really up to date with all Asterisk features -- do you know if you can append a custom header to a SIP response that is going to be generated by Asterisk? Eventually the reply for an OPTIONS request. Cheers, Daniel On 14/01/16 17:19, Nelson Migliaro wrote: > Yes, I manage all devices, even th

Re: [SR-Users] Fwd: Kamailio and NAT

2016-01-14 Thread Nelson Migliaro
Yes, I manage all devices, even the internet router but it does not allow static pat. 2016-01-14 16:07 GMT+01:00 Daniel-Constantin Mierla : > Do you control the Asterisk? If yes, depending on Asterisk capabilities of > building replies, you may be able to do some automation to detect the > extern

Re: [SR-Users] Fwd: Kamailio and NAT

2016-01-14 Thread Daniel-Constantin Mierla
Do you control the Asterisk? If yes, depending on Asterisk capabilities of building replies, you may be able to do some automation to detect the external port. Cheers, Daniel On Thu, Jan 14, 2016 at 3:47 PM, Nelson Migliaro wrote: > There is not a public Kamailio, only one Kamailio behind NAT,

Re: [SR-Users] Fwd: Kamailio and NAT

2016-01-14 Thread Nelson Migliaro
There is not a public Kamailio, only one Kamailio behind NAT, Right now the configuration is: Asterisk <-> Kamailio (Private IP + advertise public IP + RTP Proxy ) <-> Internet router (public IP + symmetric na) <-> Internet Regards, 2016-01-14 15:43 GMT+01:00 Daniel-Constantin Mierla : > Is t

Re: [SR-Users] Fwd: Kamailio and NAT

2016-01-14 Thread Daniel-Constantin Mierla
Is the kamailio behind nat communicating with another kamailio on a public IP? Cheers, DAniel On Thu, Jan 14, 2016 at 1:33 PM, Nelson Migliaro wrote: > Thank you Daniel for your answer, > > As you mention, there is a symmetric nat and router does not allow a > static NAT. > > By sniffing traffi

Re: [SR-Users] Fwd: DMQ htable replication issue.

2015-05-12 Thread Daniel-Constantin Mierla
Hello, On 12/05/15 10:50, José Seabra wrote: > Hello Daniel, > > This issue was my mistake, I have a htable called fscache that > connects the call-ids of each call with freeswitch ip, and now I'm > re-using the same htable to save other information that i need and > replicate it to others kamail

Re: [SR-Users] Fwd: DMQ htable replication issue.

2015-05-12 Thread José Seabra
Hello Daniel, This issue was my mistake, I have a htable called fscache that connects the call-ids of each call with freeswitch ip, and now I'm re-using the same htable to save other information that i need and replicate it to others kamailios through DMQ. The random values in cname field that i

Re: [SR-Users] Fwd: DMQ htable replication issue.

2015-05-11 Thread José Seabra
Hi Daniel, Tomorrow i will do more tests in order to have sure about that, because maybe i did something wrong. but tomorrow i will report back to you. Thank you BR José Seabra 2015-05-11 15:53 GMT+01:00 Daniel-Constantin Mierla : > Hello, > > to be sure is no problem there -- is it like if you

Re: [SR-Users] Fwd: DMQ htable replication issue.

2015-05-11 Thread Daniel-Constantin Mierla
Hello, to be sure is no problem there -- is it like if you use item name "queue:2" you get issues? It should not matter if inside item name is ":" or "::" -- that is part of static string. Or it was no relation with the ":" inside the item name -- somehow I couldn't understand exactly where you h

Re: [SR-Users] Fwd: Need a support for Siremis and kamailio server

2015-01-14 Thread ram
Hi Rai Post your logs and configuration to suggest best. Ram On Wed, Mar 5, 2014 at 12:51 PM, Gaurav Rai wrote: > Hi > I am using a siremis and *kamailio * hosted server with lylix.net and > they give a link for getting a support about Siremis. > I need a support to how to make OUT call on PST

Re: [SR-Users] Fwd: Extension and carrier same ip problem

2014-11-10 Thread BelTex ISP
Indeed, not an extra proxy, sory for that unclarity Daniel-Constantin Mierla maandag 10 november 2014 10:31 On 09/11/14 16:32, Martin Snelgoedkoop wrote: You say you prefer not to use a proxy, but the line above indicates kamailio in front of freeswitch. Do you mean

Re: [SR-Users] Fwd: Extension and carrier same ip problem

2014-11-10 Thread Daniel-Constantin Mierla
On 09/11/14 16:32, Martin Snelgoedkoop wrote: >> Hi, we use Kazoo which loads acl and dial plan out a DB. >> We run in to smth that seems freeswitch default behavior so that's why I >> write here. >> >> We have a carrier that needs to register a extension to our platform as well. >> They use the

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-14 Thread Thanh Truong
Hi Daniel, Can I upgrade from my kamailio 4.1 to this? I have install from git version. Can you help me to do that ? which step i need to do ? Do i need to remove the current version ? thanks, Thanks, ThanhTruong. On Tue, Oct 14, 2014 at 8:44 PM, Daniel-Constantin Mierla wrote: > Hello, >

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-14 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > You should start a dedicated topic on sr-dev, so the others can have an > opinion, especially the initial developer of that function (iirc, Juha). > Deciding in this thread is a bit hidden from the eyes of those that > could be interested in the function. yes

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-14 Thread Daniel-Constantin Mierla
You should start a dedicated topic on sr-dev, so the others can have an opinion, especially the initial developer of that function (iirc, Juha). Deciding in this thread is a bit hidden from the eyes of those that could be interested in the function. Cheers, Daniel On 14/10/14 16:08, Ovidiu Sa

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-14 Thread Ovidiu Sas
Should we deprecate add_contact_alias()? Add a warning message. -ovidiu On Tue, Oct 14, 2014 at 9:44 AM, Daniel-Constantin Mierla wrote: > Hello, > > short update on this topic - the master and 4.2 branches include a patch > that should make presence work with set_contact_alias(). > > It would b

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-14 Thread Daniel-Constantin Mierla
Hello, short update on this topic - the master and 4.2 branches include a patch that should make presence work with set_contact_alias(). It would be safer to use set_contact_alias(), especially if you have UA that checks R-URI for incoming requests. Cheers, Daniel On 13/10/14 04:42, Thanh

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-12 Thread Thanh Truong
Hi All, I have added : fix_natted_contact() and it fix this issue. Thank all for help. Thanks, ThanhTruong. On Fri, Oct 10, 2014 at 8:39 PM, Ovidiu Sas wrote: > I would prefer to have add_contact_alias deprecated and then dropped (less > confusing this way). > > -ovidiu > > On Fri, Oct 10,

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-10 Thread Ovidiu Sas
I would prefer to have add_contact_alias deprecated and then dropped (less confusing this way). -ovidiu On Fri, Oct 10, 2014 at 9:31 AM, Daniel-Constantin Mierla wrote: > > On 10/10/14 14:54, Ovidiu Sas wrote: > > I don't think this is documented anywhere and it's challenging for someone > not

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-10 Thread Daniel-Constantin Mierla
On 10/10/14 14:54, Ovidiu Sas wrote: I don't think this is documented anywhere and it's challenging for someone not familiar with kamailio to deal with it. Maybe we should open a bug report to make presence *_contact_alias friendly. add_contact_alias() is not going to be (very easy) friendly, b

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-10 Thread Ovidiu Sas
I don't think this is documented anywhere and it's challenging for someone not familiar with kamailio to deal with it. Maybe we should open a bug report to make presence *_contact_alias friendly. -ovidiu On Fri, Oct 10, 2014 at 5:16 AM, Daniel-Constantin Mierla wrote: > Hello, > > if the prese

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-10 Thread Daniel-Constantin Mierla
Hello, if the presence server is first hop after a nat router, then use fix_natted_contact() for SUBSCRIBE requests instead of add/set_contact_alias(). Cheers, Daniel On 05/10/14 06:52, Thanh Truong wrote: Hi all, I have install kamailio 4.2 latest version with presence module. But I cant

Re: [SR-Users] Fwd: Reqd. help on Corex (Obfuscate) - Kamailio 4.2.x

2014-09-16 Thread Daniel-Constantin Mierla
Hello, I would recommend to develop (or extend) a module for it if you have C code -- this should be trivial if you have C knowledge and the other code is already in C -- especially if the performance is a demand. For a proof of concept, expecting that the encryption/description can be done

Re: [SR-Users] Fwd: Need help with Routing presence NOTIFY messages

2014-07-09 Thread Allen Zhang
handle_subscribe(); t_release(); It looks like you call the function twice. Allen From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Veerabhara Gundu Sent: Thursday, 10 July 2014 9:18 a.m. To: Kamailio (SER) - Users Mailing Li

Re: [SR-Users] Fwd: Need help with Routing presence NOTIFY messages

2014-07-09 Thread Veerabhara Gundu
nt:* Wednesday, 9 July 2014 5:15 p.m. > > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] Fwd: Need help with Routing presence NOTIFY > messages > > > > I am using record route in config file for all dialog forming requests , > but still act

Re: [SR-Users] Fwd: Need help with Routing presence NOTIFY messages

2014-07-08 Thread Allen Zhang
And you use loose_route() for in dialog requests? From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Veerabhara Gundu Sent: Wednesday, 9 July 2014 5:15 p.m. To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Fwd: Need help with

Re: [SR-Users] Fwd: Need help with Routing presence NOTIFY messages

2014-07-08 Thread Veerabhara Gundu
I am using record route in config file for all dialog forming requests , but still active_watchers table showing an empty record in record router column. Below is the config file I ma using to process subscribe. remove_hf("Route"); if (is_method("INVITE|SUBSCRIBE")) record_route(); also while pro

Re: [SR-Users] Fwd: Need help with Routing presence NOTIFY messages

2014-07-08 Thread Allen Zhang
Hi, Other please correct me if I’m wrong. NOTIFY should use record-route header. Make sure your kamailio servers set the record-route header for SUBSCRIBE requests. Regards, Allen From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Veerabhara

Re: [SR-Users] Fwd: Early dialog

2014-04-28 Thread Charles Chance
Hi, To my knowledge, only confirmed dialogs are ever persisted to the database. Regards, Charles On 28 April 2014 15:10, Ivan Baques Garcia wrote: > Hi, > > I'm using modparam("dialog", "db_mode", 1), but only confirmed dialogs are > shown in the database. > > How I can enable to show uncon

Re: [SR-Users] Fwd: rls multipart body does not contain watcherinfo+xml

2014-04-16 Thread Mihai Marin
Hello Daniel, Thank you for your reply. I checked the RFC 4662 document witch contains the rls notify body. Indeed, the watcherinfo body should not be present in the multipart response. But, I think that it's an issue with the RLS or (but I can't see how I could break this) in my configuration. Let

Re: [SR-Users] Fwd: rls multipart body does not contain watcherinfo+xml

2014-04-15 Thread Daniel-Constantin Mierla
Hello, iirc, there has to be a subscription for each event. Not sure it was amended by new RFC documents. Perhaps the best is to check with RFC 4662 and/or RFC 4826 (they are indicated by RLS module README). Have you tried with two subscriptions, one for each event? Cheers, Daniel On 15/04/

Re: [SR-Users] Fwd: About a bug when registering a Tandberg (Cisco) E20 to Kamailio - Crash Segfault at 18 IP - error 4 in auth_db.so

2014-02-12 Thread Daniel-Constantin Mierla
Hello, can you get the log messages with debug=3 in kamailio.cfg for this situation? Cheers, Daniel On 12/02/14 03:14, Pedro Niño wrote: Kamailio is having a crash (Segfault at 18 IP - error 4 in auth_db.so) when registering a cisco E20, via SIP Here is a full dbg backtrack, and the core d

Re: [SR-Users] Fwd: kamailio-4.1.1 avp issue within failure routes

2014-01-16 Thread Jason Penton
Great! Thanks Jose! I will ask Daniel to back-port. Daniel, when you get a chance can you back-port please? ;) Cheers Jason On Thu, Jan 16, 2014 at 4:46 PM, José Seabra wrote: > Hi Jason, > > I tested your patch and it is working well. > > Thank you > > Regards > > > 2014/1/16 Jason Penton >

Re: [SR-Users] Fwd: kamailio-4.1.1 avp issue within failure routes

2014-01-16 Thread José Seabra
Hi Jason, I tested your patch and it is working well. Thank you Regards 2014/1/16 Jason Penton > Hi Jose, > > I've just pushed a patch to master. Please can you test and get back to me. > > Cheers > Jason > > > On Thu, Jan 16, 2014 at 12:39 PM, Jason Penton > wrote: > >> Ok, that makes sens

Re: [SR-Users] Fwd: kamailio-4.1.1 avp issue within failure routes

2014-01-16 Thread Jason Penton
Hi Jose, I've just pushed a patch to master. Please can you test and get back to me. Cheers Jason On Thu, Jan 16, 2014 at 12:39 PM, Jason Penton wrote: > Ok, that makes sense. I have made a patch. I am just going to do some > tests to confirm all is okay and then will push to master. If your t

Re: [SR-Users] Fwd: kamailio-4.1.1 avp issue within failure routes

2014-01-16 Thread Jason Penton
Ok, that makes sense. I have made a patch. I am just going to do some tests to confirm all is okay and then will push to master. If your tests on master are successful we will back-port. Cheers Jason On Thu, Jan 16, 2014 at 12:36 PM, José Seabra wrote: > Hello Jason, > Yes i'm using async slee

Re: [SR-Users] Fwd: kamailio-4.1.1 avp issue within failure routes

2014-01-16 Thread José Seabra
Hello Jason, Yes i'm using async sleep function, within my failure route. Regards 2014/1/16 Jason Penton > Hi Jose, > > Are you using any async functions in your config file? Or is this just > standard failure route handling? > > Cheers > Jason > > > On Fri, Jan 10, 2014 at 4:28 PM, José Seab

Re: [SR-Users] Fwd: kamailio-4.1.1 avp issue within failure routes

2014-01-16 Thread Jason Penton
Hi Jose, Are you using any async functions in your config file? Or is this just standard failure route handling? Cheers Jason On Fri, Jan 10, 2014 at 4:28 PM, José Seabra wrote: > Hello Daniel, > > Please check the attachment. > > The calls is started for number 3001 from number 2...@admin.c

Re: [SR-Users] Fwd: Presence Proxy

2013-10-29 Thread Jan Gaida
Hello, RLS requires a change to agents and resources, but I need to do this in a transparent way. I will try to develop the module using PUA and Presence in the same way as the RLS module. Thank you for your help Regards Jan On Tue, Oct 29, 2013 at 10:41 AM, Daniel-Constantin Mierla < mico...@g

Re: [SR-Users] Fwd: Presence Proxy

2013-10-29 Thread Daniel-Constantin Mierla
Hello, not sure is exactly what you are looking for, but check a bit the rls module. If not matching your needs, you have to develop your own one. Cheers, Daniel On 10/23/13 9:15 AM, Jan Gaida wrote: Hello, I'd like to explain my scenario and the module I'd like to develop. I am hoping for

Re: [SR-Users] Fwd: kamailio registering on back-end asterisk with username and password

2013-10-01 Thread Stoyan Mihaylov
> > > How do I modify that example to recognize that a request is coming > from the same "user" ? > > Reading, and making experiments :) At least I worked such way. Logic must look like: If you have associated variable with that user - use already selected route. Else, ds_select_dst and associate

Re: [SR-Users] Fwd: kamailio registering on back-end asterisk with username and password

2013-09-30 Thread Paul Penev
2013/9/29 Stoyan Mihaylov : > I think, it will be much better to plane reorganization of whole process. To > start using Kamailio as registrar and load balance, and Asterisk as media > servers, dial plan etc. I agree. This is the next for me. I kind of hope to use freeswitch for that too. > But,

Re: [SR-Users] Fwd: kamailio registering on back-end asterisk with username and password

2013-09-29 Thread Stoyan Mihaylov
I think, it will be much better to plane reorganization of whole process. To start using Kamailio as registrar and load balance, and Asterisk as media servers, dial plan etc. But, in current situation, I can suggest next: 1. You can not use authorization of Kamailio. You can use Kamailio only and a

Re: [SR-Users] Fwd: multihomed Kamailio and enable_double_rr

2013-08-20 Thread Steve Davies
On 20 August 2013 20:16, Steve Davies wrote: > Sorry I didn't write what I meant. But the point was that the OpenSIPs on > 41.221.230.60 is not doing any Contact mangling. > > > Oh . I just looked properly and I'm wrong. Kamailio sends the upstream invite with the Contact still @172.160.230.1.

Re: [SR-Users] Fwd: multihomed Kamailio and enable_double_rr

2013-08-20 Thread Steve Davies
On 20 August 2013 20:13, Alex Balashov wrote: > On 08/20/2013 02:11 PM, Steve Davies wrote: > > But I don't quite understand your suggestion that the proxy on >> 41.221.230.60 should route the INVITE per the Record-Route. The >> record-route only says what path reply packets should take? >> >

Re: [SR-Users] Fwd: multihomed Kamailio and enable_double_rr

2013-08-20 Thread Alex Balashov
On 08/20/2013 02:11 PM, Steve Davies wrote: But I don't quite understand your suggestion that the proxy on 41.221.230.60 should route the INVITE per the Record-Route. The record-route only says what path reply packets should take? Record-Route indicates the path that _sequential requests_ sh

Re: [SR-Users] Fwd: enable only TLS transport on kamailio 4

2013-06-23 Thread Daniel-Constantin Mierla
Hello, On 6/23/13 5:25 PM, johnc wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'll try and do it tonight or tomorrow night. To re-create the error I think you would have to drop: listen=tls:127.0.0.1:5061 and add: listen=tls:192.168.0.1:5061 or whatever your IP was. Adding: li

Re: [SR-Users] Fwd: enable only TLS transport on kamailio 4

2013-06-23 Thread johnc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'll try and do it tonight or tomorrow night. To re-create the error I think you would have to drop: listen=tls:127.0.0.1:5061 and add: listen=tls:192.168.0.1:5061 or whatever your IP was. Adding: listen=tcp:127.0.0.1:5061 was the workaround.

Re: [SR-Users] Fwd: enable only TLS transport on kamailio 4

2013-06-23 Thread Daniel-Constantin Mierla
Hello, open an issue on bug tracker so it is not forgotten - the ling is on the right sidebar at kamailio.org Issue as known at some point I started to look at it with a simple config (pasted below), but was no crashing, then I had no time to get back to it. Attach the backtrace taken with g

Re: [SR-Users] Fwd: Re: http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour

2013-05-23 Thread Daniel-Constantin Mierla
Hello, On 5/21/13 8:47 PM, johnc wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've got my Kamailio script working, hurray! I had created SRV and NAPTR records for the proxies but was missing a critical line in the script: dns_try_naptr=yes This enables Kamailio to query the N

Re: [SR-Users] Fwd: Re: http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour

2013-05-21 Thread johnc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've got my Kamailio script working, hurray! I had created SRV and NAPTR records for the proxies but was missing a critical line in the script: dns_try_naptr=yes This enables Kamailio to query the NAPTR and SRV records and then decide on the ap

Re: [SR-Users] Fwd:

2013-04-29 Thread Charles Chance
Hi, Sincere apologies, not sure how this happened - please ignore, it was not me who sent it :/ Regards, Charles On 2 April 2013 08:21, Charles Chance wrote: > http://www.toyosoken.co.jp/ivtduw.php > > > ___ > SIP Express Router (SER) and Kamailio

Re: [SR-Users] Fwd: save accdb records with milisec in timestamp field

2013-04-23 Thread Daniel-Constantin Mierla
Hello, On 4/23/13 9:44 PM, Andreas Granig wrote: [...] - the names of the new column, respectively 'time_hires' sounds a bit strange to me, does it have any special meaning the word 'hires'? It's "hires" as in "high resolution" for the timestamp value. the result was reading quite strange,

Re: [SR-Users] Fwd: save accdb records with milisec in timestamp field

2013-04-23 Thread Andreas Granig
Hi Daniel, On 04/23/2013 08:51 PM, Daniel-Constantin Mierla wrote: - the tm variable is declared set, but not used - tz is also not used, gettimeofday() can take NULL as second parameter and iirc, tz is obsolete - I wonder if gettimeofday() can actually fail and return code should be checked fo

Re: [SR-Users] Fwd: save accdb records with milisec in timestamp field

2013-04-23 Thread Daniel-Constantin Mierla
Hello, looking now at the patch on the tracker (which somehow was assigned to me), I see few issues and have some questions: - the tm variable is declared set, but not used - tz is also not used, gettimeofday() can take NULL as second parameter and iirc, tz is obsolete - I wonder if gettimeof

Re: [SR-Users] Fwd: save accdb records with milisec in timestamp field

2013-04-23 Thread Andreas Granig
Hi Uri, On 04/23/2013 10:45 AM, Uri Shacked wrote: can anyone tell me if it is possible to save the time and date using accdb (mysql) with milisec as well? the field on the DB is set as TIMESTAMP. We've opened a ticket on the bug tracker some months ago, but it's still open at http://sip-ro

Re: [SR-Users] Fwd: kamailio rls mod

2013-03-06 Thread Juha Heinanen
Peter Dunkley writes: > The only open-source SIP client I know of with RLS support is Blink (for > Mac only at the moment). how about sip-subscribe-rls cli command that is part of sipclients package? i have used it in some rls tests. -- juha ___ SIP

Re: [SR-Users] Fwd: kamailio rls mod

2013-03-06 Thread Peter Dunkley
Jitsi does not currently support RLS so this will not work at all. The only open-source SIP client I know of with RLS support is Blink (for Mac only at the moment). Blink won't work with Kamailio at the moment either. This is because there is a huge problem with the SIP SIMPLE specifications

Re: [SR-Users] Fwd: kamailio rls mod

2013-03-05 Thread Dmytro Bogovych
AFAIK after 1) Jitsi should send subscribe message to xcap defined list. After this kamailio can send individual subscribe packets in backend. But as you described - Jitsi does not send this magic subscribe. Problem application is Jitsi - not kamailio. I spend couple of weeks diving into xcap/rls

Re: [SR-Users] [Fwd: Re: Deleting the expired contacts using the Rtimer module]

2013-02-14 Thread Daniel-Constantin Mierla
On 2/13/13 5:54 AM, kiran bhosale wrote: [...] thank you , we managed all the data-structures in a shared memory as u recommended and the problem got solved. thanks a lot again welcome! Daniel -- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.l

Re: [SR-Users] [Fwd: Re: Deleting the expired contacts using the Rtimer module]

2013-02-12 Thread kiran bhosale
kiran bhosale wrote: he array values that we are modifying and the function that we call periodically are from our module . to exemplify i have put the code below .our requirement is that we want to delete the expired contacts without relying on usrloc module as "we have not used

Re: [SR-Users] [Fwd: Re: Deleting the expired contacts using the Rtimer module]

2013-02-08 Thread Daniel-Constantin Mierla
The problem is that you declare the array in the private space of each process. Kamailio is a multi process application, a running instance starting several processes. Because you want to work on the same array from different processes, you must allocate that array in shared memory: When you

Re: [SR-Users] Fwd:

2013-02-05 Thread Manwe
El Tue, 5 Feb 2013 20:24:13 +0100 jose luis escribió: > http://www.lacucinalibanese.altervista.org/rjugo4.php?s=ot > Has mandado esto a la lista de kamailio? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@list

Re: [SR-Users] Fwd: Can Kamailio be used to redirect media between a client that switches from wifi to 3g/gsm

2012-06-25 Thread Klaus Darilion
Within Kamailio there is nothing you can do to trigger a reINVITE. You need a B2BUA (e.g. Asterisk) to force a reINVITE, and even then it is not sure that the SIP client sends properly updated SDP and contact header (I would try this with a manually sent reINVITE). Further, even if there is no

Re: [SR-Users] Fwd: commands out of sync you can't run this command now

2011-12-13 Thread Daniel-Constantin Mierla
On 12/13/11 3:33 PM, MingHon wrote: ya debug is set to 3 already.. also #!define WITH_DEBUG dont hav any -d command.. Interesting, maybe your syslog is diverting DEBUG level to a different file. Anyhow, I was hunting the tail overlapping issue which might be related or not to db connection

Re: [SR-Users] Fwd: Kamailio as SBC / LB Media-Servers farm

2011-11-05 Thread Sammy Govind
Hey Klaus, Thanks alot for your help, it was really helpful to understand few things. but the situation is the same :( unfortunately. Now I've two Asterisks one on Private and the other on Public. The Asterisk on PublicIP works well if I don't run RTPproxy in bridged mode ! The Asterisk on Private

Re: [SR-Users] Fwd: Kamailio as SBC / LB Media-Servers farm

2011-11-04 Thread Klaus Darilion
On 04.11.2011 10:57, Sammy Govind wrote: SORRY for PM but this is not getting through to the users List due to size. I have cc-ed the list. -- Forwarded message -- From: *Sammy Govind* mailto:govoi...@gmail.com>> Date: Fri, Nov 4, 2011 at 1:55 PM Subject: Re: [SR-Users] Kamail

Re: [SR-Users] Fwd: configuration

2011-09-13 Thread Daniel-Constantin Mierla
Hello, On 9/12/11 4:14 PM, neili ma wrote: Hello, Thanks a lot for your advice, I found and solved the problem thanks to the debugger, actually the problem was with modparam("auth_db", "db_url","mysql://openser:openserrw@localhost/openser") I just had to change localhost to my locationser

Re: [SR-Users] Fwd: configuration

2011-09-12 Thread Daniel-Constantin Mierla
Hello, you have another group of actions that can send 401 Unauthorized: if (!check_to()) { sl_send_reply("401", "Unauthorized"); exit; } You can either run with debug=4 and watch the syslog to see some hints in messag

Re: [SR-Users] Fwd: [RAI] SIPit 28 summary

2011-04-16 Thread Olle E. Johansson
16 apr 2011 kl. 20.27 skrev Daniel-Constantin Mierla: > > > On 4/16/11 7:30 PM, Olle E. Johansson wrote: >> 16 apr 2011 kl. 15.59 skrev Iñaki Baz Castillo: >> >>> 2011/4/15 Klaus Darilion: Support for various items in the proxy/registrars: 50% path 50% outbound 33% sip/s

Re: [SR-Users] Fwd: [RAI] SIPit 28 summary

2011-04-16 Thread Olle E. Johansson
16 apr 2011 kl. 19.36 skrev Iñaki Baz Castillo: > 2011/4/16 Olle E. Johansson : >> Yes, Kamailio is behind and after focusing so much on the merger of the code >> I think it would be good to plan some new features for a coming release. The >> issue is what of all the new SIP features we need. >

Re: [SR-Users] Fwd: [RAI] SIPit 28 summary

2011-04-16 Thread Iñaki Baz Castillo
2011/4/16 Daniel-Constantin Mierla : > As for next release, there are lot of features added > (http://sip-router.org/wiki/features/new-in-devel), more to come, but I > think most of developers here got tired hunting the ghosts of IETF specs > that never were any useful nor had a touch with the real

Re: [SR-Users] Fwd: [RAI] SIPit 28 summary

2011-04-16 Thread Alex Balashov
I wholeheartedly agree with Daniel's assessment. 3.x and 3.1.x have seen incredibly important feature gains that have been revolutionary for our work. It is true that a lot of the feature growth has been in internal/runtime capabilities of Kamailio as a pseudoprogrammatic execution environment,

Re: [SR-Users] Fwd: [RAI] SIPit 28 summary

2011-04-16 Thread Daniel-Constantin Mierla
On 4/16/11 7:30 PM, Olle E. Johansson wrote: 16 apr 2011 kl. 15.59 skrev Iñaki Baz Castillo: 2011/4/15 Klaus Darilion: Support for various items in the proxy/registrars: 50% path 50% outbound 33% sip/stun multiplexing 20% diversion 18% gruu 17% history-info 17% service-route C

Re: [SR-Users] Fwd: [RAI] SIPit 28 summary

2011-04-16 Thread Juha Heinanen
Iñaki Baz Castillo writes: > > No, it became RFC 5806 past year: > > > >  http://tools.ietf.org/html/rfc5806 > > But it has "Category: Historic". they could not make it anything else because official solution is history-info that almost no one has implemented. -- juha

Re: [SR-Users] Fwd: [RAI] SIPit 28 summary

2011-04-16 Thread Iñaki Baz Castillo
2011/4/16 Iñaki Baz Castillo : >> Diversion is deprecated. > > No, it became RFC 5806 past year: > >  http://tools.ietf.org/html/rfc5806 But it has "Category: Historic". -- Iñaki Baz Castillo ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-u

Re: [SR-Users] Fwd: [RAI] SIPit 28 summary

2011-04-16 Thread Iñaki Baz Castillo
2011/4/16 Olle E. Johansson : > Yes, Kamailio is behind and after focusing so much on the merger of the code > I think it would be good to plan some new features for a coming release. The > issue is what of all the new SIP features we need. > History-info seems useful for Asterisk, don't know ho

Re: [SR-Users] Fwd: [RAI] SIPit 28 summary

2011-04-16 Thread Olle E. Johansson
16 apr 2011 kl. 15.59 skrev Iñaki Baz Castillo: > 2011/4/15 Klaus Darilion : >> Support for various items in the proxy/registrars: >> 50% path >> 50% outbound >> 33% sip/stun multiplexing >> 20% diversion >> 18% gruu >> 17% history-info >> 17% service-route > > Correct me if I'm wrong: >

Re: [SR-Users] Fwd: [RAI] SIPit 28 summary

2011-04-16 Thread Iñaki Baz Castillo
2011/4/15 Klaus Darilion : > Support for various items in the proxy/registrars: >  50% path >  50% outbound >  33% sip/stun multiplexing >  20% diversion >  18% gruu >  17% history-info >  17% service-route Correct me if I'm wrong: Items implemented in Kamailio/sip-router: - path - diversion -

Re: [SR-Users] Fwd: Tutorial: SIP SIMPLE Presence Made Simple with Kamailio 3.1

2010-10-19 Thread Daniel-Constantin Mierla
On 10/19/10 10:58 AM, Iñaki Baz Castillo wrote: 2010/10/19 Daniel-Constantin Mierla: The fact is that http uri does not contain domain part usually, It should, at least if such devices want to "interoperate" (a word that doesn't exist in XCAP) with today's XCAP specifications. it is just d

Re: [SR-Users] Fwd: Tutorial: SIP SIMPLE Presence Made Simple with Kamailio 3.1

2010-10-19 Thread Iñaki Baz Castillo
2010/10/19 Daniel-Constantin Mierla : > The fact is that http uri does not contain domain part usually, It should, at least if such devices want to "interoperate" (a word that doesn't exist in XCAP) with today's XCAP specifications. > it is just document/resource reference part. I have seen serv

Re: [SR-Users] Fwd: Tutorial: SIP SIMPLE Presence Made Simple with Kamailio 3.1

2010-10-19 Thread Daniel-Constantin Mierla
Hello Andrey, seems ok, I will give some more thoughts about. At the end of the day, it is your decision as administrator how you enforce the xcap-uri format and authentication/authorization. The fact is that http uri does not contain domain part usually, it is just document/resource refere

Re: [SR-Users] Fwd: Tutorial: SIP SIMPLE Presence Made Simple with Kamailio 3.1

2010-10-19 Thread Daniel-Constantin Mierla
Hello, the module parses inside the xcap uri, but you can build a custom one in config and give it as parameter to xcap server functions. In this way you can do normalization, sanity checks, etc. For these kind of operations I added a variable that can be used to access parts of an xcap uri

Re: [SR-Users] Fwd: perl_exec() using parameter?

2010-10-19 Thread Daniel-Constantin Mierla
Hello, On 10/15/10 5:21 PM, "Nicolas Rüger" wrote: Hello, just realized that something like the following works now with kamailio v3.1... perl_exec("mytest",$fu); Whoever changed it...THANK YOU :) right, this is probably due to Andrei's new API for module functions that id

  1   2   >