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 [5000 at start:1] Answer("SIP/5000-0a281f80", "") in new stack -- Executing [5000 at start:2] Wait("SIP/5000-0a281f80", "1") in new stack -- Executing [5000 at start:3] NoOp("SIP/5000-0a281f80", "19256002182") in new stack -- Executing [5000 at start: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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070619/625689c8/attachment.htm
pleease post your context exactly for the exten 5000 as u have it in live system. On 6/19/07, Douglas Garstang <DGarstang at interainc.com> wrote:> > 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 [5000 at start:1] Answer("SIP/5000-0a281f80", "") in new > stack > > -- Executing [5000 at start:2] Wait("SIP/5000-0a281f80", "1") in new > stack > > -- Executing [5000 at start:3] NoOp("SIP/5000-0a281f80", "19256002182") > in new stack > > -- Executing [5000 at start: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 >-- Esta mensagem (incluindo quaisquer anexos) pode conter informa??o confidencial para uso exclusivo do destinat?rio. Se n?o for o destinat?rio pretendido, n?o dever? usar, distribuir ou copiar este e-mail. Se recebeu esta mensagem por engano, por favor informe o emissor e elimine-a imediatamente. Obrigado. This e-mail message is intended only for individual(s) to whom it is addressed and may contain information that is privileged, confidential, proprietary, or otherwise exempt from disclosure under applicable law. If you believe you have received this message in error, please advise the sender by return e-mail and delete it from your mailbox. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070619/c49faf3d/attachment.htm
What does the output of 'show dialplan start' look like? - Brad> -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of > Douglas Garstang > Sent: Tuesday, June 19, 2007 3:20 PM > To: asterisk-users at lists.digium.com > Subject: [asterisk-users] Ex-Girlfriend Logic in 1.4.4 > > 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 [5000 at start:1] Answer("SIP/5000-0a281f80", > "") in new stack > > -- Executing [5000 at start:2] Wait("SIP/5000-0a281f80", > "1") in new stack > > -- Executing [5000 at start:3] NoOp("SIP/5000-0a281f80", > "19256002182") in new stack > > -- Executing [5000 at start: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. > > > >The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
Hi,> 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 caTry with underscore before extension like. exten => _5000/19256002182,1,Answer Nasir Iqbal ICT Innovations