[Asterisk-Users] Ex-girlfriend-logic
Michael Loftis
mloftis at wgops.com
Tue Oct 26 16:40:34 MST 2004
Think of the ex g/f logic as a 'optional' match. If you don't match at
three you'll never see 4, so you'll want to have multiple 3 entries, and
move your 4 entry to 3, and your 5 up to 4, then on 4 you'll need some sort
of 'catch' like an _NXXNXXXXXX entry.
--On Tuesday, October 26, 2004 13:55 -0400 John Bohman <bohmanj at adcnoc.com>
wrote:
> Trying to use the ex-gf logic on a few PITA callers and witle it works ok
> it doesn't continue down the context.
>
> exten => 9000,1,Answer
> exten => 9000,2,Playback(silence/2)
> exten => 9000,3,Playback(tt-monkeys)
> exten => 9000,4,Playback(tt-somethingwrong)
> exten => 9000,5,Playback(the-party-you-are-calling)
> exten => 9000,6,Playback(carried-away-by-monkeys)
> exten => 9000,7,Playback(silence/2)
> exten => 9000,8,Playback(moo2)
> exten => 9000,9,Hangup
>
> exten => s,1,SetMusicOnHold,default
> exten => s,2,responsetimeout,20
> exten => s/_2011111111,3,goto(9000,1)
> exten => s/_9731111111,4,goto(9000,1)
> exten => s,5,Dial(Zap/1&Zap/2&Zap/3&SIP/2002&SIP/2102,17,tr)
>
> The numbers for the CID match have been changed... But that works fine...
> Sends to the 9000ext and works perfectly.. But other non-matched numbers
> aren't passing through to sequence #5..
> Worked percectly before I tried mucking with things... But it is neccy to
> get this running the 5am calls are driving me nuts..
>
> Help? I'm sure this is something I'm just not seeing... Tried wikki
> already..
>
> Details.. CVS build from 1.0 tree from today running a RH 9 system using
> the zaptel 4port card 1fxo/3fxs
> thanks
> John b.
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
GPG/PGP --> 0xE736BD7E 5144 6A2D 977A 6651 DFBE 1462 E351 88B9 E736 BD7E
More information about the asterisk-users
mailing list