Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] TDM410E card, 1 FXO module - how to dial Out


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
paulwhitby at btconnec...
Guest





PostPosted: Tue Apr 01, 2008 5:11 pm    Post subject: [asterisk-users] TDM410E card, 1 FXO module - how to dial Ou Reply with quote

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
Back to top
Guest






PostPosted: Tue Apr 01, 2008 6:16 pm    Post subject: [asterisk-users] TDM410E card, 1 FXO module - how to dial Ou Reply with quote

Paul Whitby wrote:
Quote:
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 => _1NXXNXXXXXX,1,Dial(Zap/1/${EXTEN},,TWK)
exten => _0NXXNXXXXXX,1,Dial(Zap/1/${EXTEN},,TWK)
exten => _NXXNXXXXXX,1,Dial(Zap/1/1${EXTEN},,TWK)
exten => _NXXXXXX,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 => _NXXXXXX,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
Back to top
kpfleming at digium.com
Guest





PostPosted: Wed Apr 02, 2008 7:08 am    Post subject: [asterisk-users] TDM410E card, 1 FXO module - how to dial Ou Reply with quote

Mojo with Horan & Company, LLC wrote:

Quote:
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 => _NXXXXXX,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)
Back to top
Guest






PostPosted: Wed Apr 02, 2008 11:15 am    Post subject: [asterisk-users] TDM410E card, 1 FXO module - how to dial Ou Reply with quote

Kevin P. Fleming wrote:
Quote:
Mojo with Horan & Company, LLC wrote:


Quote:
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 => _NXXXXXX,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 Smile
Back to top
seandarcy2 at gmail.com
Guest





PostPosted: Thu Apr 03, 2008 5:40 pm    Post subject: [asterisk-users] TDM410E card, 1 FXO module - how to dial Ou Reply with quote

Kevin P. Fleming wrote:
Quote:
Mojo with Horan & Company, LLC wrote:

Quote:
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 => _NXXXXXX,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 Smile. 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 => _NXXXXXX,1,Answer()
exten => _NXXXXXX,n,Dial(${faxline}/${EXTEN})

[outbound-long-distance]
exten =>_1NXXNXXXXXX,1,Answer()
exten =>_1NXXNXXXXXX,n,Dial(iax2/office/${EXTEN})

exten =>_NXXNXXXXXX,1,Answer()
exten =>_NXXNXXXXXX,n,Dial(iax2/office/${EXTEN})

[office-extensions]
exten =>_1XX,1,Answer()
exten =>_1XX,n,Dial(iax2/office/${EXTEN})
Back to top
Guest






PostPosted: Thu Apr 03, 2008 7:41 pm    Post subject: [asterisk-users] TDM410E card, 1 FXO module - how to dial Ou Reply with quote

sean darcy wrote:
Quote:
Kevin P. Fleming wrote:

Quote:
Mojo with Horan & Company, LLC wrote:


Quote:
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 => _NXXXXXX,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 Smile. 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 => _NXXXXXX,1,Answer()
exten => _NXXXXXX,n,Dial(${faxline}/${EXTEN})

[outbound-long-distance]
exten =>_1NXXNXXXXXX,1,Answer()
exten =>_1NXXNXXXXXX,n,Dial(iax2/office/${EXTEN})

exten =>_NXXNXXXXXX,1,Answer()
exten =>_NXXNXXXXXX,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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services