I have this in my dialplan...

 

[general]

static=yes

writeprotect=no

clearglobalvars=no

 

[start]

exten => 5000,1,Answer

exten => 5000,n,Wait(1)

exten => 5000,n,NoOp(${CALLERID(num)})

exten => 5000,n,Playback(tt-monkeys)

 

which, when I dial 5000, executes this...

 

  == Parsing '/etc/asterisk/sip_notify.conf': Found

    -- Executing [EMAIL PROTECTED]:1] Answer("SIP/5000-0a281f80", "") in new
stack

    -- Executing [EMAIL PROTECTED]:2] Wait("SIP/5000-0a281f80", "1") in new
stack

    -- Executing [EMAIL PROTECTED]:3] NoOp("SIP/5000-0a281f80", "19256002182")
in new stack

    -- Executing [EMAIL PROTECTED]:4] Playback("SIP/5000-0a281f80",
"tt-monkeys") in new stack

    -- <SIP/5000-0a281f80> Playing 'tt-monkeys' (language 'en')

 

However, when I change the extension match to:

 

exten => 5000/19256002182,1,Answer

exten => 5000/19256002182,n,Wait(1)

exten => 5000/19256002182,n,NoOp(${CALLERID(num)})

exten => 5000/19256002182,n,Playback(tt-monkeys)

 

nothing appears on the console and I get no match. You can see the
caller id number is 19256002182 from the NoOp() when it does work. What
am I missing here?

 

Doug.

 

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to