Re: [SR-Users] [sr-dev] Testing SIP Outbound / RFC5626 (Was: Freezing for next major release)

2013-01-07 Thread Juha Heinanen
Peter Dunkley writes: > One requirement of an outbound capable registrar is that if a flow fails > (edge proxy returns a 430) the registrar should realise that the flow is > now dead and remove that contact binding from its database so it is not > used again as well as trying the next contact. I

Re: [SR-Users] [sr-dev] Testing SIP Outbound / RFC5626 (Was: Freezing for next major release)

2013-01-07 Thread Juha Heinanen
Peter Dunkley writes: > I was wondering if you could provide an example of how to use > lookup()/lookup_branches(), t_load_contacts(), t_next_contacts(), and > t_next_contacts_flows() for registrar supporting outbound with an edge > proxy? peter, in my tests i did like this: 1) in route block,

[SR-Users] raw_query is crashing....

2013-01-07 Thread Krishna Kurapati
Hi, Since there is no way to limit the result set to 1, I tried to use raw_query inside msilo module. Everytime it executes, it is crashing. The same query if I run in mysql shell, it is returning successfully. Here is the code That I added: query_len = snprintf(query, 2048, "SELECT * FROM %.*s

Re: [SR-Users] [sr-dev] Testing SIP Outbound / RFC5626 (Was: Freezing for next major release)

2013-01-07 Thread Peter Dunkley
Hi Juha, I was wondering if you could provide an example of how to use lookup()/lookup_branches(), t_load_contacts(), t_next_contacts(), and t_next_contacts_flows() for registrar supporting outbound with an edge proxy? >From the documentation of these functions it does look like parallel and seri

Re: [SR-Users] [sr-dev] Testing SIP Outbound / RFC5626 (Was: Freezing for next major release)

2013-01-07 Thread Peter Dunkley
Hi Juha, I assumed as much, but what I haven't had the chance to do myself yet is the full end-to-end scenario where the Kamailio edge proxy indicates a broken flow and the registrar successfully re-routes through another flow. Peter On 7 Jan 2013, at 19:46, Juha Heinanen wrote: > Peter Dunk

[SR-Users] LCR weight

2013-01-07 Thread Ricardo Martinez
Hello. I have a doubt about the WEIGHT value in the LCR module. In the past we used the Kamailio version 1.5.2 and in that version LCR weight was calculated by a little script called lcr_weight_script.php. There was not “percent” values like 50% and 50% for two gateways despite that the probab

Re: [SR-Users] TCP Path received quotes

2013-01-07 Thread Spencer Thomason
Hello Daniel and Andrew, Sorry to dig up an old thread, but I'm just now getting around to a more permanent fix for this. Is there a way to urlencode the received parameter? See: http://jira.freeswitch.org/browse/FS-4989 Thanks in advance, Spencer On Sep 25, 2012, at 1:23 PM, Daniel-Constanti

Re: [SR-Users] [sr-dev] Testing SIP Outbound / RFC5626 (Was: Freezing for next major release)

2013-01-07 Thread Juha Heinanen
Peter Dunkley writes: > I haven't been directly involved with the coding of the registrar stuff. > This does sound like testing worth doing. i did the registrar stuff and tested it with baresip, which supports outbound. more testing is of course welcome. -- juha ___

Re: [SR-Users] Multi tenant Kamailio

2013-01-07 Thread Rumen Mihailov
Hello Sammy, Almost all of the answer is clear however it is not possible to point the URLs to my Kamailio as those URLs are actually company URLs is it OK to use subdomains for the purpose ? Best regards, Rumen http://itradebg.com On 7 January 2013 21:22, SamyGo wrote: > Hi Rumen, > > Im sorry

Re: [SR-Users] Having "modparam" options in the database

2013-01-07 Thread Glenn O Larsen
On Fri, Jan 4, 2013 at 4:18 PM, Henning Westerholt wrote: > Am Donnerstag, 3. Januar 2013, 16:14:59 schrieb Glenn O Larsen: >> >> Is there a way to read modparam config from a database? > probably the configuration database module - cfg_db is implementing what > you're > searching for. But I per

Re: [SR-Users] Multi tenant Kamailio

2013-01-07 Thread SamyGo
Hi Rumen, Im sorry to have missed the chance to give you extended details earlier. As per my experience you've to do the following: 1. Load the domain.so module. Point the domain names (DNS URLs) to your kamailio IP adress and add those domain names into the domain table. 2. Set the Registrar, A

[SR-Users] Multi tenant Kamailio

2013-01-07 Thread Rumen Mihailov
Hello Kamailio, VoIP and asterisk gurus, I have the following really complicated scenario to solve. I have CompanyA which has extensions 100-120 I have CompanyB which has extensions 100-115 I have CompanyC which has extensions 100-130 Now I want to have all those extensions on a single kamailio

[SR-Users] NAT'ed RLS setup

2013-01-07 Thread Dmytro Bogovych
Greetings. I have kamailio 3.3.3 setup on server behind the nat. Nat forwards ports for tls/tcp/udp. This setup worked without rls ok. I added necessary modules - rls, pua, xcap etc. Updated a config file and db. Client application uploads xcap documents ok; after app sends subscribe request to

Re: [SR-Users] Kamailio World Conference - Registration is open

2013-01-07 Thread Konstantin M.
Hello. Are you plan to record a conference and publish on site ? I'd like to visit but I can't. Would be good to see a recorded conference. Thanks! 2013/1/7 Daniel-Constantin Mierla > Hello, > > the registration for Kamailio World Conference is now open! You can see > more details and register

Re: [SR-Users] why use received as RURI for nathelper OPTIONS ping?

2013-01-07 Thread Andrew Pogrebennyk
On 01/07/2013 01:29 PM, Andrew Pogrebennyk wrote: > What I don't understand is why kamailio sets RURI of the OPTIONS message > to value of "received" instead of the contact. I suspect a bug in the > parser somewhere along these lines: > >> > rval = >> > ul.get_all_ucontacts(buf,cb

[SR-Users] Kamailio World Conference - Registration is open

2013-01-07 Thread Daniel-Constantin Mierla
Hello, the registration for Kamailio World Conference is now open! You can see more details and register at: - http://conference.kamailio.com/k01/registration/ There is already a great group of speakers and interesting proposed talks. More regarding the content will be published in the n

[SR-Users] Timeout for t_uac_dlg per request

2013-01-07 Thread David
Hello, I am running Kamailio 3.2.x, I am using udp mi to send a t_uac_dlg command, :t_uac_dlg: NOTIFY sip:pho...@proxy.lan . . "From:sip:dae...@proxy.lan To: Contact:sip:dae...@proxy.lan" # I would like to know if I can change the timeout for this request. Running a packet sniffer on the proxy

Re: [SR-Users] Kamailio behind NAT - best practice

2013-01-07 Thread Klaus Darilion
Hi all! On 04.01.2013 18:57, Ovidiu Sas wrote: Hello Klauss, I use record_route_preset for this kind of scenarios: http://kamailio.org/docs/modules/3.3.x/modules_k/rr.html#id2550086 That was the main reason that I enhanced record_route_preset with the second parameter (see the Note on string2).

Re: [SR-Users] TLS with self-singned certificates

2013-01-07 Thread Iurii Andamasov
Hello, Thanks for links It's works now. On 07.01.2013, at 16:30, Klaus Darilion wrote: > It depends on what you want to configure. > > If the softswitch shall be authenticated by TLS then of course you have to > set "require_certificate=yes". > > Further, find out why the handshake fails.

Re: [SR-Users] TLS with self-singned certificates

2013-01-07 Thread Klaus Darilion
It depends on what you want to configure. If the softswitch shall be authenticated by TLS then of course you have to set "require_certificate=yes". Further, find out why the handshake fails. Use tcpdump/wireshark to find out who sends the SSL alert. It seems the softswitch sends the alert: t

Re: [SR-Users] Testing SIP Outbound / RFC5626 (Was: Freezing for next major release)

2013-01-07 Thread Peter Dunkley
Hi Richard, I haven't been directly involved with the coding of the registrar stuff. This does sound like testing worth doing. Also worth adding tests to check that if you get a 430 back after routing to one reg-id you can try the next. Peter On Mon, 2013-01-07 at 12:54 +, Richard Brady wro

[SR-Users] Testing SIP Outbound / RFC5626 (Was: Freezing for next major release)

2013-01-07 Thread Richard Brady
Hi Peter Great work on this! We'd like to help you test. The test I have in mind, which we could create using SIPp, would be to register multiple contacts with the same instance-id (i.e. "sip.instance" param) but different reg-id params. Then send an INVITE to that AoR and make sure the forking i

Re: [SR-Users] Kamailio behind NAT - best practice

2013-01-07 Thread Klaus Darilion
Hi Richard! I wonder why I have to set mhomed. In the scenario I described both sockets are in the same network segment and I would guess that automatic socket selection will not work and always chooses the same socket. I think I have to set the proper outgoing socket manually with force_send

Re: [SR-Users] Core fm_realloc function

2013-01-07 Thread Klaus Darilion
Then it seems that this fix and is not related to your bug FS247. You should re-open the bug report. regards Klaus On 03.01.2013 17:21, Bruno Bresciani wrote: My openSSL version is 0.9.8... According to http://openssl.6102.n7.nabble.com/Custom-free-routine-is-invoked-with-NULL-argument-in-open

[SR-Users] why use received as RURI for nathelper OPTIONS ping?

2013-01-07 Thread Andrew Pogrebennyk
Some Fritzbox devices don't accept the OPTIONS ping generated by kamailio with RURI: sip:11.22.3.4:5060. In the location table we have: received: sip:11.22.3.4:5060 contact: sip:user@11.22.3.4:5060;uniq=6633BC1386F4D4CC4EBD64DC7E967 path: Kamailio version is 3.3.2 and the nathelper config is noth