Re: [SR-Users] Issue with RTP proxy....

2013-07-04 Thread Khue Nguyen Minh
Hi all, I am trying install module mediaproxy-ng, but, when I built module kernel-module I got error: make -C /lib/modules/2.6.32-279.22.1.el6.x86_64/build M=/usr/local/src/mediaproxy_ngcp/mediaproxy-ng-master/kernel-module O=/lib/modules/2.6.32-279.22.1.el6.x86_64/build modules make: ***

Re: [SR-Users] Load database table in memory

2013-07-04 Thread Alex Balashov
On 07/04/2013 03:10 AM, Grant Bagdasarian wrote: Alex, we’re primarily using MSSQL as our database server and would like to keep it that way. But since Gary has accomplished this with MTREE, I’ll give that a go. 7 million records is very impressive. Our tables won’t have near that much records,

[SR-Users] Sending CANCEL

2013-07-04 Thread Grant Bagdasarian
Hello, Which module can I use to have Kamailio generate a CANCEL request when it receives a certain reply code? I want to cancel a dialog when Kamailio receives a 181 Call Forwarded. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Alex Balashov
Kamailio is a proxy, and not designed to originate requests. If you really, really want to generate a request, you can use uac_req_send(): http://kamailio.org/docs/modules/4.0.x/modules/uac.html#idp1686632 But, you'll have to spoof all the parameters, including the pertinent branch ID,

Re: [SR-Users] Load database table in memory

2013-07-04 Thread Alex Balashov
On 07/04/2013 03:10 AM, Grant Bagdasarian wrote: Alex, we’re primarily using MSSQL as our database server and would like to keep it that way. But since Gary has accomplished this with MTREE, I’ll give that a go. 7 million records is very impressive. Our tables won’t have near that much records,

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Olle E. Johansson
4 jul 2013 kl. 09:30 skrev Grant Bagdasarian g...@cm.nl: Hello, Which module can I use to have Kamailio generate a CANCEL request when it receives a certain reply code? I want to cancel a dialog when Kamailio receives a 181 Call Forwarded. The TMX module has two functions you can use

Re: [SR-Users] Issue with RTP proxy....

2013-07-04 Thread Andreas Granig
Hi, On 07/04/2013 09:00 AM, Khue Nguyen Minh wrote: I am trying install module mediaproxy-ng, but, when I built module kernel-module I got error: make -C /lib/modules/2.6.32-279.22.1.el6.x86_64/build M=/usr/local/src/mediaproxy_ngcp/mediaproxy-ng-master/kernel-module

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Grant Bagdasarian
Ohh, that's gonna be tricky then. Well, the thing is we want to do some kind of answer machine detection by catching the 181 SIP responses and CANCEL the dialogs. I've tested this with one of our suppliers and for the most mobile operators in this country a 181 response is given when the call

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Alex Balashov
On 07/04/2013 03:41 AM, Olle E. Johansson wrote: 4 jul 2013 kl. 09:30 skrev Grant Bagdasarian g...@cm.nl mailto:g...@cm.nl: Hello, Which module can I use to have Kamailio generate a CANCEL request when it receives a certain reply code? I want to cancel a dialog when Kamailio receives a 181

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Alex Balashov
On 07/04/2013 03:42 AM, Grant Bagdasarian wrote: Ohh, that's gonna be tricky then. Turns out it won't. Olle posted the correct solution. I was unaware of the tentacles TMX had been growing. :-) -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur,

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Olle E. Johansson
4 jul 2013 kl. 09:32 skrev Alex Balashov abalas...@evaristesys.com: Kamailio is a proxy, and not designed to originate requests. If you really, really want to generate a request, you can use uac_req_send(): http://kamailio.org/docs/modules/4.0.x/modules/uac.html#idp1686632 But,

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Alex Balashov
On 07/04/2013 03:45 AM, Olle E. Johansson wrote: Alex, Who sends a CANCEL on a fork? ;-) That's the proxy's job. (Sorry could not resist) Yes, but that's part of automatic branch control as part of normal forking implementation. When I said that, what I meant is that this sort of explicit

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Olle E. Johansson
4 jul 2013 kl. 09:46 skrev Alex Balashov abalas...@evaristesys.com: On 07/04/2013 03:45 AM, Olle E. Johansson wrote: Alex, Who sends a CANCEL on a fork? ;-) That's the proxy's job. (Sorry could not resist) Yes, but that's part of automatic branch control as part of normal forking

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Alex Hermann
On Thursday 04 July 2013 09:30:21 Grant Bagdasarian wrote: Which module can I use to have Kamailio generate a CANCEL request when it receives a certain reply code? I want to cancel a dialog when Kamailio receives a 181 Call Forwarded. Kamailio 1.5x. had this possibility. unfortunately, it got

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Alex Balashov
On 07/04/2013 03:51 AM, Olle E. Johansson wrote: Our marketing dept like to describe Kamailio as a SIP Server nowadays, not just a SIP proxy. Yeah, I know. But when I actually come out and say that, people rise in righteous indignation from their cream chicken and demand to know why it

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Daniel-Constantin Mierla
On 7/4/13 9:52 AM, Alex Hermann wrote: On Thursday 04 July 2013 09:30:21 Grant Bagdasarian wrote: Which module can I use to have Kamailio generate a CANCEL request when it receives a certain reply code? I want to cancel a dialog when Kamailio receives a 181 Call Forwarded. Kamailio 1.5x. had

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Olle E. Johansson
4 jul 2013 kl. 09:52 skrev Alex Hermann a...@speakup.nl: On Thursday 04 July 2013 09:30:21 Grant Bagdasarian wrote: Which module can I use to have Kamailio generate a CANCEL request when it receives a certain reply code? I want to cancel a dialog when Kamailio receives a 181 Call

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Olle E. Johansson
4 jul 2013 kl. 09:53 skrev Alex Balashov abalas...@evaristesys.com: On 07/04/2013 03:51 AM, Olle E. Johansson wrote: Our marketing dept like to describe Kamailio as a SIP Server nowadays, not just a SIP proxy. Yeah, I know. But when I actually come out and say that, people rise in

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Alex Hermann
On Thursday 04 July 2013 09:55:12 Daniel-Constantin Mierla wrote: On 7/4/13 9:52 AM, Alex Hermann wrote: On Thursday 04 July 2013 09:30:21 Grant Bagdasarian wrote: Which module can I use to have Kamailio generate a CANCEL request when it receives a certain reply code? I want to cancel a

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Grant Bagdasarian
So if I use the t_cancel_callid function, Kamailio sends a CANCEL to the UAS, but doesn't send anything to the UAC? Or do I need to handle that myself? -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Olle E.

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Olle E. Johansson
4 jul 2013 kl. 09:58 skrev Grant Bagdasarian g...@cm.nl: So if I use the t_cancel_callid function, Kamailio sends a CANCEL to the UAS, but doesn't send anything to the UAC? Or do I need to handle that myself? The UAS that receives the CANCEL will send a 200 Ok on the Cancel that you need NOT

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Alex Balashov
On 07/04/2013 04:03 AM, Olle E. Johansson wrote: I haven't tested this function so I don't know which parts of this that happens automagically in TM in the transaction context. I would assume that the 200 OK is handled properly and the 487 is forwarded only if there are not other branches that

Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-04 Thread Charles Chance
Hi Gary, Are you looking at the correct dialog? Before the BYE message, an ongoing dialog will have already moved from state 1 through 2, 3, 4 and finally state 5 after the BYE, before being cleared automatically after a few seconds. Perhaps there are two dialogs being created for the same

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Grant Bagdasarian
Will do. I'm not forking the INVITE, so there will only be a single branch. -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Olle E. Johansson Sent: Thursday, July 4, 2013 10:04 AM To: Kamailio (SER) - Users

Re: [SR-Users] Issue with RTP proxy....

2013-07-04 Thread Khue Nguyen Minh
Hi Andreas, I' using rtpproxy and I can hear voice but quality is not good. After I changed to mediaproxy-ng, I don't hear anything. I use same config with rtpproxy. Do you guide change config to mediaproxy-ng? Brs, 2013/7/4 Andreas Granig agra...@sipwise.com Hi, On 07/04/2013 09:00 AM,

Re: [SR-Users] Issue with RTP proxy....

2013-07-04 Thread Richard Fuchs
On 07/04/13 05:21, Khue Nguyen Minh wrote: Hi Andreas, I' using rtpproxy and I can hear voice but quality is not good. After I changed to mediaproxy-ng, I don't hear anything. I use same config with rtpproxy. Do you guide change config to mediaproxy-ng? They're mostly compatible, just make

[SR-Users] Core file issue

2013-07-04 Thread Krishna Kurapati
Hi, I am having the problem with core file generation on ubuntu For some reason the core file is not complete even though ulimit is set to unlimited $ullmit -a core file size (blocks, -c) unlimited - Unlimitd data seg size (kbytes, -d) unlimited scheduling priority

[SR-Users] kamailio with MSRP relay

2013-07-04 Thread Sunil Chandrasekharan
Hi All, I see that Kamailio supports MSRP relay. I wish to configure Kamailio with MSRP. 1. Do i just need to add the MSRP relay module into Include modules and build again? 2. Is there any existing clients, to test SIP and MSRP with Kamailio (e.g file transfer) Please let me know the support