Re: [SR-Users] rtpengine with rejected re-invites to new RTP ports

2014-10-07 Thread Jeff Pyle
Richard, After quite a bit of testing I can confirm there is no accidental success here. With default settings the old RTP flow ceases 30 seconds after the rejected re-invite. - Jeff On Mon, Sep 29, 2014 at 1:17 PM, Richard Fuchs wrote: > On 09/25/14 12:05, Jeff Pyle wrote: > > Hello, > > >

Re: [SR-Users] Setting Kamailio User-Agent dynamically

2014-10-07 Thread SamyGo
No no, not like that, its a separate route and needs to be placed outside the other route[] { ... } On Tue, Oct 7, 2014 at 4:06 PM, Errol Samuels wrote: > Hi Sammy, > > Thanks for your response and the clarification. > > What I am actually trying to do is to pass the real User-Agent info for >

Re: [SR-Users] Setting Kamailio User-Agent dynamically

2014-10-07 Thread Errol Samuels
Hi Sammy, Thanks for your response and the clarification. What I am actually trying to do is to pass the real User-Agent info for each device as the Registration is fowarded to Freeswitch so using your code as an example instead of hardcoding the custom "User-Agent: My Server SIP Server" which wi

Re: [SR-Users] Setting Kamailio User-Agent dynamically

2014-10-07 Thread SamyGo
Hey Errol, What I get from Daniel's email is that you only need to add this route in your script and it will trigger itself automatically when "uac_req_send()" function is executed. event_route [tm:local-request] { # Handle locally generated requests xlog("L_INFO", "Routing locally generate

Re: [SR-Users] Adding Dynamic Routing Module management to Siremis

2014-10-07 Thread cpcnetworking
Thx, exactly what I was looking for! ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Setting Kamailio User-Agent dynamically

2014-10-07 Thread Errol Samuels
Thanks for your input Daniel but pardon my ignorance as I am not 100% clear where I need to add that event_route[tm:local-request]. Here is the point where the REGISTER is being sent to Freeswitch. So are you able to provide an example of where I send the real User-Agent of the device to Freeswit

Re: [SR-Users] multiple endpoints call

2014-10-07 Thread Yuriy Gorlichenko
Thanks. I used some custom thiks to change $ru. Now I will delete it. 2014-10-07 0:33 GMT+04:00 Daniel-Constantin Mierla : > Hello, > > are you using t_relay()? Parallel forking should be default with that > function. > > Cheers, > Daniel > > On 06/10/14 22:02, Yuriy Gorlichenko wrote: > > Hello

[SR-Users] chane source IP for REGISTER to provider

2014-10-07 Thread Yuriy Gorlichenko
Hello. We have multiple kamailio behind load balancer. We use UAC to send REGISTER procedure to provider. Some providers drop wrong ip. So We have loadbalanser with external IP and have kamailio servers with external IPs too. So we need to send REGISTER packets to porovide with source IP of our Loa

Re: [SR-Users] tcp_read_data() errors in syslog

2014-10-07 Thread Peter Villeneuve
I also see a lot of those errors in my log files but I attributed them to simple connection issues with mobile clients instead of anything specific to TLS. My reasoning is that if a mobile UAC changes networks, moves out of range, etc, then TCP connections to that previous IP:port combo will fail,

Re: [SR-Users] Kamailio -topoh- and Via headers

2014-10-07 Thread Gonzalo Gasca
Hi Daniel, I see the "Via" header in both initial Websocket upgrade response (101) and in SIP 200 OK from Kamailio when Sipml5 client is registering. At SIP level including rport in initial REGISTER message from client and getting a "received" field from Kamailio makes sense and I will use your r

Re: [SR-Users] Setting Kamailio User-Agent dynamically

2014-10-07 Thread Daniel-Constantin Mierla
You have to use event_route[tm:local-request] if you use uac module to send out new REGISTER. Cheers, Daniel On 03/10/14 18:32, Errol Samuels wrote: I also tried your last suggestion at the point when the registeris being forwarded to FS but it had no effect # Forward REGISTER to Freeswitch

Re: [SR-Users] Adding Dynamic Routing Module management to Siremis

2014-10-07 Thread Daniel-Constantin Mierla
Next is the link to the tutorial detailing how to extend simires to manage new database tables from web interface: - http://kb.asipto.com/siremis:install40x:new-views Cheers, Daniel On 02/10/14 18:30, cpcnetworking wrote: I'm using Kamailio 4.15 with Siremis 4.1.0 both are great BTW! I'd lik

Re: [SR-Users] tcp_read_data() errors in syslog

2014-10-07 Thread Daniel-Constantin Mierla
Hello, the errors can be because of various reasons such as: - requiring a tls method not supported (tlsv1, ...) - not having a common cypher - requiring certificate, but the other party not providing one - requiring a valid certificate, but the validation fails Try to run with debug=3 and see i

Re: [SR-Users] Kamailio -topoh- and Via headers

2014-10-07 Thread Daniel-Constantin Mierla
Do you refer to the http response only? Or to SIP as well? Daniel On 07/10/14 06:19, Gonzalo Gasca wrote: Daniel, I will re-write it in Kamailio, seems to be that during initial WS negotiation (HTTP Connection Upgrade), Kamailio is already including the Via header: Via: SIP/2.0/TCP 172.31

Re: [SR-Users] Crash Kamailio 4.1.4

2014-10-07 Thread Daniel-Constantin Mierla
Hello, I pushed a fix to kamailio master branch that should solve it -- last commits to acc module. If you can give it a try and report results, would be appreciated. Cheers, Daniel On 03/10/14 17:00, Igor Potjevlesch wrote: Hello Daniel, I’m just seeing that 4.2 is scheduled for 15th Oct