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

2015-11-09 Thread Koray Vatansever
Hi Rizwan, You can try the following: subst("/^Contact:(.*);transport=tls(.*)/Contact:\1;transport=udp\2/i"); On the other hand, there should not be any other contact header modification in your script; for example set_contact_alias(). On Tue, Nov 10, 2015 at 7:28 AM, Rizwan Khan wrote: >

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

2015-11-09 Thread Rizwan Khan
Guys, Is this a stupid question or this just cannot be done? Any help will be highly appreciated. Thanks, Rizwan Khan On Mon, Nov 9, 2015 at 6:53 PM, Rizwan Khan wrote: > I want to remove the transport=TLS from the contact header. > > How can I do that inside Kamailio? The flow is an unde

Re: [SR-Users] Header field Contact not changed on kamailio 4.2

2015-11-09 Thread Rizwan Khan
Did you find the solution to this ? Do you need to do msg_apply_changes ? Rizwan Khan On Mon, May 25, 2015 at 1:04 PM, Зуев Михаил wrote: > Hi all, > > > > I need to modify the host part of a contact header. I'm trying something > like: > > route { > > . > > if (remove_hf("Contact")){ >

Re: [SR-Users] Examples

2015-11-09 Thread Ryan Holbein
Hello, I was wondering if anyone used Siremis GUI to setup IP based Auth. Also once that is done how would I route those to my AST machine. Right now In test I have OUTSIDE -> Kamailio -> AST Box ... I would like to do this though the SIREMIS Webpage so does anyone have any idea? I would lik

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

2015-11-09 Thread Yuriy Gorlichenko
Hello. I have some one provider that sends me BYE request with to_tag that kamailio can not parse IP my.pro.vi.der.5060 > my.ser.vi.ce.5060: UDP, length 406 E...x...S.0X_..L..8.BYE sip:0987654...@my.ser.vi.ce SIP/2.0 Via: SIP/2.0/UDP my.pro.vi.der:5060;branch=z9hG4bKsj7bv820c0s18k8a15q1sd0

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

2015-11-09 Thread Rizwan Khan
I want to remove the transport=TLS from the contact header. How can I do that inside Kamailio? The flow is an under: Client > Kamailio -> FS TLS UDP Client < Kamailio <- FS TLS UDP FS

Re: [SR-Users] kamailio enabling reply to options

2015-11-09 Thread Federico Cabiddu
Hi, have a look at utils module and its options_reply() function ( http://kamailio.org/docs/modules/4.3.x/modules/siputils.html#siputils.f.options_reply ). In the documentation there is a kamailio configuration file snippet showing how to use it. Cheers, Federico On Mon, Nov 9, 2015 at 12:01 PM,

[SR-Users] kamailio enabling reply to options

2015-11-09 Thread amar Smart Telecom
Dear All, Could you pls advise: How can we enable 'options' in Kamailio. Other server is sending "options" but our Kamailio is not responding. Thanks. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip

Re: [SR-Users] Branch & Forking

2015-11-09 Thread Daniel-Constantin Mierla
Hello, the aggregation of replies for a parallel fork is done automatically and negative responses are absorbed. Can you send a ngrep trace of a call where you found that the negative response of a branch is not absorbed in case a branch answered? Cheers, Daniel On 05/11/15 16:41, Marino Mileti

Re: [SR-Users] Outgoing SIP messages

2015-11-09 Thread Daniel-Constantin Mierla
Hello, to complete -- to see what is been sent on the wire, you can add onsend_route{...} block and inside it print $snd(buf). Cheers, Daniel On 06/11/15 10:51, Varghese Paul wrote: > Hi Stefan, > > Thanks for the reply. It worked with dbg_sip_msg() function. > > Regards > > Varghese Paul > >