[Asterisk-bsd] messagenet registration

Catonano catonano at gmail.com
Mon Feb 28 09:11:55 CST 2011


Hello people,

I'm playing with Asterisk 1.8.2.3 on NetBSD 5.1

I'm following these instructions to let my Asterisk installation to
hook and register on a Messagenet based ISP proxy, with no success.

http://messagenet.com/en/voip/sw/asterisk.html

in the /var/log/asterisk/messages file I had spotted a line reporting
that the unsecure=very line (in the sip.conf file) was not meaningful
so it was being ignored; I commented it out and now I don't see that
report in the log anymore

I can't receive calls from the Messagenet service, nor can I make calls to it.

On the consolle, I see that the SIP peer is present but there are 0
SIP registrations. What's wrong ?

netbsd*CLI> sip show registry
Host                                    dnsmgr Username       Refresh
State                Reg.Time
0 SIP registrations.
netbsd*CLI>


and


netbsd*CLI> sip show peers
Name/username              Host                                    Dyn
Forcerport ACL Port     Status
2001/2001                  192.168.0.110                            D
        5060     Unmonitored
sip.messagenet.it/5xxxxxx  212.97.59.76
 N      5061     OK (67 ms)
2 sip peers [Monitored: 1 online, 0 offline Unmonitored: 1 online, 0 offline]
netbsd*CLI>

Also I see

Reliably Transmitting (NAT) to 212.97.59.76:5061:
OPTIONS sip:sip.messagenet.it SIP/2.0
Via: SIP/2.0/UDP 192.168.0.8:5060;branch=z9hG4bK3efcd7b6;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk at 192.168.0.8>;tag=as7b8054ba
To: <sip:sip.messagenet.it>
Contact: <sip:asterisk at 192.168.0.8:5060>
Call-ID: 4609b9ca66719bd97e0e424428997393 at 192.168.0.8:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.2.3
Date: Mon, 28 Feb 2011 14:56:31 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


<--- SIP read from UDP:212.97.59.76:5061 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.0.8:5060;branch=z9hG4bK3efcd7b6;rport=5060;received=88.149.227.162
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
CSeq: 102 OPTIONS
Accept: */*
Accept-Encoding:
Accept-Language: en
Support:
Server: OpenSer (1.1.0-notls (i386/linux))
Content-Length: 0
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 ?
Thanks
Cato



More information about the Asterisk-BSD mailing list