edward choi
2011-Mar-17 02:07 UTC
[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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110317/58c6e5ec/attachment.htm>
bayardo.sanchez at gmail.com
2011-Mar-17 02:16 UTC
[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
Warren Selby
2011-Mar-17 04:00 UTC
[asterisk-users] Call are established, but voices can't be heard
On Wed, Mar 16, 2011 at 9:07 PM, edward choi <mp2893 at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110316/69bae39b/attachment.htm>
John Kosmas
2011-Mar-17 04:41 UTC
[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