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)

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to