[Asterisk-Users] Callerid and trunk

Julian Lyndon-Smith asterisk at dotr.com
Tue May 30 14:08:24 MST 2006


Ok, I must be really stupid here -

I'm playing with ael and svn trunk.

given the following in ael:

context isdn10 {

        444601 => {
                 Answer();
                 NoOp(${CALLERIDNUM});
                 Hangup();
         };
};

isdn10 is the incoming isdn context.

why do I get this on the console:

   -- Accepting call from '01702xxxxxx' to 'yyyyyy' on channel 0/1, span 1
     -- Executing [isdn10:1] Answer("Zap/1-1", "") in new stack
     -- Executing [isdn10:2] NoOp("Zap/1-1", "") in new stack
     -- Executing [isdn10:3] Hangup("Zap/1-1", "") in new stack

callerid must be working: get the from (01702xxxxxx) and to yyyyyy

but why is ${CALLERIDNUM} blank ?

Julian.



More information about the asterisk-users mailing list