Koozali.org: home of the SME Server

Cannot add greetings from any handset

Offline gippsweb

  • *****
  • 232
  • +0/-0
    • Wots I.T.?
Cannot add greetings from any handset
« on: January 29, 2009, 11:28:39 PM »
I've never used them so I don't know exactly how long it's been this way.
When trying to add a greeting from a hanset I dial *60*xxxx where xxxx is the number for a greeting.
On the cli I get the following;

-- Starting simple switch on 'Zap/1-1'
-- Blaclisting number xxxxxxxxxx                      (xxxxxxxxxx = the last number recieved by asterisk)
-- Hungup 'Zap/1-1'

Anyone have any idea where this may have gone pear shaped???


Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Cannot add greetings from any handset
« Reply #1 on: January 30, 2009, 12:53:07 AM »
The call is getting nowhere near the SAIL code.

There are some feature codes within zaptel itself but I can't find a list anywhere.

Does it work from a SIP phone?

Kind Regards

S


Offline gippsweb

  • *****
  • 232
  • +0/-0
    • Wots I.T.?
Re: Cannot add greetings from any handset
« Reply #2 on: January 30, 2009, 01:26:22 AM »
OK, tried it from the spa941. I thought it wasn't even getting to the Sail box, but I was wrong.

  -- Executing [*60*@internal:1] Background(SIP/5001-09537b68", "silence/1") in new stack
  -- <SIP/5001-09537b68> Playing 'silence/1' (language 'en')
  -- Executing [*60*@internal:2] AGI("SIP/5001-09537b68", "selintra|*60*") in new stack
  -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
  -- AGI Script selintra completed, returning 0
== Auto fallthrough, channel 'SIP/5001-09537b68' status in 'UNKNOWN'
  -- Executing [h@internal:1] Hanhup("SIP/5001-09537b68", "") in new stack
== Spawn extension (internal, h, 1) exited non-zero on 'SIP/5001-09537b69'

Needless to say as quick as I dial *60*xxxx it hangs up..

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Cannot add greetings from any handset
« Reply #3 on: January 30, 2009, 02:31:10 AM »
you'll need to look at the dial plan on your 941.  The 941 has loads of preset upward feature codes.

The correct dialplan for passthrough to asterisk is

Code: [Select]
(*x.|*xx*x.|x.)
S
« Last Edit: January 30, 2009, 02:35:12 AM by selintra »

Offline gippsweb

  • *****
  • 232
  • +0/-0
    • Wots I.T.?
Re: Cannot add greetings from any handset
« Reply #4 on: January 30, 2009, 03:33:15 AM »
Doh, 1 digit out of place in the sipuras dial plan. I'll try it again later.
But what about the zap line??

Thx Jeff

Offline gippsweb

  • *****
  • 232
  • +0/-0
    • Wots I.T.?
Re: Cannot add greetings from any handset
« Reply #5 on: January 30, 2009, 05:46:15 AM »
I know it use to work from the zap phone because I set up a test greeting 18 months ago.
So something somewhere along the way has broken it.........