[Asterisk-Users] Custom Menu Not Working

Chris Blake chris at pixcel.co.za
Wed Feb 23 00:29:18 MST 2005


On Tue, 2005-02-22 at 17:00, Chris Blake wrote:
> On Tue, 2005-02-22 at 10:48, timebandit001 at gmail.com wrote:
> > > When adding the details in AMP for when caller dials 3, I have
> > > referenced it using 'custom-myapp,s,1', and if I go to
> > > 'extensions_additional.conf' I see the following line under the rest of
> > > menu item info that was created :
> > > 
> > > "exten => 3,1,Goto(custom-myapp,s,1)     ;"
> > > 
> > > and in the extensions_custom.conf file I have
> > > 
> > > [custom-myapp]
> > > exten => 3,1,SayDigits(1234)
> > > exten => 3,2,Hangup()
> > 
> > Change to this
> >  [custom-myapp]
> >  exten => s,1,SayDigits(1234)
> >  exten => s,2,Hangup()
> > 
> > since you send it to "s,1"
> > 

When I call to test the setup, here is the output from the CLI :

======================================
 Starting simple switch on 'Zap/4-1'
    -- Executing GotoIf("Zap/4-1", "0?from-pstn-reghours|s|1:") in new
stack
    -- Executing GotoIf("Zap/4-1", "0?from-pstn-afthours|s|1:") in new
stack
    -- Executing GotoIfTime("Zap/4-1", "||*|*?from-pstn-reghours|s|1:")
in new stack
    -- Goto (from-pstn-reghours,s,1)
    -- Executing GotoIf("Zap/4-1", "0?from-pstn-reghours-nofax|s|1:2")
in new stack
    -- Goto (from-pstn-reghours,s,2)
    -- Executing Answer("Zap/4-1", "") in new stack
    -- Executing Wait("Zap/4-1", "1") in new stack
    -- Executing SetVar("Zap/4-1", "intype=") in new stack
    -- Executing Cut("Zap/4-1", "intype=intype|-|1") in new stack
    -- Executing GotoIf("Zap/4-1", "0?7:9") in new stack
    -- Goto (from-pstn-reghours,s,9)
    -- Executing GotoIf("Zap/4-1", "0?10:12") in new stack
    -- Goto (from-pstn-reghours,s,12)
    -- Executing Goto("Zap/4-1", "|s|1") in new stack
    -- Goto (,s,1)
    -- Hungup 'Zap/4-1'
=======================================

The second last line --Goto(,s,1) :

It`s blank, is that correct ?


--
Chris Blake 
Cell: 082 775 1492
Work: +27 11 782 0840
Fax : +27 11 782 0841
Mail: chris at pixcel.co.za

Very few people do anything creative after the age of thirty-five. The
reason is that very few people do anything creative before the age of
thirty-five. -- Joel Hildebrand





More information about the asterisk-users mailing list