In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi guys, > i would check the state of a number on a Zap channel, i suppose that i cannot > use ExtensionState that works only for SIP and IAX. > Anyone has any ides ? Could i check the state of a pubblic number before > transfer it a internal call? > > Thanks in advance
Hi Giordano! If I have understand you correctly, you can use "ChanIsAvail(Zap/4&Zap/3)" - it will return Zap/4 or Zap/3, the first one that is available. Hope this helps. -- Tomislav Parčina Lama Computers Split Stinice 12, 21000 Split Tel.: +385(21)270248 Mob.: +385(91)1212148 SIP: [EMAIL PROTECTED] e-mail: tparcina#lama.hr http://www.lama.hr _______________________________________________ --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