On Monday 07 March 2011 08:20:26 Danny Nicholas wrote: > On Monday 07 March 2011 08:14:27 Gilles wrote: > > 1. Why use ">" instead of "=" to compare the extension with "SIP"? > > > > exten => s,n,Gotoif($["${EXTEN}" > "SIP"]?start) > > #1 is "Lazy notation" to say ${EXTEN} starts with SIP (as opposed to > Local or DAHDI)
Then you probably want ${CHANNEL}, not ${EXTEN}. ${EXTEN} is always going to be "s", which is always greater than "SIP". -- Tilghman -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users