Re: [SR-Users] How to send "bye" to caller when callee abruptly terminates (Connection reset by peer)

2017-12-26 Thread Pranathi Venkatayogi
Thank you it worked. From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Friday, December 22, 2017 2:24 AM To: Pranathi Venkatayogi ; Kamailio (SER) - Users Mailing List Subject: Re: How to send "bye" to caller when callee abruptly terminates (Connection reset by pee

[SR-Users] How to send "bye" to caller when callee abruptly terminates (Connection reset by peer)

2017-12-21 Thread Pranathi Venkatayogi
Hi, Currently when callee abruptly closes the connection (TCP RST), Kamailio does not send “BYE” to the caller. Caller is left to believe that he is talking to the callee. What is best way to solve this? I have attempted using tcpops module to track connection RSTs and then send $dlg_bye

Re: [SR-Users] re.subst does not work with $var?

2017-06-19 Thread Pranathi Venkatayogi
Any input please? How do I use these methods with $var... I get the same behavior when I use avp_subst as well. From: Pranathi Venkatayogi Sent: Thursday, June 15, 2017 6:22 PM To: Kamailio (SER) - Users Mailing List Subject: re.subst does not work with $var? I am trying to replace "do

Re: [SR-Users] How to change MSRP from sip address?

2017-06-16 Thread Pranathi Venkatayogi
mail.com] Sent: Friday, June 16, 2017 1:50 AM To: Pranathi Venkatayogi ; Kamailio (SER) - Users Mailing List Cc: Mick McGrellis Subject: Re: How to change MSRP from sip address? Hello, what do you mean by 'from sip address'? The From header in the INVITE initiating a MSRP chat? Ch

[SR-Users] re.subst does not work with $var?

2017-06-15 Thread Pranathi Venkatayogi
his code does not do the replacement - $var(domain1) = "()(domain1)()"; $var(domain2) = "domain2"; var(modBody2) = $(msrp(body){re.subst,/$var(domain1)/$var(domain2)/g}); Any clue/ideas or is it by design? Thanks, Pranathi Venkatayogi System Developer II (520) 745-9447 x446

[SR-Users] How to change MSRP from sip address?

2017-06-15 Thread Pranathi Venkatayogi
her domain - Given: MSRP body is - From: cust3 #015#012To: #015#012DateTime: . Wanted: MSRP body is - From: cust3 #015#012To: #015#012DateTime: . Thanks, Pranathi Venkatayogi System Developer II (520) 745-9447 x4466 www.cyracom.com<http://www.cyracom.com/> Join us: [cid:image

[SR-Users] How to gateway MSRP messages into XMPP

2017-05-16 Thread Pranathi Venkatayogi
I read about XMPP module in Kamailio, but it looks like it works with "MESSAGE" packets (SIMPLE). How do I gateway MSRP packets to XMPP in Kamailio. Do we have module support? Pranathi Venkatayogi System Developer II (520) 745-9447 x4466 www.cyracom.com<http://www.cyracom.c

Re: [SR-Users] dlg_refer caller fails to create callee dialog

2017-05-09 Thread Pranathi Venkatayogi
t: Re: [SR-Users] dlg_refer caller fails to create callee dialog Hello, can you provide the output of kamcmd dlg.list for the call just before doing the refer? Cheers, Daniel On 09.05.17 00:44, Pranathi Venkatayogi wrote: Hi, I am calling dlg_refer after dialog is confirmed on both sides. This tim

[SR-Users] dlg_refer caller fails to create callee dialog

2017-05-08 Thread Pranathi Venkatayogi
Hi, I am calling dlg_refer after dialog is confirmed on both sides. This time the callee is a real client, so call was established end to end. But still I get the error "No contact available" when callee dialog is being created - see below. I am attaching the snippet of my config where I am

Re: [SR-Users] How does dlg_bridge work?

2017-05-05 Thread Pranathi Venkatayogi
types:text/* image/* application/im-iscomposing+xml\r\n"; $var(rbody) = $var(rbody) + "a=setup:passive\r\n"; set_reply_body("$var(rbody)", "application/sdp"); sl_send_reply("200", "OK"); Thanks Pranathi From: Daniel-Constantin Mierla [mail

Re: [SR-Users] How does dlg_bridge work?

2017-05-04 Thread Pranathi Venkatayogi
bin/kamailio[24617]: DEBUG: dialog [dlg_hash.c:922]: dlg_unref_helper(): unref op on 0x7f92d19835e8 with 1 from dlg_hash.c:940 From: Pranathi Venkatayogi Sent: Thursday, May 04, 2017 5:28 AM To: 'Kamailio (SER) - Users Mailing List' Subject: How does dlg_bridge work? I have a TEXT ca

[SR-Users] How does dlg_bridge work?

2017-05-04 Thread Pranathi Venkatayogi
;); I get an "audio call" from "Kamailio" to customer, but nothing happens on the agent side. I tried "dlg_refer" as well but nothing happens at all. Should I handcraft "Refer" message using uac module and send to "customer" instead? Pleas

[SR-Users] How do we send "MSRP Message" from config

2017-04-27 Thread Pranathi Venkatayogi
While implementing Kamailio to hold customer call, I would to send "Pls hold on looking for an agent" MSRP message from Kamailio config. Is it doable? >From the module, we can only send msrp_reply and msrp_relay... Please advise. Pranathi Venkatayogi System Developer II (520) 7

Re: [SR-Users] Query with regard to http_client and http_async_client

2017-04-25 Thread Pranathi Venkatayogi
I recently successfully used http_async_client for POST. Will try to help you out here - From: sr-users [mailto:sr-users-boun...@lists.kamailio.org] On Behalf Of Ramachandran, Agalya (Contractor) Sent: Tuesday, April 25, 2017 10:17 AM To: giacomo.va...@gmail.com; sr-users@lists.kamailio.org Subj

Re: [SR-Users] How to eliminate Content-Length:0 from sl_send_reply

2017-04-25 Thread Pranathi Venkatayogi
Hi Daniel, Just wanted to confirm my understanding here. Are you hinting towards INVITE (hold) message illustrated here (http://www.tech-invite.com/fo-sip/tinv-fo-sip-service-01.html) Here is how it lays out: 1. Customer sends INVITE requiring MSRP chat 2. Kamailio will accept the invite

Re: [SR-Users] How to eliminate Content-Length:0 from sl_send_reply

2017-04-25 Thread Pranathi Venkatayogi
at are you trying to accomplish? Every once in a while there is a legitimate reason, but 99% of the time that is the wrong approach to whatever problem you're trying to solve. -- Alex > On Apr 25, 2017, at 9:06 AM, Pranathi Venkatayogi > wrote: > > Hi Alex, > I am addin

Re: [SR-Users] How to eliminate Content-Length:0 from sl_send_reply

2017-04-25 Thread Pranathi Venkatayogi
r 25, 2017 at 12:21:32PM +, Pranathi Venkatayogi wrote: > Hi, > How do I eliminate Content-Length:0 from sip reply when using sl_send_reply? > I wanted to generate 200 ok, with SDP payload. I appended headers like > below. The packet seems ok except there is extra "Conte

[SR-Users] How to eliminate Content-Length:0 from sl_send_reply

2017-04-25 Thread Pranathi Venkatayogi
/* image/* application/im-iscomposing+xml\r\n"); append_to_reply("a=accept-wrapped-types:text/* image/* application/im-iscomposing+xml\r\n"); append_to_reply("a=setup:active\r\n"); sl_send_reply("200", "OK"); Thanks, Pranathi

[SR-Users] http_async_query in event_route[dialog:start] does not work

2017-04-20 Thread Pranathi Venkatayogi
Hi, I wanted to make an http_async_query in event_route[dialog:start] after the call the confirmed. I see that flow does not even get to making "async_send_query". Perhaps it is failing at the first line "if (msg==null)" in w_http_async_post as I don't see any other error messages from the mod

Re: [SR-Users] How do i build MSRP chat bot?

2017-04-13 Thread Pranathi Venkatayogi
...@dopensource.com Cc: Pranathi Venkatayogi ; Kamailio (SER) - Users Mailing List Subject: Re: How do i build MSRP chat bot? Hello, On 10.04.17 11:53, m...@dopensource.com<mailto:m...@dopensource.com> wrote: Hey Daniel, She wants to put them on hold and ideally send them a MSRP message saying “Pleas