[asterisk-users] Call are established, but voices can't be heard
Hi, I am having a little problem and I hoped maybe I could get some help here. I deployed a Asterisk 1.8 server of my own to make SIP calls just between my friends. The server is configured with a public IP address. My friends and I are using Acrobits Softphone for iPhone as a client. I am using its push service which is hooked up to my Asterisk server. Now, the current situation is like this: My friend is under a WI-FI access point at his home, so his iPhone is assigned something like 192.168.x.x. I am using 3G network, so I have a public IP address. Now, when I call my friend using my Asterisk server, the call is made somehow. Which is amazing. How the hell can I make a call to someone who is using a private IP address?? I don't know how this is possible but my guess is that Acrobits' push service is doing some kind of magic. So the call is established and I can hear my friend's voice. But my friend CANNOT hear MY VOICE. I figure this is because he is using a private IP address. I just don't get it. Calls can be established whether two people are using public IP address, or private IP addreess. But your voice can be heard only if the other person is using a public IP address. Is there some misconfiguration with my server, or my Softphone app? Please enlighten me. I'd really appreciate any kind of help Ed -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Call are established, but voices can't be heard
I listened to your email using DriveCarefully and will respond as soon as I can. Download DriveCarefully for free at www.drivecarefully.com -- Sent from my BlackBerry® Senior Support Engineer US Numbers: 561-886-0664 Nicaragua Mobile: +505.8488.6876 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Call are established, but voices can't be heard
On Wed, Mar 16, 2011 at 9:07 PM, edward choi mp2...@gmail.com wrote: Now, the current situation is like this: My friend is under a WI-FI access point at his home, so his iPhone is assigned something like 192.168.x.x. I am using 3G network, so I have a public IP address. snip I just don't get it. Calls can be established whether two people are using public IP address, or private IP addreess. But your voice can be heard only if the other person is using a public IP address. You need to set 'nat=yes' on the sip peer that your friend is using while he's on a private IP address in sip.conf. -- Thanks, --Warren Selby, dCAP http://www.selbytech.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Call are established, but voices can't be heard
Thanks for the info. But then do I have to set 'nat=no' when he is on a public IP address? It would be quite a labor to switch back and forth every time my friend switches from a public to private IP or private to public IP. 2011/3/17 Warren Selby wcse...@selbytech.com On Wed, Mar 16, 2011 at 9:07 PM, edward choi mp2...@gmail.com wrote: Now, the current situation is like this: My friend is under a WI-FI access point at his home, so his iPhone is assigned something like 192.168.x.x. I am using 3G network, so I have a public IP address. snip I just don't get it. Calls can be established whether two people are using public IP address, or private IP addreess. But your voice can be heard only if the other person is using a public IP address. You need to set 'nat=yes' on the sip peer that your friend is using while he's on a private IP address in sip.conf. -- Thanks, --Warren Selby, dCAP http://www.selbytech.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Call are established, but voices can't be heard
On Wed, Mar 16, 2011 at 11:39 PM, edward choi mp2...@gmail.com wrote: Thanks for the info. But then do I have to set 'nat=no' when he is on a public IP address? It would be quite a labor to switch back and forth every time my friend switches from a public to private IP or private to public IP. No, I don't believe so, but the best way to find out is to test. -- Thanks, --Warren Selby, dCAP http://www.selbytech.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Call are established, but voices can't be heard
ED, doesnt matter whether your using Public or Private IP addresses it should still work. theres also a situation on how you have configured it. it can also be a codec issue. i havent really dealt with Acrobits i would check the codec's if its using GSM or G.711 which is standard. and also check ports on the server. i have a friend who i communicate through asterisk and we use IAX. private to public ip addresses but in our circumstances we are using OpenVPN in between and dial an extension without the use of a SIP server. On Thu, 2011-03-17 at 11:07 +0900, edward choi wrote: Hi, I am having a little problem and I hoped maybe I could get some help here. I deployed a Asterisk 1.8 server of my own to make SIP calls just between my friends. The server is configured with a public IP address. My friends and I are using Acrobits Softphone for iPhone as a client. I am using its push service which is hooked up to my Asterisk server. Now, the current situation is like this: My friend is under a WI-FI access point at his home, so his iPhone is assigned something like 192.168.x.x. I am using 3G network, so I have a public IP address. Now, when I call my friend using my Asterisk server, the call is made somehow. Which is amazing. How the hell can I make a call to someone who is using a private IP address?? I don't know how this is possible but my guess is that Acrobits' push service is doing some kind of magic. So the call is established and I can hear my friend's voice. But my friend CANNOT hear MY VOICE. I figure this is because he is using a private IP address. I just don't get it. Calls can be established whether two people are using public IP address, or private IP addreess. But your voice can be heard only if the other person is using a public IP address. Is there some misconfiguration with my server, or my Softphone app? Please enlighten me. I'd really appreciate any kind of help Ed -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Call are established, but voices can't be heard
On Wed, Mar 16, 2011 at 11:41 PM, Warren Selby wcse...@selbytech.comwrote: On Wed, Mar 16, 2011 at 11:39 PM, edward choi mp2...@gmail.com wrote: Thanks for the info. But then do I have to set 'nat=no' when he is on a public IP address? It would be quite a labor to switch back and forth every time my friend switches from a public to private IP or private to public IP. No, I don't believe so, but the best way to find out is to test. Also, if it turns out that you indeed do need to switch, just create two sip peers, and define two separate identities in the SIP client (I don't have experience with the one you mentioned, but the one I use, iSip, allows this) and switch between the two based on your network location. -- Thanks, --Warren Selby, dCAP http://www.selbytech.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Call are established, but voices can't be heard
Ok, I did a little test. First, I set 'nat=yes' in my account and my friend's account in sip.conf. Now when we are both on 3G, we can hear our voices just fine. When we are under the same WI-FI access point(ie private IP address), we can hear our voices fine. BUT, when I am on 3G, and my friend is on private IP, the same thing happens again. I can hear his voice. But he cannot hear my voice. I guess 'nat=yes' was not the solution perhaps? 2011/3/17 Warren Selby wcse...@selbytech.com On Wed, Mar 16, 2011 at 11:41 PM, Warren Selby wcse...@selbytech.comwrote: On Wed, Mar 16, 2011 at 11:39 PM, edward choi mp2...@gmail.com wrote: Thanks for the info. But then do I have to set 'nat=no' when he is on a public IP address? It would be quite a labor to switch back and forth every time my friend switches from a public to private IP or private to public IP. No, I don't believe so, but the best way to find out is to test. Also, if it turns out that you indeed do need to switch, just create two sip peers, and define two separate identities in the SIP client (I don't have experience with the one you mentioned, but the one I use, iSip, allows this) and switch between the two based on your network location. -- Thanks, --Warren Selby, dCAP http://www.selbytech.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users