Re: [SR-Users] What does "::" operator do in statements related to hashtable?

2014-08-29 Thread aft
Thanks for the reply, now i get it On Thu, Aug 28, 2014 at 10:56 PM, Daniel-Constantin Mierla wrote: > To give a better visual perspective, practically if you do: > > > $sht(a=>$ci::srcip) = $si; > > for and INVITE request that comes from 1.2.3.4 and has the header: > > Call-Id: abcd > > Then in

Re: [SR-Users] Kamailio as Websocket bridge to Asterisk, and Asterisk-sent OPTIONS

2014-08-29 Thread Paul Belanger
On Fri, Aug 29, 2014 at 5:08 PM, Alex Villací­s Lasso wrote: > El 29/08/14 14:44, Paul Belanger escribió: > >> On Fri, Aug 29, 2014 at 11:55 AM, Alex Villací­s Lasso >> wrote: >>> >>> El 28/08/14 19:09, Paul Belanger escribió: >>> On Thu, Aug 28, 2014 at 7:18 PM, Alex Villací­s Lasso w

Re: [SR-Users] Help debugging a missing ACK (is Asterisk covering up a mistake in my Kamailio config?)

2014-08-29 Thread Andres
On 8/29/14, 1:42 PM, Alex Villací­s Lasso wrote: Please consider the following SIP packet exchange, as seen by a tcpdump running on 201.234.196.170. Here 198.58.101.75 initiates a call to 201.234.196.170: IP 198.58.101.75.5060 > 201.234.196.170.5060 INVITE sip:*43@201.234.196.170:5060 SIP/2.0

Re: [SR-Users] Kamailio as Websocket bridge to Asterisk, and Asterisk-sent OPTIONS

2014-08-29 Thread Alex Villací­s Lasso
El 29/08/14 14:44, Paul Belanger escribió: On Fri, Aug 29, 2014 at 11:55 AM, Alex Villací­s Lasso wrote: El 28/08/14 19:09, Paul Belanger escribió: On Thu, Aug 28, 2014 at 7:18 PM, Alex Villací­s Lasso wrote: As a continuation of my project, I am trying to set up Kamailio as a Websocket bri

Re: [SR-Users] Kamailio as Websocket bridge to Asterisk, and Asterisk-sent OPTIONS

2014-08-29 Thread Paul Belanger
On Fri, Aug 29, 2014 at 11:55 AM, Alex Villací­s Lasso wrote: > El 28/08/14 19:09, Paul Belanger escribió: > >> On Thu, Aug 28, 2014 at 7:18 PM, Alex Villací­s Lasso >> wrote: >>> >>> As a continuation of my project, I am trying to set up Kamailio as a >>> Websocket bridge to Asterisk. The asteri

[SR-Users] Help debugging a missing ACK (is Asterisk covering up a mistake in my Kamailio config?)

2014-08-29 Thread Alex Villací­s Lasso
Please consider the following SIP packet exchange, as seen by a tcpdump running on 201.234.196.170. Here 198.58.101.75 initiates a call to 201.234.196.170: IP 198.58.101.75.5060 > 201.234.196.170.5060 INVITE sip:*43@201.234.196.170:5060 SIP/2.0 Via: SIP/2.0/UDP 198.58.101.75:5060;branch=z9hG4bK7

Re: [SR-Users] Kamailio as Websocket bridge to Asterisk, and Asterisk-sent OPTIONS

2014-08-29 Thread Alex Villací­s Lasso
El 28/08/14 19:09, Paul Belanger escribió: On Thu, Aug 28, 2014 at 7:18 PM, Alex Villací­s Lasso wrote: As a continuation of my project, I am trying to set up Kamailio as a Websocket bridge to Asterisk. The asterisk instance is running as localhost, with its own websocket support disabled, but

Re: [SR-Users] How to use the ip parameter in rtpproxy_manage()

2014-08-29 Thread Daniel-Constantin Mierla
Hello, should be in request_route or reply_route (from core) only, before creating the transaction and not after doing record_route() for requests. Cheers, Daniel On 29/08/14 16:18, Sebastian Damm wrote: Hi, okay, so I really misunderstood the IP parameter. Thanks for your solution, from t

Re: [SR-Users] How to use the ip parameter in rtpproxy_manage()

2014-08-29 Thread Sebastian Damm
Hi, okay, so I really misunderstood the IP parameter. Thanks for your solution, from the first look it does work. Is there anything I should consider or watch specifically when using msg_apply_changes() in the middle of processing the request? Best Regards, Sebastian On Fri, Aug 29, 2014 at 1:5

Re: [SR-Users] Wrong ACK to Provider

2014-08-29 Thread Daniel-Constantin Mierla
The last .zip file is also showing only 3 packets (different ones) -- can you check the trace has all the packet before you compress? Maybe you can put it somewhere on a server for download and send me the link, so I get it over http. Cheers, Daniel On 29/08/14 09:36, Daniel-Constantin Mierla

Re: [SR-Users] Support for TLS server_name extension (aka SNI=server name indication)

2014-08-29 Thread Daniel-Constantin Mierla
Hello, starting with 3.0 we got the implementation from SER at that time (being more flexible with config and later getting asynchronous support). A quick grep in the sources shows things related to server_name, but apparently is just for accessing them via cfg selects. I cc-ed Jan who is a

[SR-Users] Support for TLS server_name extension (aka SNI=server name indication)

2014-08-29 Thread Barry Flanagan
Hi, Back in Kamailio 1.5, the release notes state: "support for TLS server_name extension (aka SNI=server name indication)" However, I cannot find any indication of this in the current TLS docs, and trying to set tls_server_name or server_name in tls.cfg fails with "unsupported option". Is this

Re: [SR-Users] How to use the ip parameter in rtpproxy_manage()

2014-08-29 Thread Daniel-Constantin Mierla
Hello, the second parameter is to give the IP to appear in sdp, instead of the rtpproxy ip. What you can try is to update the sdp with fix_natted_sdp() with the source IP as seen by the LB, then do msg_apply_changes() and pass the flag to trust the ip in sdp -- not sure it is going to work,

Re: [SR-Users] Wrong ACK to Provider

2014-08-29 Thread Daniel-Constantin Mierla
Apparently the file got corrupted, most probably by email client/server encoding, and it shows only three packets. Can you resend it compress as tgz? Cheers, Daniel On 29/08/14 07:08, Yuriy Gorlichenko wrote: My pcap file. Daniel sorry for first time sended message to your private mail. Was a

[SR-Users] How to use the ip parameter in rtpproxy_manage()

2014-08-29 Thread Sebastian Damm
Hi, I have the following setup: UAC ---> LB ---> Proxy ---> GW In NAT scenarios the loadbalancer detects it, but the proxy communicates with the RTP proxy. I want to send the original caller IP as detected by the loadbalancer (and transported to the proxy) to the RTP proxy. As far as I understa

Re: [SR-Users] Help analysing segmentation fault

2014-08-29 Thread Charles Chance
Hi Both, In this case the system was using binaries from opensuse build service, so gcc I believe? Cheers, Charles On 28 Aug 2014 21:25, "Daniel-Constantin Mierla" wrote: > Hello, > > On 28/08/14 20:32, Jason Penton wrote: > > Hey Daniel, > > I am puzzled by how this could make any differen

Re: [SR-Users] Wrong ACK to Provider

2014-08-29 Thread Daniel-Constantin Mierla
I don't mind to receive directly attachments that can contain sensitive data. But you have to write an email via mailing list saying you do/did so. With gmail I am checking mostly the emails that are filtered with various rules, otherwise, the rest land together with a lot of spam/advertising