Hi can i set up some conditions in my dialplan? For example: exten => 99,1,Answer exten => 99,2, ... if {RECORD}=yes then: monitor... Dial.... else: Dial..... Or something similar... ? Many thanks in advance nik
nik600 wrote:> Hi > > can i set up some conditions in my dialplan?Yes, look at the following command: voip-info.org/wiki/index.php?page=Asterisk+cmd+GotoIf Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Classical if-then functionality can be achieved in the dialpan with the GotoIf(...) function. Regards, Roland. -----Urspr?ngliche Nachricht----- Von: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] Im Auftrag von nik600 Gesendet: 23 December 2006 15:16 An: Asterisk Users Mailing List - Non-Commercial Discussion Betreff: [asterisk-users] conditional dialplan Hi can i set up some conditions in my dialplan? For example: exten => 99,1,Answer exten => 99,2, ... if {RECORD}=yes then: monitor... Dial.... else: Dial..... Or something similar... ? Many thanks in advance nik _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: lists.digium.com/mailman/listinfo/asterisk-users