[EMAIL PROTECTED] is believed to have said:
>Hi,
>
> Is there any syntax we can apply in the extensions to use
>the anti-ex-girl(boy)friend technique to multiple callers without having
>to replicate the lines?
>
>
>
>I mean, can I write the following two lines in only one line?
>
>
>
>exten=> 12345/100,1,Hangup
>
>exten=> 12345/200,1,Hangup
>
>
One way that even makes it possible to add new girls to your list
without touching the dialplan would be the following:
exten => 12345,1,DBGet(ex-girlfriend=disposedGirlfriend/{CALLERIDNUM})
exten => 12345,2,Hangup()
; jump to here only if CALLERIDNUM was NOT found in the list
exten => 12345,102,Dial(SIP/Myself)
Regards,
Aldo
_______________________________________________
--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