Re: [asterisk-users] TDM410E card, 1 FXO module - how to dial Out
sean darcy wrote: > Kevin P. Fleming wrote: > >> Mojo with Horan & Company, LLC wrote: >> >> >>> P.S. If you can't dial seven digit numbers in your area, but you miss >>> it, you can restore that behavior if you feel like selecting a default >>> area code: >>> >>> exten => _NXX,1,Dial(Zap/1/907${EXTEN},,TWK) >>> >>> Here, if I dial a seven digit number, asterisk dials 907 followed by my >>> seven digits out the phone line. >>> >> Well, sort of. This will also trigger if you dial the first 7 digits of >> a 10-digit number from a device that doesn't dial 'en bloc', since there >> is no longer any way to distinguish 7-vs-10 digit numbers by the number >> pattern. In other words, this will work fine if you are dialing from a >> SIP phone, but not if you are dialing from an analog phone. >> >> > > With some trepidation, I can say my home system doesn't seem to work > that way. Using an analog phone, I can deal 3, 7, 10 or 11 numbers and > all goes as I expect. > > After seeing this post, I wondered why :). It seems * waits about 4 secs > to see if all the numbers are dialed. Or is it some fortuitous order of > the includes ( vaguely remembering posts about how extensions were > searched)? > > extensions.conf: > [internal] > include => outbound-local > include => outbound-long-distance > include => office-extensions > > [outbound-local] > exten => _NXX,1,Answer() > exten => _NXX,n,Dial(${faxline}/${EXTEN}) > > [outbound-long-distance] > exten =>_1NXXNXX,1,Answer() > exten =>_1NXXNXX,n,Dial(iax2/office/${EXTEN}) > > exten =>_NXXNXX,1,Answer() > exten =>_NXXNXX,n,Dial(iax2/office/${EXTEN}) > > [office-extensions] > exten =>_1XX,1,Answer() > exten =>_1XX,n,Dial(iax2/office/${EXTEN}) > > > > ___ > -- 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 > I was led to believe that it WOULD wait a few seconds, unless the '!' match character was on there in the dialplan. Kevin led me to believe otherwise though. Any further input, anyone? Moj ___ -- 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
Re: [asterisk-users] TDM410E card, 1 FXO module - how to dial Out
Kevin P. Fleming wrote: > Mojo with Horan & Company, LLC wrote: > >> P.S. If you can't dial seven digit numbers in your area, but you miss >> it, you can restore that behavior if you feel like selecting a default >> area code: >> >> exten => _NXX,1,Dial(Zap/1/907${EXTEN},,TWK) >> >> Here, if I dial a seven digit number, asterisk dials 907 followed by my >> seven digits out the phone line. > > Well, sort of. This will also trigger if you dial the first 7 digits of > a 10-digit number from a device that doesn't dial 'en bloc', since there > is no longer any way to distinguish 7-vs-10 digit numbers by the number > pattern. In other words, this will work fine if you are dialing from a > SIP phone, but not if you are dialing from an analog phone. > With some trepidation, I can say my home system doesn't seem to work that way. Using an analog phone, I can deal 3, 7, 10 or 11 numbers and all goes as I expect. After seeing this post, I wondered why :). It seems * waits about 4 secs to see if all the numbers are dialed. Or is it some fortuitous order of the includes ( vaguely remembering posts about how extensions were searched)? extensions.conf: [internal] include => outbound-local include => outbound-long-distance include => office-extensions [outbound-local] exten => _NXX,1,Answer() exten => _NXX,n,Dial(${faxline}/${EXTEN}) [outbound-long-distance] exten =>_1NXXNXX,1,Answer() exten =>_1NXXNXX,n,Dial(iax2/office/${EXTEN}) exten =>_NXXNXX,1,Answer() exten =>_NXXNXX,n,Dial(iax2/office/${EXTEN}) [office-extensions] exten =>_1XX,1,Answer() exten =>_1XX,n,Dial(iax2/office/${EXTEN}) ___ -- 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
Re: [asterisk-users] TDM410E card, 1 FXO module - how to dial Out
Kevin P. Fleming wrote: > Mojo with Horan & Company, LLC wrote: > > >> P.S. If you can't dial seven digit numbers in your area, but you miss >> it, you can restore that behavior if you feel like selecting a default >> area code: >> >> exten => _NXX,1,Dial(Zap/1/907${EXTEN},,TWK) >> >> Here, if I dial a seven digit number, asterisk dials 907 followed by my >> seven digits out the phone line. >> > > Well, sort of. This will also trigger if you dial the first 7 digits of > a 10-digit number from a device that doesn't dial 'en bloc', since there > is no longer any way to distinguish 7-vs-10 digit numbers by the number > pattern. In other words, this will work fine if you are dialing from a > SIP phone, but not if you are dialing from an analog phone. > > I know you're not the person I should be asking "Are you sure?" but it did seem like when I had an analog phone plugged into an FXS in a TDM card that asterisk paused a bit to make sure I wasn't entering any more digits, because I didn't use the wildcard '!' maybe? Just getting confused, I guess -- It must have been when my IAXy was installed! Thanks for the correction :) ___ -- 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
Re: [asterisk-users] TDM410E card, 1 FXO module - how to dial Out
Mojo with Horan & Company, LLC wrote: > P.S. If you can't dial seven digit numbers in your area, but you miss > it, you can restore that behavior if you feel like selecting a default > area code: > > exten => _NXX,1,Dial(Zap/1/907${EXTEN},,TWK) > > Here, if I dial a seven digit number, asterisk dials 907 followed by my > seven digits out the phone line. Well, sort of. This will also trigger if you dial the first 7 digits of a 10-digit number from a device that doesn't dial 'en bloc', since there is no longer any way to distinguish 7-vs-10 digit numbers by the number pattern. In other words, this will work fine if you are dialing from a SIP phone, but not if you are dialing from an analog phone. -- Kevin P. Fleming Director of Software Technologies Digium, Inc. - "The Genuine Asterisk Experience" (TM) ___ -- 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
Re: [asterisk-users] TDM410E card, 1 FXO module - how to dial Out
Paul Whitby wrote: > Hello > > Newbie question here: I have a box running Ubuntu Linux 7.10 "gutsy > gibbon", and have a single Digium TDM410E card, with 1 FXO module > fitted and connected to my landline. I have it answering the landline, > directing to SIP phones, diverting to voicemail etc - and it works > great. What I can't work out is how to dial Out from this single card. > It is possible? if so, is it possible to handle both Incoming and > Outgoing calls, in the same configuration (obviously not at the same > time)? Thanks for any assistance. > Add some lines to the context your phones are in: exten => _1NXXNXX,1,Dial(Zap/1/${EXTEN},,TWK) exten => _0NXXNXX,1,Dial(Zap/1/${EXTEN},,TWK) exten => _NXXNXX,1,Dial(Zap/1/1${EXTEN},,TWK) exten => _NXX,1,Dial(Zap/1/${EXTEN},,TWK) The fourth one only applies if you can dial seven digit numbers in your local area, it seems phone companies are requiring ten digit dialing more and more. Moj P.S. If you can't dial seven digit numbers in your area, but you miss it, you can restore that behavior if you feel like selecting a default area code: exten => _NXX,1,Dial(Zap/1/907${EXTEN},,TWK) Here, if I dial a seven digit number, asterisk dials 907 followed by my seven digits out the phone line. Moj ___ -- 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
[asterisk-users] TDM410E card, 1 FXO module - how to dial Out
Hello Newbie question here: I have a box running Ubuntu Linux 7.10 "gutsy gibbon", and have a single Digium TDM410E card, with 1 FXO module fitted and connected to my landline. I have it answering the landline, directing to SIP phones, diverting to voicemail etc - and it works great. What I can't work out is how to dial Out from this single card. It is possible? if so, is it possible to handle both Incoming and Outgoing calls, in the same configuration (obviously not at the same time)? Thanks for any assistance. - Paul ___ -- 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