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