Re: [SR-Users] How does rtpproxy handle handover?

2013-08-15 Thread Khoa Pham
at 7:03 AM, Daniel-Constantin Mierla < > mico...@gmail.com> wrote: > >> Kamailio does not send any command to RTPProxy unless it handles some >> SIP messages, the U and L commands are typically for INVITEs and 200ok. >> >> Have you looked at sip traffic? You can run n

Re: [SR-Users] How does rtpproxy handle handover?

2013-08-14 Thread Khoa Pham
I think it is related to so called IP address filling and trusted IP On Wed, Aug 14, 2013 at 4:09 PM, Khoa Pham wrote: > Hi Daniel, > > My clients don't do anything when IP change occurs.From what I inspect, it > is because of rtpproxy does not accept the 2nd IP change. &

Re: [SR-Users] How does rtpproxy handle handover?

2013-08-14 Thread Khoa Pham
rote: > Hello, > > > On 8/13/13 5:56 AM, Khoa Pham wrote: > > I have SIP proxy (Kamailio) works in conjunction with > rtpproxy<http://www.rtpproxy.org/> to > support client communication. When SIP proxy sends command to rtpproxy to > create new session, rtpproxy wi

[SR-Users] How does rtpproxy handle handover?

2013-08-12 Thread Khoa Pham
Why did the first handover succeed? How can I change rtpproxy behavior to support many handovers ? -- Khoa Pham HCMC University of Science www.fantageek.com ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip

[SR-Users] Does Kamailio check for CSeq, Call-ID when unregister ?

2013-05-31 Thread Khoa Pham
Hi, When I want to unregister, I have 2 ways 1. Append ;expires=0 in Contact field 2. Add another Expires : 0 header with CSeq, Call-ID not the same with when i register Does Kamailio check for the saem Cseq, Call-ID to allow unregistration ? -- Khoa Pham HCMC University of Science

Re: [SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Khoa Pham
s.sip-router.org/cgi-bin/mailman/listinfo/sr-users> > -- Khoa Pham HCMC University of Science www.fantageek.com ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Khoa Pham
n q-value if you use t_load_contacts() and t_next_contacts() correctly. > > This is the correct SIP behaviour as per RFC 3261. > > Regards, > > Peter > > > On 30/05/13 11:05, Khoa Pham wrote: > > @Olle: > > So when I have incoming calls, which registration

Re: [SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Khoa Pham
/0.9.x/registrar.html#AEN62 > > > > 2013/5/30 Olle E. Johansson > > >> 30 maj 2013 kl. 11:38 skrev Khoa Pham : >> >> > When I make REGISTER request to server Kamailio. Kamailio sometimes >> return me REGISTER 200 OK response with many Co

[SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Khoa Pham
ed="sip:1.1.1.1:58650;transport=TLS", ;expires=900;+sip.instance="";reg-id=1 Why is that ? -- Khoa Pham HCMC University of Science www.fantageek.com ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lis

Re: [SR-Users] Do we need rtpproxy for all kind of NAT?

2013-05-07 Thread Khoa Pham
__ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > -- Khoa Pham HCMC University of Science Faculty of Information Technology ___

Re: [SR-Users] Max concurrent TCP connection that Kamailio support ?

2013-05-06 Thread Khoa Pham
h.com/solutions.html > > > > -- > Date: Mon, 6 May 2013 10:54:13 +0700 > From: onmyway...@gmail.com > To: sr-users@lists.sip-router.org > Subject: [SR-Users] Max concurrent TCP connection that Kamailio support ? > > > Hi, > > What is

[SR-Users] How to use Kamailio as load balancer

2013-05-06 Thread Khoa Pham
io as load balancer in front of a farm of proxy doing the actual processing" How to use Kamailio as load balancer ? -- Khoa Pham HCMC University of Science Faculty of Information Technology ___ SIP Express Router (SER) and Kamailio (OpenSER)

[SR-Users] Max concurrent TCP connection that Kamailio support ?

2013-05-05 Thread Khoa Pham
Hi, What is the maximum number of concurrent TCP connection that Kamailio can handle ? I see the max_tcp_connections (which is set to 2048), is that the answer ? How to test for this ? Many thanks -- Khoa Pham HCMC University of Science Faculty of Information Technology

Re: [SR-Users] How to decrypt SIP message

2013-05-03 Thread Khoa Pham
@Olle To be more specific, I only want UDP with SIP encryption On Fri, May 3, 2013 at 7:56 PM, Khoa Pham wrote: > @Olle. thanks for your reply > > 1. I only want stream encryption to avoid SIP ALG (which can modify SIP > message wrongly) > 2. What is the max concurrent TCP

Re: [SR-Users] How to decrypt SIP message

2013-05-03 Thread Khoa Pham
> need for protection. > > /O > > 3 maj 2013 kl. 14:14 skrev Khoa Pham : > > @Daniel > > TLS is OK, but many TCP connections will makes client suffering from 503 > Service Unavailable error. Please consider this as a feature request :) > > > On Tue, Apr 2,

Re: [SR-Users] How to decrypt SIP message

2013-05-03 Thread Khoa Pham
@Daniel TLS is OK, but many TCP connections will makes client suffering from 503 Service Unavailable error. Please consider this as a feature request :) On Tue, Apr 2, 2013 at 11:18 AM, Khoa Pham wrote: > Hi, > > Currently, I'm using TLS and it works fine. But eventually, TLS

[SR-Users] Kamalio report 404 not found upon INVITE ?

2013-04-07 Thread Khoa Pham
Hi, I have my SIP client registered to Kamailio successfully. I've check the location table in Kamailio and assert this successful registration. But when another SIP client tries to make call to me, it receive 404 not found from Kamailio. What cause this problem ? Please help -- Khoa

Re: [SR-Users] What IP in REGISTER message does Kamalio use to store location ?

2013-04-04 Thread Khoa Pham
;> Either that or you are using one the NAT protocols, (STUN,ICE,etc). >> >> cheers >> Jason >> >> >> On Tue, Apr 2, 2013 at 2:39 AM, Khoa Pham wrote: >> >>> @Jason >>> >>> Thanks, but it strange. I only send 1 REGISTER t

Re: [SR-Users] What IP in REGISTER message does Kamalio use to store location ?

2013-04-02 Thread Khoa Pham
ably some NAT helping code in your Kamailio config file. > Either that or you are using one the NAT protocols, (STUN,ICE,etc). > > cheers > Jason > > > On Tue, Apr 2, 2013 at 2:39 AM, Khoa Pham wrote: > >> @Jason >> >> Thanks, but it strange. I only send 1 REG

[SR-Users] How to decrypt SIP message

2013-04-01 Thread Khoa Pham
uld I insert in Kamalio to decrypt it? -- Khoa Pham HCMC University of Science Faculty of Information Technology ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/ma

Re: [SR-Users] What IP in REGISTER message does Kamalio use to store location ?

2013-04-01 Thread Khoa Pham
rief, to the point or > contain typos. > -- > On 1 Apr 2013 14:57, "Khoa Pham" wrote: > >> Hi, when client send REGISTER message to Kamalio. Kamailio will save that >> client's IP to database. >> But what is this IP ? Is is 1,2 or 3 ? >> 1. The IP f

[SR-Users] What IP in REGISTER message does Kamalio use to store location ?

2013-04-01 Thread Khoa Pham
Hi, when client send REGISTER message to Kamalio. Kamailio will save that client's IP to database. But what is this IP ? Is is 1,2 or 3 ? 1. The IP from Via field 2. The IP from Contact field 3. The IP from the IP packet Many thanks -- Khoa Pham HCMC University of Science Faculty of Inform

Re: [SR-Users] How to enable TLS in Kamailio ?

2013-03-20 Thread Khoa Pham
y ip address" and all enabled > services will be bound to the especified IP address. > > Best regards, > > Moacir > -- > From: o...@edvina.net > Date: Wed, 20 Mar 2013 12:43:06 +0100 > To: sr-users@lists.sip-router.org > Subject: Re: [S

Re: [SR-Users] How to enable TLS in Kamailio ?

2013-03-20 Thread Khoa Pham
it. > > Cheers, > Daniel > > On 3/19/13 8:08 AM, Khoa Pham wrote: > > Hi, > > I want to enable TLS in Kamailio, as in here > http://kamailio.org/docs/modules/stable/modules/tls.html > > But how can I get the certificate and private key ? > > > The do

Re: [SR-Users] How to enable TLS in Kamailio ?

2013-03-20 Thread Khoa Pham
sr/local/etc/kamailio > > If you need one that is signed by a trusted CA (e.g., Verisign), you will > have to buy it. > > Cheers, > Daniel > > > On 3/19/13 8:08 AM, Khoa Pham wrote: > > Hi, > > I want to enable TLS in Kamailio, as in here > http://kamailio

[SR-Users] How to enable TLS in Kamailio ?

2013-03-19 Thread Khoa Pham
Hi, I want to enable TLS in Kamailio, as in here http://kamailio.org/docs/modules/stable/modules/tls.html But how can I get the certificate and private key ? -- Khoa Pham HCMC University of Science Faculty of Information Technology ___ SIP Express

Re: [SR-Users] Kamailio strange behavior : bad Via, bad port

2013-03-18 Thread Khoa Pham
I heard some people said that it is the ALG of some routers that modify the SIP message, hence cause the errors On Sun, Mar 17, 2013 at 8:39 PM, Khoa Pham wrote: > @Sergey > > Hi, thanks for the response. I check the INVITE many times, and make sure > it is OK. > This pro

Re: [SR-Users] Kamailio not send 100/180 for INVITE !

2013-03-17 Thread Khoa Pham
@Khue Hi, my config file is the default config file used in Kamalio 3.3.3 On Mon, Mar 18, 2013 at 9:14 AM, Khue Nguyen Minh wrote: > Hi Khoa, > > Can you put your config file to here? > > Brs. > > 2013/3/15 Khoa Pham > >> Hi, >> >> When A calls

Re: [SR-Users] Kamailio strange behavior : bad Via, bad port

2013-03-17 Thread Khoa Pham
@Sergey Hi, thanks for the response. I check the INVITE many times, and make sure it is OK. This problem somestimes happens On Sun, Mar 17, 2013 at 8:28 PM, Sergey Okhapkin wrote: > Why you're sure that INVITE message is OK? > > On Sunday 17 March 2013 20:22:21 Khoa Pham

[SR-Users] Kamailio strange behavior : bad Via, bad port

2013-03-17 Thread Khoa Pham
w why ? Please help. Thanks -- Khoa Pham HCMC University of Science Faculty of Information Technology ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] How does Kamailio handle INVITE message by default ?

2013-03-16 Thread Khoa Pham
problem is very important but unfortunately, it lacks document :( On Mon, Mar 11, 2013 at 7:52 PM, Daniel-Constantin Mierla wrote: > Hello, > > > On 3/6/13 1:54 PM, Khoa Pham wrote: > >> Hi, >> >> After asking many questions, I haven't got any clues about how

[SR-Users] Does Kamailio work with ICE ?

2013-03-15 Thread Khoa Pham
Hi, 1. Does Kamailio work with ICE? What does Kamailio do with ICE candidates in SDP ? 2. Does rtpproxy acts as TURN server ? Many thanks. Please help -- Khoa Pham HCMC University of Science Faculty of Information Technology ___ SIP Express Router

[SR-Users] Kamailio not send 100/180 for INVITE !

2013-03-15 Thread Khoa Pham
Hi, When A calls B. Kamailio will handle A's INVITE message. But I see that B doesnot receive the INVITE. And A doesnot receive any 100/180 privisional message. Why does Kamailio not send 100/180 ? Please help -- Khoa Pham HCMC University of Science Faculty of Information Techn

Re: [SR-Users] What factor determine NATed or not ?

2013-03-15 Thread Khoa Pham
@Daniel, Thanks for the response. So it will first check 16, then 2, then 1 ? And if we send second REGISTER, does the second override the first ? On Fri, Mar 15, 2013 at 2:25 PM, Daniel-Constantin Mierla wrote: > Hello, > > > On 3/15/13 8:15 AM, Khoa Pham wrote: > >> H

[SR-Users] What factor determine NATed or not ?

2013-03-15 Thread Khoa Pham
Hi, When we send REGISTER or INVITE to Kamailio, which part of the request message does Kamailio use to determine if client is NATed or not ? -- Khoa Pham HCMC University of Science Faculty of Information Technology ___ SIP Express Router (SER) and

[SR-Users] How does Kamailio handle INVITE message by default ?

2013-03-06 Thread Khoa Pham
2. Change the c= line to a.b.c.d 3. Force RTP to go through a proxy by changing the c-line to c=IN IP4 address-of-proxy and the m-line to m=audio port-on-proxy RTP/AVP 0 101. When will SER do 2, 3 ? -- Khoa Pham HCMC University of Science Faculty of Informa

Re: [SR-Users] Cannot hear voice with symmetric NAT and STUN

2013-03-05 Thread Khoa Pham
s > > > ___ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > -- Khoa Pham HCMC University of Science Faculty

Re: [SR-Users] Cannot hear voice with symmetric NAT and STUN

2013-03-04 Thread Khoa Pham
1:30 am > Subject: Re: [SR-Users] Cannot hear voice with symmetric NAT and STUN > > On 03/04/2013 02:55 AM, Khoa Pham wrote: > > @Alex: thanks for reply > > > > In this IPv4 world, most devices are in NAT, and it only matters if they > > are symmetric NAT or not. &

Re: [SR-Users] Cannot hear voice with symmetric NAT and STUN

2013-03-03 Thread Khoa Pham
not, it doesnot know the NAT type On Mon, Mar 4, 2013 at 2:46 PM, Alex Balashov wrote: > On 03/04/2013 02:44 AM, Khoa Pham wrote: > > @Daniel, how can the SIP proxy determine whether to use rtpproxy or >> not ? >> > > You have to set your own criteria for that. If you

Re: [SR-Users] Cannot hear voice with symmetric NAT and STUN

2013-03-03 Thread Khoa Pham
turn server. > > Cheers, > Daniel > > > On 2/28/13 5:48 PM, Khoa Pham wrote: > > Hi David, I already read all of these. But the problem seems contradict > with what I read > > > On Thu, Feb 28, 2013 at 9:56 PM, David wrote: > >> Hello, >> >> Look on

Re: [SR-Users] When to rewrite o= in SDP ?

2013-03-03 Thread Khoa Pham
rite it > always to be sure that is not the reason of some no-audio problem). > > Cheers, > Daniel > > > On 3/1/13 12:47 PM, Khoa Pham wrote: > > Hi, I mistype. What I want to know is what affects Kamailio decision in > rewriting c= in SDP. > > In http://kamail

Re: [SR-Users] Kamailio problem with both clients in the same NAT

2013-03-03 Thread Khoa Pham
olution for it? > > > ___ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > -- Khoa Pham HCMC University of Sci

Re: [SR-Users] When to rewrite o= in SDP ?

2013-03-01 Thread Khoa Pham
if the caller is behind NAT or not. Does it care about caller's symmetric NAT, using STUN, callee's nat type ? On Fri, Mar 1, 2013 at 10:38 AM, Khoa Pham wrote: > Hi, I read in http://kamailio.org/docs/modules/1.4.x/nathelper.html that > Kamailio might rewrite ip address

[SR-Users] When to rewrite o= in SDP ?

2013-02-28 Thread Khoa Pham
Hi, I read in http://kamailio.org/docs/modules/1.4.x/nathelper.html that Kamailio might rewrite ip address in o= in SDP to facilitate NAT traversal. It may decide to use to original IP or use IP of RTP server. What factors affect its decision ? -- Khoa Pham HCMC University of Science Faculty of

Re: [SR-Users] Cannot hear voice with symmetric NAT and STUN

2013-02-28 Thread Khoa Pham
cles. > > David > > > On 13-02-27 10:26 PM, Khoa Pham wrote: > > Hi, I have Kamailio as SIP server and RTP server. Client is PJSIP. > > I read that STUN is for non-symmetric NAT, and RTP server is for > symmetric NAT. > > Supposed A calls B. > > If A,

[SR-Users] Cannot hear voice with symmetric NAT and STUN

2013-02-27 Thread Khoa Pham
cannot hear each other. Why is that? I read http://tools.ietf.org/id/draft-takeda-symmetric-nat-traversal-00.txt for Prediction Failure, is that related to this problem ? -- Khoa Pham HCMC University of Science Faculty of Information Technology ___ SIP

Re: [SR-Users] How to let Kamailio to always use RTP proxy

2013-02-27 Thread Khoa Pham
@Sammy, it works. Thanks On Wed, Feb 27, 2013 at 5:08 PM, SamyGo wrote: > Hi, > Its simple, just before t_relay() the signalling to destination B use > rtpproxy module's function manage_rtpproxy() > > I hope you'll have it working. > > Regards, > Sammy >

[SR-Users] How to let Kamailio to always use RTP proxy

2013-02-27 Thread Khoa Pham
Hi, Supposed A call B in a non-NAT environment. How to let Kamailio to always force A, B to use RTP proxy ? -- Khoa Pham HCMC University of Science Faculty of Information Technology ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users