[default] Some extensions defined exten => _0[1-9].,1,Dial(IAX2/84456557@voiptalk/44${EXTEN:1}) exten => _00.,1,Dial(IAX2/84456557@voiptalk/${EXTEN:2}) exten => _09XX,1,Dial(IAX2/84456557@voiptalk/${EXTEN}) I have the above defined in extensions.conf. This enables me to make outgoing calls but would like to make it so you have to dial 9 to do this. Could somebody let me know what I need to change for it to do this? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061217/ee35e2d9/attachment.htm
> exten => _0[1-9].,1,Dial(IAX2/84456557@voiptalk/44${EXTEN:1}) > exten => _00.,1,Dial(IAX2/84456557@voiptalk/${EXTEN:2}) > exten => _09XX,1,Dial(IAX2/84456557@voiptalk/${EXTEN})Just add a 9 in front, like this : exten => _90[1-9].,1,Dial(IAX2/84456557@voiptalk/44${EXTEN:1}) exten => _900.,1,Dial(IAX2/84456557@voiptalk/${EXTEN:2}) exten => _909XX,1,Dial(IAX2/84456557@voiptalk/${EXTEN}) hth
> Just add a 9 in front, like this : > > exten => _90[1-9].,1,Dial(IAX2/84456557@voiptalk/44${EXTEN:1}) > exten => _900.,1,Dial(IAX2/84456557@voiptalk/${EXTEN:2}) > exten => _909XX,1,Dial(IAX2/84456557@voiptalk/${EXTEN}) >Oups, pressed Send too fast, here is take 2 exten => _90[1-9].,1,Dial(IAX2/84456557@voiptalk/44${EXTEN:2}) exten => _900.,1,Dial(IAX2/84456557@voiptalk/${EXTEN:3}) exten => _909XX,1,Dial(IAX2/84456557@voiptalk/${EXTEN:1})