exten => _0X.,1,Dial(SIP/provider1/${EXTEN:1})
exten => _X.,1,Dial(SIP/provider2/${EXTEN})Sorry i copy paste and forgot to remove the :1 in the second line. David 2009/3/5 David fire <[email protected]> > exten => _0X.,1,Dial(SIP/provider1/${EXTEN:1}) > exten => _X.,1,Dial(SIP/provider2/${EXTEN:1}) > > 2009/3/5 Ralf Träskman <[email protected]> > >> >> >> Hi >> >> >> >> I want to be able to use one provider if I dial 0 before the number and >> another if I dial 1 before, how can I do that in asterisk 1.6? >> >> >> >> /ralf >> >> >> >> >> >> Ralf Träskman, IT >> AdLibris AB, Box 3667, 103 59 Stockholm. >> >> Besöksadress: Sveavägen 56C, 111 34, Stockholm - Obs ny address! >> >> Dir: +46-(0)8-5460 60 91, mob: +46-(0)70-7548074, vxl: +46-(0)8-5460 60 >> 00, fax: +46-(0)8-5460 60 99 >> >> [email protected] <[email protected]>, www.adlibris.com >> >> >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > > -- > (\__/) > (='.'=)This is Bunny. Copy and paste bunny into your > (")_(")signature to help him gain world domination. > > -- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination.
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
