[SR-Users] Carrierroute question

2015-04-14 Thread Nelson Migliaro
Hello everyone, I have a SIP provider that gives me access to different routes over the same IP address but different prefixes. I have to send all calls to the same IP but I need to inlcude a prefix to allow vendor to route calls to different carriers. I will use carrierroute (cr) module and in

Re: [SR-Users] CDR fields are all strings

2015-04-14 Thread Mickael Marrache
I created a pull request that I tested using MongoDB. It works fine. Let me know if I can help more. Mickael From: Mickael Marrache [mailto:mickaelmarra...@gmail.com] Sent: Monday, April 13, 2015 5:13 PM To: mico...@gmail.com; 'Kamailio (SER) - Users Mailing List' Subject: RE: [SR-

Re: [SR-Users] Carrierroute question

2015-04-14 Thread Pawel Kuzak
Hallo Nelson, What Kamailio version do you use? We have implemented this feature to carrierroute because we didn't want carrierroute to send a request to an already tried host again. Considering your use case, we could extend the module with an additional parameter to offer the option to deacti

Re: [SR-Users] Error configuring kamailio with sql.

2015-04-14 Thread Ben Langfeld
What steps have you taken so far to address the issue? Do you understand what the error is telling you? On 13 April 2015 at 06:48, Satish Verma wrote: > Respected sir, > I want to configure SIP voip server using tutorial ( > http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour)

[SR-Users] Playing with presence module and offline AoR

2015-04-14 Thread Roberto Fichera
Hi All, I've started to play with presence module on kamailo 4.1.6, everything seems to work quite well up to now except one thing. I would like to notify the presence status of a NOT currently registered AoR as not online instead of not present. How can I do that? Thanks in advance, Roberto F

Re: [SR-Users] CDR fields are all strings

2015-04-14 Thread Daniel-Constantin Mierla
OK, thanks! I will look over it very soon. Cheers, Daniel On 14/04/15 14:39, Mickael Marrache wrote: > > I created a pull request that I tested using MongoDB. > > > > It works fine. > > > > Let me know if I can help more. > > > > Mickael > > > > *From:*Mickael Marrache [mailto:mickaelmarr

[SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Daniel Tryba
Is there an easy way to figure out on which server a uac is registered when using a shared database (modparam("usrloc", "db_mode", 3)). When uac1 is registered on server1 (dns srv loadbalancing) and uac2 is on server2. A call from uac1 to uac2 with a simple lookup("location") will result in ser

Re: [SR-Users] Error configuring kamailio with sql.

2015-04-14 Thread Daniel-Constantin Mierla
The tutorial can be for a rather old version, which had different functions in the nathelper/rtpproxy module. Some hints to get it going: - load rtpproxy module if not loaded and set the appropriate parameters - replace the functions related to force/unforce rtp proxy with rtpproxy_manage() -- you

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Olle E. Johansson
On 14 Apr 2015, at 17:06, Daniel Tryba wrote: > Is there an easy way to figure out on which server a uac is registered when > using a shared database (modparam("usrloc", "db_mode", 3)). > > When uac1 is registered on server1 (dns srv loadbalancing) and uac2 is on > server2. A call from uac1 t

Re: [SR-Users] Carrierroute question

2015-04-14 Thread Nelson Migliaro
Thank you for the quick answer. I will create 3 A register in my public dns provider over internet and all of them will resolve the same IP. If I apply the patch I will loose the "dont not send call to same gateway" option. Again, thank you for the quick response. Regards, Nelson.- 2015-04

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Daniel-Constantin Mierla
On 14/04/15 17:11, Olle E. Johansson wrote: > On 14 Apr 2015, at 17:06, Daniel Tryba wrote: > >> Is there an easy way to figure out on which server a uac is registered when >> using a shared database (modparam("usrloc", "db_mode", 3)). >> >> When uac1 is registered on server1 (dns srv loadbalan

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Daniel Tryba
On Tuesday 14 April 2015 17:11:45 Olle E. Johansson wrote: > > I could use sqlops to fetch this manually, but is there an easier way I > > am > > missing? > > Use the path header? When registering directly to the srv records loadbalanced sip servers there is no path. But forcefully adding it be

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Ben Langfeld
Note that you could equally use add_path(). On 14 April 2015 at 13:33, Daniel Tryba wrote: > On Tuesday 14 April 2015 17:11:45 Olle E. Johansson wrote: > > > I could use sqlops to fetch this manually, but is there an easier way I > > > am > > > missing? > > > > Use the path header? > > When regi

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Daniel Tryba
On Tuesday 14 April 2015 17:59:01 Daniel-Constantin Mierla wrote: > Upcoming major release has some embedded functionality for this case, > relying on path -- iirc, was added by Charles Chance: Good to know, if this could do something with DNS SRV records to find out if a recieved socket in the l

Re: [SR-Users] Shared location database used by independend kamailios

2015-04-14 Thread Daniel Tryba
On Tuesday 14 April 2015 13:37:42 Ben Langfeld wrote: > Note that you could equally use add_path(). add_path(); msg_apply_changes(); Results in: SIP/2.0 400 Bad Request. ... P-Registrar-Error: Path parse error. Server: kamailio (4.2.4 (x86_64/linux)). Without msg

[SR-Users] DNS resolution and logical domain

2015-04-14 Thread Mickael Marrache
Hi, I sometimes get the following errors: kamailio[16098]: ERROR: [resolve.c:1693]: sip_hostport2su(): could not resolve hostname: "mycompany.com" kamailio[16098]: ERROR: tm [ut.h:319]: uri2dst2(): failed to resolve "mycompany.com" mycompany.com cannot be resolved using DNS (there is