There was still something that I did not do to debug things and that is
"sip set debug".
This showed me that the registration was rejected.

I did not saw this first but in my sip.conf I had [NSLU] in capital and
username=nslu in lower case.
This has to be the same !! So I've set both as followed :

[nslu]                                                                          
type=friend                                                                     
host=dynamic                                                                    
username=nslu                                                                   
secret=nslu  

Now it works like it should.

Also like Tzafrir Cohen says my Asterisk wasn't listening to port 5060
which I changed.

Jonas.

On Sat, 2009-10-03 at 16:54 +0200, Tzafrir Cohen wrote:

> > This is my sip.conf for the account :
> > 
> > [NSLU]                                                                      
> >     
> > type=friend                                                                 
> >     
> > host=dynamic                                                                
> >     
> > username=nslu                                                               
> >     
> > secret=nslu                                                                 
> >     
> > context=intern                                                              
> >     
> > canreinvite=no                                                              
> >     
> > qualify=yes                                                                 
> >                                                                   
> > callerid=GS NSLU2
> > <10>                                                          
> > accountcode=NSLU2                                                           
> >     
> > disallow=all                                                                
> >     
> > allow=alaw                                                                  
> >     
> > allow=gsm 


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 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

Reply via email to