在Freepbx中,如下設置,能夠成功打入/打出:
pedantic=yes
Trunk->Outgoing Setting->Peer Details:
username=852xxxxxxxx
type=friend
transport=udp
secret=xxxxxx
realm=852xxxxxxxx&huawei
qualify=no
nat=force_rport,comedia
insecure=port,invite
host=202.0.179.3
fromuser=852xxxxxxxx
fromdomain=202.0.179.3
dtmfmode=auto
disallow=all
context=from-trunk
canreinvite=no
allow=ulaw&alaw
Trunk->Incoming Settings->User Details:
username=852xxxxxxxx
type=user
host=202.0.179.3
context=from-trunk
Trunk->Registration->Registration String:
852xxxxxxxx:xxxxx@202.0.179.3/852xxxxxxxx |