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

Martin Kronstad phara0h at siteman.no
Thu Aug 4 22:37:26 MST 2005


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/d0f1a3c9/attachment.htm


More information about the asterisk-users mailing list