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

2017-04-07 Thread Pranathi Venkatayogi
I would like to place the customer connecting via SIP/MSRP on hold until I find the right destination. What is the best way to do this? One idea is to write a MSRP bot. Does anyone know how to go about this? Other smart ideas? Thanks, Pranathi Venkatayogi System Developer II (520) 745-9447

Re: [SR-Users] MSRP with Kamailio

2017-02-09 Thread Pranathi Venkatayogi
"Translation: MSRP auth failed with: $var(retValue)\n"); } -Original Message----- From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Thursday, February 09, 2017 12:36 AM To: Pranathi Venkatayogi ; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] MSRP with Kamailio

Re: [SR-Users] MSRP with Kamailio

2017-02-08 Thread Pranathi Venkatayogi
Auth was failing on the server with -5. We need someone more familiar with kamailio to take a look. I am attaching earlier follow-up message. -Original Message- From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Tuesday, February 07, 2017 10:47 PM To: Pranathi Venkatayogi

Re: [SR-Users] MSRP with Kamailio

2017-02-07 Thread Pranathi Venkatayogi
Msrp auth doesn’t work. I disabled it in my config for now to work around it. As we use TLS and chat is also on a secure channel should be ok. If you can make auth work, please let me know. -Original Message- From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Olli

Re: [SR-Users] Spurious dialog timeouts

2017-02-06 Thread Pranathi Venkatayogi
Any clue on this? Or to work around this, can someone shed light on how to differentiate when “Dialog:end” is called due to actual call drop - Bye vs some timeout. I need to do some special logic only on call drop. Relevant snippet from the logs are: 7719 Feb 3 21:41:20 labsip00 /usr/sbin/kama

[SR-Users] Spurious dialog timeouts

2017-02-03 Thread Pranathi Venkatayogi
Hi, I have two kamailio proxies between the customer and agent. Cust -> proxy1 -> proxy2 -> agent. The dialogs are successfully established and remain undeleted within the customer / agent client. However in Proxy2 I am seeing spurious dialog timeout. I am attaching kamailio log trace

Re: [SR-Users] How does Kamailio decide which protocol to use when fwding to another proxy?

2017-01-25 Thread Pranathi Venkatayogi
By setting $du, I was able to force proxy1 to use TLS instead of UDP. $du = "sip:ip:port;transport=tls"; t_relay(); Thanks Daniel for your input. From: Pranathi Venkatayogi Sent: Wednesday, January 25, 2017 8:25 AM To: 'mico...@gmail.com' ; 'Kamailio (SER) - Users Ma

Re: [SR-Users] How does Kamailio decide which protocol to use when fwding to another proxy?

2017-01-25 Thread Pranathi Venkatayogi
NAPTR+SRV) or the transport can be enforced in the r-uri with transport=xyz parameter. Cheers, Daniel On 24/01/2017 20:01, Pranathi Venkatayogi wrote: Hi, I have two instances of Kamailio acting as edge proxies. One on the customer side and one on the agent side. Like: customer -> pro

Re: [SR-Users] How does Kamailio decide which protocol to use when fwding to another proxy?

2017-01-24 Thread Pranathi Venkatayogi
tls.list does it, but I need one which works from within config. From: Pranathi Venkatayogi Sent: Tuesday, January 24, 2017 11:02 AM To: 'Kamailio (SER) - Users Mailing List' Subject: How does Kamailio decide which protocol to use when fwding to another proxy? Hi, I have two instances o

[SR-Users] How does Kamailio decide which protocol to use when fwding to another proxy?

2017-01-24 Thread Pranathi Venkatayogi
Hi, I have two instances of Kamailio acting as edge proxies. One on the customer side and one on the agent side. Like: customer -> proxy1 -> proxy2 -> agent. Both customer and agent are registered to proxy1/proxy2 via TLS. However when proxy1 forwards to proxy2, it is using UDP. How can I

Re: [SR-Users] How to determine correct port to set in record-route header

2017-01-24 Thread Pranathi Venkatayogi
y 24, 2017 7:59 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] How to determine correct port to set in record-route header On Tue, Jan 24, 2017 at 03:50:24PM +, Pranathi Venkatayogi wrote: > I am using Kamailio behind NAT, unable to figure how to make it put “pub

Re: [SR-Users] How to determine correct port to set in record-route header

2017-01-24 Thread Pranathi Venkatayogi
Any help? From: Pranathi Venkatayogi Sent: Monday, January 23, 2017 2:35 PM To: 'Kamailio (SER) - Users Mailing List' Subject: How to determine correct port to set in record-route header Hi, I am using Kamailio behind NAT, unable to figure how to make it put “public ip” in Re

[SR-Users] How to determine correct port to set in record-route header

2017-01-23 Thread Pranathi Venkatayogi
Hi, I am using Kamailio behind NAT, unable to figure how to make it put “public ip” in Record-route header, I am manually inserting the hard-coded header myself as below. However now I am having trouble choosing the right port number in all scenarios. $var(dstPort) = 5061; i

[SR-Users] Best way to log incoming/outgoing sip messages?

2017-01-20 Thread Pranathi Venkatayogi
Hi, What is the best way to get a complete dump of incoming/outgoing SIP messages of Kamailio server? I encountered “SIPTrace” module, but it writes to database. Is there a way we can write to syslog instead? Thanks Pranathi ___ SIP Express Router

Re: [SR-Users] Kamailio behind NAT, ACK to private IP not advertised public IP.

2016-12-29 Thread Pranathi Venkatayogi
NAT, ACK to private IP not advertised public IP. > listen=udp:MY_IP_ADDR:5060 advertise MY_PUBLICIP_ADDR:5060 That statement does not exist anywhere in the files you sent. --fred On 12/29/2016 11:19 AM, Pranathi Venkatayogi wrote: > Yes. I defined advertised address and even used liste

Re: [SR-Users] Kamailio behind NAT, ACK to private IP not advertised public IP.

2016-12-29 Thread Pranathi Venkatayogi
Via and RR as well: https://www.kamailio.org/wiki/cookbooks/4.4.x/core#advertised_address Daniel On 12/29/2016 12:09 AM, Pranathi Venkatayogi wrote: > I implemented full NAT logic as per the sample config. Still unable to > resolve the issue. > > How do I let Kamailio change record_

Re: [SR-Users] Kamailio behind NAT, ACK to private IP not advertised public IP.

2016-12-28 Thread Pranathi Venkatayogi
I implemented full NAT logic as per the sample config. Still unable to resolve the issue. How do I let Kamailio change record_route header to use public ip address? Please help!!! (attached are latest scripts) From: Pranathi Venkatayogi Sent: Wednesday, December 28, 2016 12:39 PM To: 'sr-

[SR-Users] Kamailio behind NAT, ACK to private IP not advertised public IP.

2016-12-28 Thread Pranathi Venkatayogi
b75c CSeq: 4665 ACK Route: User-Agent: Blink 3.0.0 (Windows) Content-Length: 0 Thanks, Pranathi Venkatayogi System Developer II (520) 745-9447 x4466 www.cyracom.com<http://www.cyracom.com/> Join us: [cid:image001.gif@01D1C9C9.C4E8B6D0] <https://www.facebook.com/pages/CyraCom-LLC/1347

Re: [SR-Users] MSRP auth does not work with blink

2016-11-28 Thread Pranathi Venkatayogi
Any luck? Any help from other users who used - pv_www_authenticate? From: Pranathi Venkatayogi Sent: Friday, November 25, 2016 12:37 PM To: 'mico...@gmail.com'; Kamailio (SER) - Users Mailing List Subject: RE: [SR-Users] MSRP auth does not work with blink Hi Daniel, Please fin

Re: [SR-Users] Is there a way to detect inactive MSRP chat sessions without using SIP session timers

2016-11-18 Thread Pranathi Venkatayogi
reset of the timer? Or -Is the module smart enough to consider MSRP message sent from that endpoint during that call as well? Thanks for your clarification, Pranathi From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Friday, November 18, 2016 2:26 AM To: Pranathi Venkatayogi

[SR-Users] Is there a way to detect inactive MSRP chat sessions without using SIP session timers

2016-11-17 Thread Pranathi Venkatayogi
Hi, I am using MSRP feature of Blink client. I want to track when the chat starts and ends so I can free up server resources. Apparently Blink client does not send BYE when MSRP chat window closes. It does not support SIP session timers even. So potential use of SIP session timers (sst

[SR-Users] usage of app_mono : how to communicate results back to config file

2016-11-14 Thread Pranathi Venkatayogi
Hi, I am using app_mono module and building my logic in c# app. I am unable to understand how to send the decision back to kamalio.cfg. More precisely: I would like my routing logic to allow specific user names though they are not registered as subscribers. Like: transl...@myip.cyracom.com<