Hi to all, I'm trying to make outside call in this way : ignorepat => 0 exten => _0.,1,Dial(CAPI/xxxxxxx:b${exten}) But the first number 0 is not ignored. I'm doing something wrong ? Bye
massimo wrote:>Hi to all, >I'm trying to make outside call in this way : >ignorepat => 0 >exten => _0.,1,Dial(CAPI/xxxxxxx:b${exten}) >But the first number 0 is not ignored. >I'm doing something wrong ? > >Bye >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@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 > >Try: exten => _0.,1,Dial(CAPI/xxxxxxx:b${exten:1})
Try this: exten => _0.,1,Dial(CAPI/xxxxxxx:b${EXTEN:1}) The :1 tells it to use everything except the first digit. Robert Jackson -----Original Message----- From: massimo [mailto:tonini.massimo@tiscali.it] Sent: Friday, April 09, 2004 6:59 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Ignorepat with capi Hi to all, I'm trying to make outside call in this way : ignorepat => 0 exten => _0.,1,Dial(CAPI/xxxxxxx:b${exten}) But the first number 0 is not ignored. I'm doing something wrong ? Bye _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
On Fri, 2004-04-09 at 12:58, massimo wrote:> Hi to all, > I'm trying to make outside call in this way : > ignorepat => 0 > exten => _0.,1,Dial(CAPI/xxxxxxx:b${exten}) > But the first number 0 is not ignored. > I'm doing something wrong ? >I don't have CAPI but to get my analog to work I have ignorepat => 9 exten => _9.,1,Dial(${DIALOUTANALOG}/${EXTEN:1}) -- Dave Cotton <dcotton@linuxautrement.com>