Re: [SR-Users] Kamailio can not read to_tag at BYE request

2015-11-10 Thread Vasiliy Ganchev
Hi! did you tried using this PV http://www.kamailio.org/wiki/cookbooks/4.2.x/pseudovariables#tt_-_to_tag how do you parsing it now? cheers -- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-can-not-read-to-tag-at-BYE-request-tp142928p142959.html Sent from the

[SR-Users] PKG memory leak in 4.2.6

2015-11-10 Thread Julia Boudniatsky
Hello, We are running Kamailio 4.2.6 ( db77ac) compiled with memory debugging. The free PKG memory has decreased on ~6.5 M after two weeks. Please see attached file with the log messages at kamailio shutdown. Thank you in advance, Julia. Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7

[SR-Users] Unable to find dialog

2015-11-10 Thread Ryan Brindley
Hey community, Our current switch is being overloaded and when it does we're getting these 2 messages spammed in our logs: WARNING: dialog [dlg_handlers.c:1127]: dlg_onroute(): unable to find dialog for ACK with route param '35d.d2f1' [3411:7981] ERROR: tm [t_reply.c:1341]: t_should_relay_respon

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Shane Harrison
I believe you need to make sure Kamailio has double RR turned on and is writing RR headers. Then for any new request generated by FS, it will insert appropriate ROUTE headers to route the request first to Kamailio and then Kamailio will strip off the ROUTE headers and use the URI (contact heade

[SR-Users] Active-Passive Auto deployment of Kamailio

2015-11-10 Thread Gholamreza Sabery
Hello. Recently I started a very simple open source project for auto deploying an Active-Passive Kamailio cluster using Corosync and Pacemaker. For auto deployment I used Ansible. I thought it can be useful for some users. Link of project's repository: https://github.com/ghrst/Kamailio-HA

[SR-Users] issue with uac_req_send to websocket peer

2015-11-10 Thread Vasiliy Ganchev
Hi folk! Have a scenario: UA-A -> REGISTER -> kamailio kamailio make auth, and save(location), after this, before exit, I want to send to UA-A a custom NOTIFY with specific event (this should be done without SUBSCRIBE/PUBLISH/NOTIFY logic) $uac_req(method) = "NOTIFY"; $uac_

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Rizwan Khan
thanks a million. It works :) Rizwan Khan On Tue, Nov 10, 2015 at 5:49 PM, Daniel-Constantin Mierla wrote: > It is about textopsx module -- note the x at the end. > > Daniel > > > On 10/11/15 13:37, Rizwan Khan wrote: > > Yes. > > loadmodule "textops.so" > > > Rizwan Khan > > > > On Tue, Nov

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Daniel-Constantin Mierla
It is about textopsx module -- note the x at the end. Daniel On 10/11/15 13:37, Rizwan Khan wrote: > Yes. > > loadmodule "textops.so" > > > Rizwan Khan > > > > On Tue, Nov 10, 2015 at 5:32 PM, Daniel-Constantin Mierla > mailto:mico...@gmail.com>> wrote: > > Do you have the textopsx module loa

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Rizwan Khan
Yes. loadmodule "textops.so" Rizwan Khan On Tue, Nov 10, 2015 at 5:32 PM, Daniel-Constantin Mierla wrote: > Do you have the textopsx module loaded in your config? > > Daniel > > > On 10/11/15 13:14, Rizwan Khan wrote: > > if( msg_apply_changes()) > { >

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Daniel-Constantin Mierla
Do you have the textopsx module loaded in your config? Daniel On 10/11/15 13:14, Rizwan Khan wrote: > if( msg_apply_changes()) > { > xlog("L_INFO:", "INVITE::: [$ct]\n"); > } > > subst("/^Contact:(.*);transpor

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Rizwan Khan
if( msg_apply_changes()) { xlog("L_INFO:", "INVITE::: [$ct]\n"); } subst("/^Contact:(.*);transport=tls(.*)/Contact:\1;transport=udp\2/i"); if( msg_apply_changes()) { xlo

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Daniel-Constantin Mierla
Look inside syslog file to see the line where the errors are and description of the errors. Daniel On 10/11/15 12:38, Rizwan Khan wrote: > Doesn't work. Still give the bad config errors. > > Rizwan Khan > > > > On Tue, Nov 10, 2015 at 4:13 PM, Daniel-Constantin Mierla > mailto:mico...@gmail.com>>

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Rizwan Khan
Doesn't work. Still give the bad config errors. Rizwan Khan On Tue, Nov 10, 2015 at 4:13 PM, Daniel-Constantin Mierla wrote: > That is conflicting with other changes to the contact header. > > Try to use msg_apply_changes() before (and after) your subst operation for > changing contact. > > D

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Daniel-Constantin Mierla
That is conflicting with other changes to the contact header. Try to use msg_apply_changes() before (and after) your subst operation for changing contact. Daniel On 10/11/15 12:00, Rizwan Khan wrote: > I have fix_nated_contact() at multiple places :( > > Rizwan Khan > > > > On Tue, Nov 10, 2015

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Rizwan Khan
I have fix_nated_contact() at multiple places :( Rizwan Khan On Tue, Nov 10, 2015 at 3:59 PM, Rizwan Khan wrote: > Oh, Yes I do. > > Rizwan Khan > > > > On Tue, Nov 10, 2015 at 3:58 PM, Daniel-Constantin Mierla < > mico...@gmail.com> wrote: > >> Do you have set_contact_alias() or fix_nated_co

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Rizwan Khan
Oh, Yes I do. Rizwan Khan On Tue, Nov 10, 2015 at 3:58 PM, Daniel-Constantin Mierla wrote: > Do you have set_contact_alias() or fix_nated_contact() in your config file? > > Cheers, > Daniel > > > On 10/11/15 11:54, Rizwan Khan wrote: > > i am trying it but it doesn't change the string. Do I n

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Daniel-Constantin Mierla
Do you have set_contact_alias() or fix_nated_contact() in your config file? Cheers, Daniel On 10/11/15 11:54, Rizwan Khan wrote: > i am trying it but it doesn't change the string. Do I need to use > msg_apply_changes() ?? > > I am trying that but it gives syntax error in the file. > > log("L_INFO

Re: [SR-Users] Removing transport=TLS from the contact header

2015-11-10 Thread Rizwan Khan
i am trying it but it doesn't change the string. Do I need to use msg_apply_changes() ?? I am trying that but it gives syntax error in the file. log("L_INFO:", "INVITE::: [$ct]\n"); subst("/^Contact:(.*);transport=tls(.*)/Contact:\1;transport=udp\2/i"); if(msg_apply_changes()) { xlog("L_INFO