Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Asterisk Problems :(

  • 20-02-2008 09:27PM
    #1
    Registered Users, Registered Users 2 Posts: 1,629 ✭✭✭


    Hey everyone,

    I've just build a CentOS 5 server and installed Asterisk.

    I have followed this tutorial:
    http://www.fredshack.com/docs/asterisk.html

    However I can not register any of my phones.
    Im just using xlite phones for testing (I was able to register these with my other - AsteriskNow server but I can't with "Asterisk").

    Basically my sip.conf file looks like this:
    [general]
    port = 5060
    bindaddr = 0.0.0.0
    context = others
    
    disallow=all
    allow=ulaw
    allow=alaw
    allow=gsm
    
    [2000]
    type=friend
    context=my-phones
    secret=1234
    host=dynamic
    
    [2001]
    type=friend
    context=my-phones
    secret=1234
    host=dynamic
    

    My extensions.conf file looks like this:
    [others]
    
    [my-phones]
    exten => 2000,1,Dial(SIP/2000)
    exten => 2001,1,Dial(SIP/2001)
    
    exten => s,1,Verbose(Yes!)
    
    exten => 9999,1,Goto(s,1)
    

    I have messed about with Asterisk a little and obviously the xlite phone (just to clarify) should be registered in using extensions in the sip.conf file.

    e.g. for 2000 if would be registered as follows:
    <Mod snip>

    However when trying to register I get a 408 error (request timeout):
    <Mod snip>

    Can anyone help me out on this at all! - I think if I just got this working and also an incoming route to my asterisk box from Blueface I would be off on the right foot.


    Thanks in Advance!


    iRock:D


Comments

  • Registered Users, Registered Users 2 Posts: 1,629 ✭✭✭NullZer0


    Im gonna bump this because VOIP section seems very quiet


  • Registered Users, Registered Users 2 Posts: 1,629 ✭✭✭NullZer0


    Ouch! ---> CentOS IPtables / seLinux issue ...... hmm... now to pull my hair out for a while before tackling the other problems ... calls from 2000 <---->2001 wont work internally.


  • Closed Accounts Posts: 1,637 ✭✭✭joePC


    If your looking to get your feet wet with asterisk I would recommend using FreePBX - works perfectly and will give you alot of answers from looking at the configs.

    http://freepbx.org/support/documentation/installation/install-process-for-centos-5-1


Advertisement