[asterisk-users] 1.6.1-rc4: extension "i" not working??
    Eric "ManxPower" Wieling 
    eric at fnords.org
       
    Thu Dec 25 13:39:26 CST 2008
    
    
  
sean darcy wrote:
> I've have a simple caller id lookup on incoming:
> 
> [teliax-in]
> ..........
> exten =>s,n,GoSub(set-callerid-name,0${CALLERID(num)},1)
> ................
> 
> [set-callerid-name]
> exten => 0,1,NoOp( no CALLERID num set)
> exten => 02135590993,1,Set(CALLERID(name)=Matthew )
> ...............................................
> exten => _0!,n,NoOp(CALLERID: ${CALLERID(name)})
> exten => _0!,n,Return()
> 
> exten => i,1,Return() ; somebody else
> 
> Now if there's a callerid that's listed, it all works OK. If there's no 
> callerid, that works. But if there's an unknown callerid, I'd expect 
> that to go to the invalid extension  - "i" - and Return().  But look 
> what happens:
Extension "i" does not work that way.  "i" is for invalid selections 
when using an IVR (well really when using the WaitExten application or 
when autofallthru is no or when using Background)
    
    
More information about the asterisk-users
mailing list