[Asterisk-bsd] messagenet registration
giovanni.v
iax at keybits.org
Mon Feb 28 13:25:02 CST 2011
Il 28/02/2011 16.11, Catonano ha scritto:
> From: "asterisk"<sip:asterisk at 192.168.0.8>;tag=as7b8054ba
> To:<sip:sip.messagenet.it>;tag=797b035a1d6b0049ed33903c5ef0eddf.2e6c
> Call-ID:4609b9ca66719bd97e0e424428997393 at 192.168.0.8:5060
> Warning: 392 212.97.59.76:5061 "Noisy feedback tells: pid=24197
> req_src_ip=88.149.227.162 req_src_port=5060
> in_uri=sip:sip.messagenet.it out_uri=sip:sip.messagenet.it via_cnt==1"
>
>
> Any hint ?
The above sip message from the messagenet proxy says that someting is
wrong in your sip.conf.
Your voip box sit behind nat but sip:asterisk at 192.168.0.8 looks like
asterisk is not aware of because misconfigured.
1) declare your external ip address in sip.conf, externip=your_public_ip
2) declare your local network in sip.conf, localnet=192.168.0.0/24
2) set nat=yes in the provider context in sip.conf (I do not suggest to
do that in the general section like the example in your link).
This works for me:
; Messagenet
[SIP-PROVIDER-008]
type=friend
defaultuser=messagenet_numeric_username
secret=secret
host=sip.messagenet.it
port=5061
context=SIP-PROVIDER-008-incoming
fromdomain=sip.messagenet.it
language=it-it
nat=yes
qualify=2000
directmedia=no
insecure=port,invite
dtmfmode=auto
disallow=all
allow=alaw
allow=gsm
More information about the Asterisk-BSD
mailing list