Re: [SR-Users] allow_trusted and ipv6 addresses

2015-02-26 Thread Sebastian Damm
Hi, On Mon, Feb 23, 2015 at 11:34 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Interesting to learn that mysql views are not using same type as the > source column... > > I guess we should handle this case internally, doing views is quite > common out there. > Interesting to read t

Re: [SR-Users] Hide Redirection from UAC

2015-02-26 Thread Alex Balashov
‎Ah, I understand. Well, in that case, consider yourself best-practically validated. :-) -- Sent from my BlackBerry. Please excuse errors and brevity.   Original Message   From: ron.kamai...@mcleodnet.com Sent: Thursday, February 26, 2015 9:27 PM To: 'Kamailio (SER) - Users Mailing List' Reply To

Re: [SR-Users] Hide Redirection from UAC

2015-02-26 Thread ron.kamailio
Well .. it took me a while to figure this out, and I was looking for either a confirmation that is was a proper way to quietly deal with redirection, or suggestions for other approaches. It sounds like what I have is fine, so I'll stick with it. Thanks, Ron -Original Message- From: sr-us

Re: [SR-Users] Hide Redirection from UAC

2015-02-26 Thread Alex Balashov
What would constitute "better", in your eyes? This is the appropriate way to catch a negative final reply from upstream and create another branch, opaquely to the caller. On 02/26/2015 08:39 PM, ron.kamai...@mcleodnet.com wrote: I have an instance of Kamailio configured as an outbound proxy a

[SR-Users] Hide Redirection from UAC

2015-02-26 Thread ron.kamailio
I have an instance of Kamailio configured as an outbound proxy and I want to be able to hide the fact the a 3XX redirection result may have been encountered while attempting to route the call. I am using the fragment below and it does appear to work, but I am wondering if there is a better way.

Re: [SR-Users] TEXTOPS parser problem with binary data in MIME body

2015-02-26 Thread Klaus Feichtinger
Hi Frederico, the only (quick) solution I had found was doing message parsing (MIME body) in an external PERL script, returning the information that I was searching for (from that body) to the config script and reducing the multipart body to a single body. This is (until now) working fine...

[SR-Users] Dialog order of operations

2015-02-26 Thread Alex Balashov
Hi, The dialog module documentation remains unclear about the order of operations with regard to when to call dlg_manage() or set the transaction flag. My impression is that dlg_manage() only registered TM callbacks, so it doesn't matter when you call it, as long as it's before t_relay(). H

[SR-Users] source websocket ip address

2015-02-26 Thread jaflong jaflong
On a request received over websocket how can the ip address of the http server that jssip library connected through and send the call from be know? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.or

Re: [SR-Users] source websocket ip address

2015-02-26 Thread Sergey Okhapkin
The same way like for other transports - $si. On Thursday 26 February 2015 18:11:39 jaflong jaflong wrote: > On a request received over websocket how can the ip address of the http > server that jssip library connected through and send the call from be know? > > _

Re: [SR-Users] db_mysql errors

2015-02-26 Thread jaflong jaflong
This is the format of the column. -00-00 00:00:00 is the data in the field. Could it be a bug where the value is -00-00 00:00:00 | Type | Null | Key | Default ++---+--+-+- | datetime | NO | | -00-00 00:00:00

Re: [SR-Users] WARNING: [local_timer.c:83]: _local_timer_dist_tl(): 0 expire timer added"?

2015-02-26 Thread Camille Oudot
Le Sat, 21 Feb 2015 18:09:19 -0600, Anthony Messina a écrit : > > Good day. Is anyone able to let me in on what this means "WARNING: > > [local_timer.c:83]: _local_timer_dist_tl(): 0 expire timer > > added"? I just started seeing this after pulling down 5c1a9df from > > git and it seems like s

Re: [SR-Users] db_mysql errors

2015-02-26 Thread Daniel-Constantin Mierla
It seems that the value in a datetime column cannot be converted -- can you show the result of the same query in mysql client? Cheers, Daniel On 26/02/15 00:45, jaflong jaflong wrote: > I am getting errors when I run the following code > > > if (sql_xquery("mydb", "select * from account where ac

Re: [SR-Users] kamailio asterisk

2015-02-26 Thread Daniel-Constantin Mierla
Hello, your substitution to replace sips with sip all over the message is breaking it. Use only the part I gave for r-uri, the rest should left untouched, so don't use the subst(...). See this message again for what I asked from backtrace: - http://lists.sip-router.org/pipermail/sr-users/2015-Fe

Re: [SR-Users] usrloc table to redis

2015-02-26 Thread Daniel-Constantin Mierla
Hello, there is not db api connector for redis at this moment. If you look for no-sql, then db_mongodb or db_cassandra can be used with there correspondent application. I played (well wrote the module) with db_mongodb and usrloc, dispatcher, should work. I am not sure if there will be a easy

[SR-Users] usrloc table to redis

2015-02-26 Thread Yuriy Gorlichenko
Hello. We try to use redis for maximum features of kamailio. We already realise dispatcher (not as module, but I want to do it at the future), and now we want to relocate usrloc to redis. Does anyone do this with Redis? ___ SIP Express Router (SER) and Ka

Re: [SR-Users] kamailio asterisk

2015-02-26 Thread Olle E. Johansson
On 25 Feb 2015, at 19:24, Slava Bendersky wrote: > Feb 25 13:13:00 canlvprx01 kamailio: 3(5051) DEBUG: > [parser/msg_parser.c:192]: get_hdr_field(): DEBUG: to body > [ > > This is clearly not a valid sip uri. /O___ SIP Express Router (SER) and Ka

Re: [SR-Users] kamailio asterisk

2015-02-26 Thread Slava Bendersky
Hello Daniel, Thank you for all help and last solution getting closer, client register, but I see in log Feb 25 13:13:00 canlvprx01 kamailio: 3(5051) DEBUG: [parser/msg_parser.c:190]: get_hdr_field(): DEBUG: get_hdr_field: [52]; uri=[sip:sips:10101@public_ip:5066] Feb 25 13:13:00 canlvprx