Martin Kronstad
2005-Aug-04 22:37 UTC
[Asterisk-Users] Asterisk <-> Firewall/Nat <-> Internet <-> Firewall/Nat <-> Softphone/hardphone
Hi! Problem: I can't hear what the people at Location B i saying, they hear me but I do not hear them. They can call, I can call. Just no sound. My current setup is: Softphones/Hardphones(Location A) <-> Asterisk <-> Firewall/Nat <-> Internet <-> Firewall/Nat <-> Softphone/hardphone(Location B) I am having problems with sound, I have opened the following ports: Location A: 10 000 -> 20 000 (TCP and UDP) 5060 (TCP and UDP) 8000 (TCP and UDP) Location B: 8000 (TCP and UDP) 5060 (TCP and UDP) I am using asterisk@home 1.3 , and xlite as softphone. I have tried to set the softphone I have set the extention parameters(in sip.conf) to: ;; Location A [200] username=200 type=friend secret=1234 record_out=On-Demand record_in=On-Demand qualify=no port=5060 nat=never mailbox=200@default host=dynamic dtmfmode=rfc2833 context=from-internal canreinvite=no callerid="Location A" <200> ;; Location B [201] username=201 type=friend secret=1234 record_out=On-Demand record_in=On-Demand qualify=no port=5060 nat=yes mailbox=201@default host=dynamic dtmfmode=rfc2833 context=from-internal canreinvite=no callerid="Location B" <201> My sip.conf : port = 5060 ; Port to bind to (SIP is 5060) bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine) externip=80.202.50.16 disallow=all allow=ulaw allow=alaw context = from-sip-external ; Send unknown SIP callers to this context callerid = Unknown language=no Best Regard Martin Kronstad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050805/d0f1a3c9/attachment.htm
Alex
2005-Aug-05 04:12 UTC
[Asterisk-Users] Asterisk <-> Firewall/Nat <-> Internet <-> Firewall/Nat <-> Softphone/hardphone
what is the upload speed on B? Looks to me as you have bandwidth problem! Martin Kronstad wrote:> Hi! > > > > Problem: > > > > I can?t hear what the people at Location B i saying, they hear me but I > do not hear them. They can call, I can call. Just no sound. > > > > My current setup is: > > > > Softphones/Hardphones(Location A) <-> Asterisk <-> Firewall/Nat <-> > Internet <-> Firewall/Nat <-> Softphone/hardphone(Location B) > > > > I am having problems with sound, I have opened the following ports: > > > > Location A: > > 10 000 -> 20 000 (TCP and UDP) > > 5060 (TCP and UDP) > > 8000 (TCP and UDP) > > > > Location B: > > 8000 (TCP and UDP) > > 5060 (TCP and UDP) > > > > I am using asterisk@home 1.3 , and xlite as softphone. > > > > I have tried to set the softphone > > > > I have set the extention parameters(in sip.conf) to: > > > > ;; Location A > > [200] > > username=200 > > type=friend > > secret=1234 > > record_out=On-Demand > > record_in=On-Demand > > qualify=no > > port=5060 > > nat=never > > mailbox=200@default > > host=dynamic > > dtmfmode=rfc2833 > > context=from-internal > > canreinvite=no > > callerid="Location A" <200> > > > > ;; Location B > > [201] > > username=201 > > type=friend > > secret=1234 > > record_out=On-Demand > > record_in=On-Demand > > qualify=no > > port=5060 > > nat=yes > > mailbox=201@default > > host=dynamic > > dtmfmode=rfc2833 > > context=from-internal > > canreinvite=no > > callerid="Location B" <201> > > > > My sip.conf : > > > > port = 5060 ; Port to bind to (SIP is 5060) > > bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine) > > externip=80.202.50.16 > > disallow=all > > allow=ulaw > > allow=alaw > > context = from-sip-external ; Send unknown SIP callers to this context > > callerid = Unknown > > language=no > > > > > > Best Regard Martin Kronstad > > > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Martin Kronstad
2005-Aug-05 07:03 UTC
[Asterisk-Users] Asterisk <-> Firewall/Nat <-> Internet <-> Firewall/Nat <-> Softphone/hardphone
Hi! The bandwith is not the problem, uploadspeed is about 400 kbits. I think I found the solution, I need to have a Proxy in the middle, or set up a IAX2 client and server at each end. I will be testng this next week. BR Martin Kronstad>What is the upload speed on B?>>Looks to me as you have bandwidth problem!>>Martin Kronstad wrote:> Hi!>>>> Problem:>>>> I can_t hear what the people at Location B i saying, they hear me but I> do not hear them. They can call, I can call. Just no sound.>>>> My current setup is:>>>> Softphones/Hardphones(Location A) <-> Asterisk <-> Firewall/Nat <->> Internet <-> Firewall/Nat <-> Softphone/hardphone(Location B)>>>> I am having problems with sound, I have opened the following ports:>>>> Location A:>> 10 000 -> 20 000 (TCP and UDP)>> 5060 (TCP and UDP)>> 8000 (TCP and UDP)>>>> Location B:>> 8000 (TCP and UDP)>> 5060 (TCP and UDP)>>>> I am using asterisk@home 1.3 , and xlite as softphone.>>>> I have tried to set the softphone>>>> I have set the extention parameters(in sip.conf) to:>>>> ;; Location A>> [200]>> username=200>> type=friend>> secret=1234>> record_out=On-Demand>> record_in=On-Demand>> qualify=no>> port=5060>> nat=never>> mailbox=200@default>> host=dynamic>> dtmfmode=rfc2833>> context=from-internal>> canreinvite=no>> callerid="Location A" <200>>>>> ;; Location B>> [201]>> username=201>> type=friend>> secret=1234>> record_out=On-Demand>> record_in=On-Demand>> qualify=no>> port=5060>> nat=yes>> mailbox=201@default>> host=dynamic>> dtmfmode=rfc2833>> context=from-internal>> canreinvite=no>> callerid="Location B" <201>>>>> My sip.conf :>>>> port = 5060 ; Port to bind to (SIP is 5060)>> bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)>> externip=80.202.50.16>> disallow=all>> allow=ulaw>> allow=alaw>> context = from-sip-external ; Send unknown SIP callers to this context>> callerid = Unknown>> language=no>>>>>> Best Regard Martin Kronstad>-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050805/a42a4a56/attachment.htm
Wiley Siler
2005-Aug-05 10:01 UTC
[Asterisk-Users] Asterisk <-> Firewall/Nat <-> Internet <-> Firewall/Nat <-> Softphone/hardphone
Switch to IAXCOMM and use an IAX extension. Problem solved. W ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Martin Kronstad Sent: Friday, August 05, 2005 7:03 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [Asterisk-Users] Asterisk <-> Firewall/Nat <-> Internet <-> Firewall/Nat <-> Softphone/hardphone Hi! The bandwith is not the problem, uploadspeed is about 400 kbits. I think I found the solution, I need to have a Proxy in the middle, or set up a IAX2 client and server at each end... I will be testng this next week. BR Martin Kronstad>What is the upload speed on B?>>Looks to me as you have bandwidth problem!>>Martin Kronstad wrote:> Hi!>>>> Problem:>>>> I can_t hear what the people at Location B i saying, they hear me butI> do not hear them. They can call, I can call. Just no sound.>>>> My current setup is:>>>> Softphones/Hardphones(Location A) <-> Asterisk <-> Firewall/Nat <->> Internet <-> Firewall/Nat <-> Softphone/hardphone(Location B)>>>> I am having problems with sound, I have opened the following ports:>>>> Location A:>> 10 000 -> 20 000 (TCP and UDP)>> 5060 (TCP and UDP)>> 8000 (TCP and UDP)>>>> Location B:>> 8000 (TCP and UDP)>> 5060 (TCP and UDP)>>>> I am using asterisk@home 1.3 , and xlite as softphone.>>>> I have tried to set the softphone>>>> I have set the extention parameters(in sip.conf) to:>>>> ;; Location A>> [200]>> username=200>> type=friend>> secret=1234>> record_out=On-Demand>> record_in=On-Demand>> qualify=no>> port=5060>> nat=never>> mailbox=200@default>> host=dynamic>> dtmfmode=rfc2833>> context=from-internal>> canreinvite=no>> callerid="Location A" <200>>>>> ;; Location B>> [201]>> username=201>> type=friend>> secret=1234>> record_out=On-Demand>> record_in=On-Demand>> qualify=no>> port=5060>> nat=yes>> mailbox=201@default>> host=dynamic>> dtmfmode=rfc2833>> context=from-internal>> canreinvite=no>> callerid="Location B" <201>>>>> My sip.conf :>>>> port = 5060 ; Port to bind to (SIP is 5060)>> bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)>> externip=80.202.50.16>> disallow=all>> allow=ulaw>> allow=alaw>> context = from-sip-external ; Send unknown SIP callers to this context>> callerid = Unknown>> language=no>>>>>> Best Regard Martin Kronstad>-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050805/d9c551da/attachment.htm
Robert Goodyear
2005-Aug-05 12:21 UTC
[Asterisk-Users] Asterisk <-> Firewall/Nat <-> Internet <-> Firewall/Nat <-> Softphone/hardphone
On Aug 4, 2005, at 10:37 PM, Martin Kronstad wrote:> Hi! > > > Problem: > > > I can?t hear what the people at Location B i saying, they hear me > but I do not hear them. They can call, I can call. Just no sound. > > > My current setup is: > > > Softphones/Hardphones(Location A) <-> Asterisk <-> Firewall/Nat <-> > Internet <-> Firewall/Nat <-> Softphone/hardphone(Location B)A great guide is here: http://www.asteriskguru.com/tutorials/ sip_nat_oneway_or_no_audio_asterisk.html Pay very close attention to the externip and localnet parameters that belong in the GENERAL section of SIP.conf -- Robert Goodyear Brand Up LLC http://www.brand-up.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050805/842e88f3/attachment.htm