Re: [SR-Users] Routing PSTN calls from Asterisk through Kamailio to UAC & loose_route

2015-03-27 Thread Anthony Messina
Vitaliy, thank you for being a second set of eyes on this. This issue was my fault completely--I had neglected to remove the "fromdomain" parameter on the Asterisk side when I was testing something else, so the calls coming from Asterisk were of course appearing to come from "example.com" which in

[SR-Users] Kamailio coredump when "INVITE" enter in failure route

2015-03-27 Thread José Seabra
Hi there, I have noticed that my kamailio proxy, version 4.2.2 is originating core dumps. This happens when Kamailio receives an INVITE in failure route, then execute the function async_sleep(3), after that changes request uri, then it stops with following error message shown below: [mem/f_m

Re: [SR-Users] is_present_hf error on select

2015-03-27 Thread Kyle Kurz
Thanks guys, that worked. Follow-up question, I want to reroute the incoming packet to the sip URI in that header, but Kamailio is complaining about the use of a variable in t_relay_to_udp. Putting $var(b) in quotes just makes it try to use that literal string as the target host. Is there another w

Re: [SR-Users] is_present_hf error on select

2015-03-27 Thread Javi Gallart
Hi On 27/03/15 16:09, Kyle Kurz wrote: I'm trying to use the is_present_hf function to detect the presence of a user-defined header and getting the following errors in my Kamailio logs: 2(12149) BUG: [select.c:426]: run_select(): Select structure has not been resolved 2(12149) ERROR: [lvalu

Re: [SR-Users] is_present_hf error on select

2015-03-27 Thread Daniel-Constantin Mierla
Hello, the selects were developed by SER guys in the past (when it was a separate project, 2005-2008), so I am not that familiar with all the features they support and the actual relation between header names and select paths. In this case I see that the dash '-' has to be replaced with underscore

[SR-Users] is_present_hf error on select

2015-03-27 Thread Kyle Kurz
I'm trying to use the is_present_hf function to detect the presence of a user-defined header and getting the following errors in my Kamailio logs: 2(12149) BUG: [select.c:426]: run_select(): Select structure has not been resolved 2(12149) ERROR: [lvalue.c:416]: lval_assign(): assignment failed a

[SR-Users] Planning to release Kamailio v4.2.4

2015-03-27 Thread Daniel-Constantin Mierla
Hello, I am considering to release a new maintenance version from latest stable branch - to be v4.2.4 - next week, most likely on Thursday, April 2. If there is anything important to get in and not discussed yet, bring the topic on development mailing list. Cheers, Daniel -- Daniel-Constantin M

Re: [SR-Users] Reload htable

2015-03-27 Thread Grant Bagdasarian
No problem Alex! Thanks Daniel :). I'm glad I'm using 4.2.3 :D -Original Message- From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Balashov Sent: Friday, March 27, 2015 3:08 PM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Reload htable On 03/2

Re: [SR-Users] Reload htable

2015-03-27 Thread Alex Balashov
On 03/27/2015 10:05 AM, Daniel-Constantin Mierla wrote: actually it is possible to execute rpc commands (e.g., htable.reload) from kamailio.cfg, starting with version 4.2 -- you have to use jsonrpc-s module and jsonrpc_exec() function: http://www.kamailio.org/docs/modules/stable/modules/jsonrpc

Re: [SR-Users] Reload htable

2015-03-27 Thread Daniel-Constantin Mierla
Hello, actually it is possible to execute rpc commands (e.g., htable.reload) from kamailio.cfg, starting with version 4.2 -- you have to use jsonrpc-s module and jsonrpc_exec() function: http://www.kamailio.org/docs/modules/stable/modules/jsonrpc-s.html#jsonrpc-s.f.jsonrpc_exec Practically, you

Re: [SR-Users] Reload htable

2015-03-27 Thread Grant Bagdasarian
Thanks Alex, for the detailed explanation! :) -Original Message- From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Balashov Sent: Friday, March 27, 2015 2:50 PM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Reload htable Grant, On 03/27/2015 09:

Re: [SR-Users] Reload htable

2015-03-27 Thread Alex Balashov
Grant, On 03/27/2015 09:44 AM, Grant Bagdasarian wrote: I need to reload a htable from the database when a certain condition is met inside my kamailio script. I found the htable.reload htable RPC command, but is it possible to run this from within the script? This command is not exposed with

[SR-Users] Reload htable

2015-03-27 Thread Grant Bagdasarian
Hello, I need to reload a htable from the database when a certain condition is met inside my kamailio script. I found the htable.reload htable RPC command, but is it possible to run this from within the script? Is there perhaps another way to force reload the htable inside the script? Thanks,

[SR-Users] Kamailio - Used By Directory

2015-03-27 Thread Daniel-Constantin Mierla
Hello, in order to facilitate easier interaction and updates, references (http://www.kamailio.org/w/references/) and some of the business use cases already listed on kamailio.org are in the process of being moved to a new page: - http://www.kamailio.org/w/used-by/ This offers now the possibili

Re: [SR-Users] tsilo module

2015-03-27 Thread Federico Cabiddu
Hi Roberto, I will try to post an example in the next days. Regards, Federico On Tue, Mar 24, 2015 at 2:56 PM, Roberto Fichera wrote: > On 03/24/2015 07:48 AM, Federico Cabiddu wrote: > > Ciao Federico, > > Hi Alex, > the use case for which I wrote the module is the following. Suppose that

Re: [SR-Users] Asking for help in configuration Kamailio

2015-03-27 Thread Jon Bonilla (Manwe)
El Fri, 27 Mar 2015 13:21:00 +0300 Mikael Sarkisyan escribió: > > UAC going to Kamailio IP address and Kamailio forwarding request to Asterisk > IP without auth on Kamailio and auth with asterisk .conf files (i mean > without mysql at all) But i wanna keep data about what to do will presence >

Re: [SR-Users] Kamailio BLF Issue TCP vs UDP

2015-03-27 Thread Fred Posner
I added the record route for SUBSCRIBE, UPDATE, INFO, PUBLISH, NOTIFY when there were some issues with FreeSWITCH trying to bypass Kamailio... That being said, when this was discussed on the FreeSWITCH channel, the FreeSWITCH users flipped out over record-route. I removed it, had the same results,

Re: [SR-Users] Kamailio BLF Issue TCP vs UDP

2015-03-27 Thread Fred Posner
Yes, record route is being generated for all SUBSCRIBE, NOTIFY, and just in case REFER, INFO, PUBLISH. --fred On 03/27/2015 06:38 AM, Daniel-Constantin Mierla wrote: > 202 is ok, so freeswitch has created the subscription dialog and should > send notify requests with event dialog. > > As I can s

Re: [SR-Users] Kamailio BLF Issue TCP vs UDP

2015-03-27 Thread Alex Balashov
I suppose this speaks to it: https://tools.ietf.org/html/rfc6665#appendix-B.19 -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/,

Re: [SR-Users] Kamailio BLF Issue TCP vs UDP

2015-03-27 Thread Alex Balashov
On 03/27/2015 06:45 AM, Daniel-Constantin Mierla wrote: I haven't really read the specs, but IETF overturned the old rules in RFC 6665, so now NOTIFY must be record-routed all the time. IIRC, it was signaled to us by Inaki few years ago when it was added to default kamailio.cfg (perhaps can be e

Re: [SR-Users] Kamailio BLF Issue TCP vs UDP

2015-03-27 Thread Daniel-Constantin Mierla
On 27/03/15 11:41, Alex Balashov wrote: > Daniel, > > On 03/27/2015 06:38 AM, Daniel-Constantin Mierla wrote: > >> Are you doing record_route() for all SUBSCRIBE and NOTIFY requests? > > My understanding was that SUBSCRIBE is a dialog-forming request and > NOTIFYs are sequential requests. If so,

Re: [SR-Users] Kamailio BLF Issue TCP vs UDP

2015-03-27 Thread Alex Balashov
Daniel, On 03/27/2015 06:38 AM, Daniel-Constantin Mierla wrote: Are you doing record_route() for all SUBSCRIBE and NOTIFY requests? My understanding was that SUBSCRIBE is a dialog-forming request and NOTIFYs are sequential requests. If so, why would one insert record_route() in the course o

Re: [SR-Users] Kamailio BLF Issue TCP vs UDP

2015-03-27 Thread Daniel-Constantin Mierla
On 27/03/15 08:07, Olle E. Johansson wrote: > On 26 Mar 2015, at 23:33, Fred Posner wrote: > >> Subscription-State: terminated;reason=noresource. > THis header in the TCP example should tell you something. FreeSwitch is > telling you that something has gone wrong with your subscription request.

Re: [SR-Users] Kamailio BLF Issue TCP vs UDP

2015-03-27 Thread Daniel-Constantin Mierla
202 is ok, so freeswitch has created the subscription dialog and should send notify requests with event dialog. As I can see in the traces, traffic is TCP to Kamailio and UDP in between Kamailio and FreeSwitch. Are you doing record_route() for all SUBSCRIBE and NOTIFY requests? Cheers, Daniel On

[SR-Users] Asking for help in configuration Kamailio

2015-03-27 Thread Mikael Sarkisyan
Hello Dear Sip Router TeamI’m asking you to help me please with kamailio configurationI’ve made some laboratory system following this document http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb and it works perfect.But this scenario is not good for my tests.What i really wa

Re: [SR-Users] Kamailio BLF Issue TCP vs UDP

2015-03-27 Thread Olle E. Johansson
On 26 Mar 2015, at 23:33, Fred Posner wrote: > Subscription-State: terminated;reason=noresource. THis header in the TCP example should tell you something. FreeSwitch is telling you that something has gone wrong with your subscription request. /O ___