Koozali.org: home of the SME Server

Extension always "unavailable"

Offline madadam

  • *
  • 149
  • +0/-0
    • http://www.extremetourist.com
Extension always "unavailable"
« on: April 16, 2009, 04:13:55 AM »
This is mainly for the fantastic Selintra guys but if you've had this problem your suggestions would be greatly appreciated.

I've been running Asterisk and then SAIL for quite a number of years now. The phone on my desk has always been extension 101 (or 5101 when I moved to SAIL, but I use aliases).

Anyway a few months back people started telling me they couldn't ring my extension as it was always unavailable, "The person at extension 5101 is unavailable, please leave..."

I checked and sure enough no matter what my extension is always unavailable. I couldn't figure out why and ended up setting up a new extension number for myself.

I thought it might be my Snom 360 so I reset to the factory defaults and reprogrammed it - no go.  Other extension numbers worked on it, just not 101. Then I tried setting up another Snom with extension 101, still no go.

So the problem must lay somewhere in SAIL/Asterisk, I'm running version 2.2.1-745.

Would appreciate some feedback on this perplexing problem from the really helpful guys at Selintra.

Cheers,

Adam
...

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Extension always "unavailable"
« Reply #1 on: April 16, 2009, 06:02:31 AM »
What do you see in the Asterisk logs when someone attempts to call your extension?

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Extension always "unavailable"
« Reply #2 on: April 16, 2009, 06:06:39 PM »
David is correct - we need to see the console log for that phone please

Best

S

Offline madadam

  • *
  • 149
  • +0/-0
    • http://www.extremetourist.com
Re: Extension always "unavailable"
« Reply #3 on: April 17, 2009, 04:50:56 AM »
Hi Guys,

Thanks for your help. The problem for me has always been that the console actually returns no usable information. But maybe you can make more of it. Below is a grab from the console where I dialed the extension (101) from another extension (103).

Code: [Select]
Connected to Asterisk 1.4.23.1 currently running on casper (pid = 4484)
Verbosity is at least 5
    -- Executing [101@internal:1] AGI("SIP/5103-b7d19f90", "selintra|OutCluster|101") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script selintra completed, returning 0
    -- Executing [101@default:1] AGI("SIP/5103-b7d19f90", "selintra|InCall|5101") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Playback) Options: (silence/1)
    -- <SIP/5103-b7d19f90> Playing 'silence/1' (language 'en')
    -- AGI Script Executing Application: (Voicemail) Options: (5101|u)
    -- <SIP/5103-b7d19f90> Playing 'vm-theperson' (language 'en')
    -- <SIP/5103-b7d19f90> Playing 'digits/5' (language 'en')
    -- <SIP/5103-b7d19f90> Playing 'digits/1' (language 'en')
    -- <SIP/5103-b7d19f90> Playing 'digits/0' (language 'en')
    -- <SIP/5103-b7d19f90> Playing 'digits/1' (language 'en')
    -- <SIP/5103-b7d19f90> Playing 'vm-isunavail' (language 'en')
    -- <SIP/5103-b7d19f90> Playing 'vm-intro' (language 'en')
    -- <SIP/5103-b7d19f90> Playing 'beep' (language 'en')

Adam
...

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Extension always "unavailable"
« Reply #4 on: April 17, 2009, 09:32:52 AM »
OK - nothing obvious...

two more things we need to see...

console output from database show

run the call again but with agi debug turned on (agi debug)

thx

S