[asterisk-users] Asterisk unable to register to tnet.it
Giorgio Incantalupo
gincantalupo at fgasoftware.com
Tue Jul 15 03:27:56 CDT 2008
Hi Marino,
1) yes I can connect using the account
2) no, I'm running zoiper on a different machine. I'm using an Asterisk
server which is not behind nat as for the machine zoiper is runnin' on.
The Asterisk server is directly connected to internet, I wanted to avoid
nat problems, that's why.
Moreover I tried to create a simpler account on my zoiper using
username, password and domain name only and it works even without
setting the sip proxy.
I changed the Asterisk server too: now I'm using a test one where I can
ping tnet.it from... but nothing changes.
I'm using this string:
register => 0442410280:provapolika:0442410280 at tnet.it/0442410280
I changed it in many other forms following the wiki pages but nothing.
I see sip packets are sent to tnet.it (I set up sip debug) but I always
get this message:
Jul 15 10:06:39 NOTICE[3281]: chan_sip.c:5495 sip_reg_timeout: --
Registration for 'XXXXXXXXXX at tnet.it' timed out, trying again (Attempt #1)
I wonder why I had no problems with the other provider we are using
while tnet.it is making me get crazy....
Thank you.
Giorgio
map wrote:
> Hi Giorgio,
>
> Just to recap:
> 1) you are able to connect to tnet.it <http://tnet.it> by using the
> same account of your asterisk box. There is no issue related to your
> account.
> 2) Could you please confirm that you are running zoiper from the same
> box used by asterisk? If yes we can exclude some generic network issues.
>
>
> From your previous email :
> ...
> Activating "sip debug" shows the register packets but nothing in return.
> ...
>
> I think that this is a network related issue, but you have to solve it
> by using a Asterisk config file.
>
> Unfortunately I think that the faster way to solve your problem is
> trying to understand if sip messages are correctly sent to tnet.
> I strongly suggest to use http://www.wireshark.org/ previoulsly named
> Ethereal in order to check sip messages.
> I have to sniff both asterisk and zoiper sip messages.
> I know that this can be tricky but this can help you to understand
> what is wrong in sip messages.
>
> Please let me know if you need more detail.
>
>
> Marino
>
> On Tue, Jul 15, 2008 at 9:31 AM, Giorgio Incantalupo
> <gincantalupo at fgasoftware.com <mailto:gincantalupo at fgasoftware.com>>
> wrote:
>
> Hi Marino,
>
> I tried to connect zoiper directly to the provider with the same
> account
> parameters I'm using with Asterisk. Zoiper connects without
> problems. It
> is true tnet.it <http://tnet.it> is not resolvable but I can use
> the proxy URL
> sip.tnet.it <http://sip.tnet.it> which seems to work with Zoiper
> but not with Asterisk. I'm
> trying to understand where is the problem. I thought I had to specify
> the outboundproxy parameter in the general section of sip.conf to make
> Asterisk correctly work but it seems that's not enough.
>
>
> Thank you.
>
> Giorgio
>
>
> map wrote:
> > Hi Giorgio,
> >
> > From your email seems clear that your Asterisk box can not resolve
> > tnet.it <http://tnet.it> <http://tnet.it> and SIP register
> messages are not replied.
> > I suggested to check if your Asterisk box is really sending SIP
> > messages, you can use a net sniffer.
> > Did you alerady used different sip client with the same sip
> account of
> > your Asterisk box?
> >
> > Did you use zoiper from the same box?
> >
> > Marino
> >
> > p.s.
> > Are you Italian?
> >
> >
> > On Mon, Jul 14, 2008 at 5:27 PM, Giorgio Incantalupo
> > <gincantalupo at fgasoftware.com
> <mailto:gincantalupo at fgasoftware.com>
> <mailto:gincantalupo at fgasoftware.com
> <mailto:gincantalupo at fgasoftware.com>>>
> > wrote:
> >
> > Hi Marino,
> > Asterisk gives a timeout on registration and a "no such
> host" because
> > cannot resolve tnet.it <http://tnet.it> <http://tnet.it> but
> that server address is
> > not resolvable so I
> > think that is not a problem (my zoiper connects to the provider
> > without
> > problems, so why shouldn't Asterisk??)
> > Activating "sip debug" shows the register packets but nothing in
> > return.
> > I used the proxy tnet gave me but nothing changes.
> > Searched on their site for some help about Asterisk
> configuration but
> > nothing...the same on the rest of internet.
> >
> > Giorgio
> >
> >
> > map wrote:
> > > Hi Giorgio,
> > >
> > > Do you have any log showing some error?
> > > Did you already have a look at SIP connection messages
> from and to
> > > this SIP server? I suggest you to use wireshark to check sip
> > messages.
> > >
> > > Thanks,
> > > Marino
> > >
> > > On Mon, Jul 14, 2008 at 3:47 PM, Giorgio Incantalupo
> > > <gincantalupo at fgasoftware.com
> <mailto:gincantalupo at fgasoftware.com>
> > <mailto:gincantalupo at fgasoftware.com
> <mailto:gincantalupo at fgasoftware.com>>
> > <mailto:gincantalupo at fgasoftware.com
> <mailto:gincantalupo at fgasoftware.com>
> > <mailto:gincantalupo at fgasoftware.com
> <mailto:gincantalupo at fgasoftware.com>>>>
> > > wrote:
> > >
> > > Hi,
> > > I cannot make my Asterisk register to tnet.it
> <http://tnet.it>
> > <http://tnet.it> <http://tnet.it>, an
> > > italian SIP provider.
> > > I tried many register string formats and tried to set
> realm and
> > > outboundproxy (sip.tnet.it <http://sip.tnet.it>
> <http://sip.tnet.it>
> > <http://sip.tnet.it>) too but without
> > > any result.
> > > Still I cannot register (but for example messagenet
> works fine).
> > > Is there anybody who tried this provider and successfully
> > > registered to it?
> > >
> > > Thank you.
> > >
> > > Giorgio.
> > >
> > > _______________________________________________
> > > -- Bandwidth and Colocation Provided by
> > http://www.api-digital.com --
> > >
> > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> > > Register Now: http://www.astricon.net
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > -- Bandwidth and Colocation Provided by
> > http://www.api-digital.com --
> > >
> > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> > > Register Now: http://www.astricon.net
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by
> http://www.api-digital.com --
> >
> > AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> > Register Now: http://www.astricon.net
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by
> http://www.api-digital.com --
> >
> > AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> > Register Now: http://www.astricon.net
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
_________________________________________________
Giorgio Incantalupo, mailto:gincantalupo at fgasoftware.com
FG&A srl - http://www.fgasoftware.com -
Voice at Work - The Agile PBX http://www.voiceatwork.eu
Tel: 02997663.14, Fax: 0291390172
More information about the asterisk-users
mailing list