This is my configuration for sip on trixbox. I have written my prob in the end of the post. thx.
[b]sip.conf[/b]
[general]
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw ; i have tried adding codecs ilbc, gsm, g729
; If you need to answer unauthenticated calls, you should change this
; next line to 'from-trunk', rather than 'from-sip-external'.
; You'll know this is happening if when you call in you get a message
; saying "The number you have dialed is not in service. Please check the
; number and try again."
; i have used from-sip-external too
context = from-trunk ; Send unknown SIP callers to this context
callerid = Unknown
tos=0x68
pedantic=no
progressinband=yes
; #, in this configuration file, is NOT A COMMENT. This is exactly
; how it should be.
#include sip_nat.conf
#include sip_custom.conf
#include sip_additional.conf
[b]sip_nat.conf[/b]
nat=yes ; i have tried nat=1
externip=dpdphonesystem.no-ip.org ; i have tried externhost too
localnet=192.168.0.0/255.255.255.0
qualify=yes
[b]sip_additional.conf[/b]
register=@sip.broadvoice.com::@sip.broadvoice.com
[200]
username=200
type=friend
secret=
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=1
mailbox=200@device
host=dynamic
dtmfmode=rfc2833
disallow=all
context=from-internal
canreinvite=no
callerid= <200>
allow=alaw
; outgoing
[bv]
username=
user=phone
type=peer
secret=
nat=yes
insecure=very
host=sip.broadvoice.com
fromuser=
fromdomain=sip.broadvoice.com
dtmfmode=rfc2833
dtmf=rfc2833
context=from-pstn
canreinvite=no
authname=
; incoming
[sip.broadvoice.com]
username=
user=phone
type=user
secret=
nat=yes
insecure=very
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
dtmfmode=rfc2833
dtmf=rfc2833
context=from-pstn
[b]sip.conf[/b]
[general]
;
; RTP start and RTP end configure start and end addresses
;
rtpstart=8000
rtpend=9999
; I have tried with the default 10000 - 20000 and many others
; using 9999 because i am using webmin on 10000
I have looked in many places on how to solve this problem, most of them is just NAT=yes, but i already have that. I have port forwards for my pbx, have put them in dmz server, and even outside my firewall, and still doesnt work. Then it comes to me that it might not be a nat problem. I tried using x-lite v2 and v3, and grandstream budget tone-100. The phones register with the server just fine, they make the calls, but whenever user is outside lan and they call someone inside lan, then you cannot hear them, but they can hear you. However, if a cell phone calls to the outside user, the user can hear but who is calling cant, and if the outside user is calling a cell phone, neither side can hear each other. They used to work some time ago. I have tried fresh install from trixbox 1.0, 1.1, etc.. I have tried all versions released until now, and none of them seems to work with me. I had everything on a VM using vmware, then i made a dedicated server for trixbox and still the same problem. I dont know what else i can do. By the way, IAX works fine. I would appreciate comments on how to solve my problem. Thanks :-D
David Cabrejos
Member Since:
2006-08-15