[Asterisk-Users] Asterisk <-> Firewall/Nat <-> Internet <-> Firewall/Nat <-> Softphone/hardphone

Martin Kronstad phara0h at siteman.no
Fri Aug 5 07:03:02 MST 2005


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 at 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 at 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 at 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


More information about the asterisk-users mailing list