14 thoughts on “Getting started with FreePBX – Part 2 Setting up an extension

  1. Joseph

    I got a registration error: 404 not found with my x lite softphone..

    I am sure the address i use in the x lite account is valid.

  2. matt Post author

    Hi Joseph, it does sound like you’re using either the wrong IP address or server name to connect to. Or maybe if it’s your Asterisk server the connections are being blocked on there by iptables?

  3. luke

    im getting a 408 timeout in x-lite. this is my first attempt at asterisk as well as voip telephony so im sure its something quite obvious but it escapes me.

  4. matt Post author

    Hi Luke,

    That just means X-lite can’t connect to Asterisk. Could iptables be running on the Asterisk server (try – “iptables –list”), is Asterisk definitely running (try – “asterisk -rv”), is the Asterisk server behind a NAT router?

  5. Pachang

    I had same problem as Luke.
    It wasn’t to do with iptables/firewalls. The port was open but asterisk wasn’t listening on that port for some reason.
    I had to add a variable: bindport = 5060 (or whichever port you are setting the extensions with) in one of the config files.
    Hope that helps someone.

  6. Basit

    Hope you will be fine. I am running asterisk when i connect to asterisk using Xlite and then try to listen the recorded message it says

    [Mar 2 16:57:01] NOTICE[5198]: res_odbc.c:530 odbc_obj_connect: Connecting voipodbc
    [Mar 2 16:57:01] NOTICE[5251]: app_voicemail.c:4838 open_mailbox: Resequencing Mailbox: /var/spool/asterisk/voicemail/brights/220/Old
    [Mar 2 16:57:17] NOTICE[5198]: res_odbc.c:544 odbc_obj_connect: res_odbc: Connected to voipodbc [Mysql-asterisk]
    [Mar 2 16:57:49] WARNING[5251]: file.c:644 ast_readaudio_callback: Failed to write frame
    == Spawn extension (office, *, 1) exited non-zero on ‘SIP/203-09da2080’

    and the message did not play but it says you have message from 203 and then take a long pause and then says press this for new message, It is not playing the message. Any idea. Is this firewall issue?

  7. Angel

    How does one configure the above Xlite info with a Cisco 7960 VoIP Phone? Anyone know?

  8. Lee

    Just wanted to say thanks for taking the time to write this entries. Very helpful to a freePBX novice like me … even 4 years later!

  9. Don Juane

    Under “Related Posts:” What happened to the link for Part 3?

    Not sure where the index for this how-to guild is, I found it from a google search, landed on Getting Started Part 1, clicked on Getting Started Part 2 and now Getting Started Part 3 is nowhere to be found.

Comments are closed.