VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
markmorreny at gmail.com Guest
|
Posted: Mon Mar 24, 2008 1:38 am Post subject: [asterisk-users] Unable to obtain dialed number through ZAP |
|
|
Hi all,
This is not a repeated post as I am just adding more information for my
previous post.
Asterisk version 1.4.18
TDM card: Digium TDM411B
Zaptel version 1.4.9.2
Line: PSTN line
I tried to obtain the dialed number using $DNID and $CDR(DST) . All of
these variable returns 's'
I also tried exten => _3345335,n,Noop(this is ok) where 3345335 is my
number but it does not go there.
What I need to do is to try to route called based on the dialed number as I
have multiple DIDs on my line. Is this something that can be done? Is this
something to do with the hardware that I am using? If so, what kind of
hardware do I need to accomplish this task?
zapata.conf:
[trunkgroups]
[channels]
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=yes
echotraining=yes
immediate=no
; define channels
context=incoming
signalling=fxs_ks
channel => 1
signalling=fxo_ks
channel=>2
Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080324/96ee013f/attachment.htm |
|
Back to top |
|
|
gordon+asterisk at dro... Guest
|
Posted: Mon Mar 24, 2008 2:49 am Post subject: [asterisk-users] Unable to obtain dialed number through ZAP |
|
|
On Mon, 24 Mar 2008, mark morreny wrote:
Quote: | What I need to do is to try to route called based on the dialed number as I
have multiple DIDs on my line. Is this something that can be done? Is this
something to do with the hardware that I am using? If so, what kind of
hardware do I need to accomplish this task?
|
Based on this and your other posts, I'd suggest that it's not possible
with your setup. Telephnoe companies don't normally send the called phnoe
number down analogue lines, just the calling number (and even if they did,
I'm not sure asterisk has a means to extract it)
To do what you need to do, you'll need to move to BRI or PRI type of
equipment. (ISDN2 or ISDN30 in the UK, or whatever they're called where
you live)
Gordon |
|
Back to top |
|
|
aklists at mixdown.ca Guest
|
Posted: Mon Mar 24, 2008 7:28 am Post subject: [asterisk-users] Unable to obtain dialed number through ZAP |
|
|
On March 24, 2008 02:38:03 am mark morreny wrote:
Quote: | What I need to do is to try to route called based on the dialed number as I
have multiple DIDs on my line. Is this something that can be done? Is
this something to do with the hardware that I am using? If so, what kind
of hardware do I need to accomplish this task?
|
As others have mentioned, if you have an analogue connection (and even in some
cases, a digital one), this information is not available to you. A properly
configured PRI or BRI should get you this data, and if you have a
specifically-provisioned CAS T1, you can get it.
-A. |
|
Back to top |
|
|
tpeirce at digitalcon.ca Guest
|
Posted: Mon Mar 24, 2008 6:02 pm Post subject: [asterisk-users] Unable to obtain dialed number through ZAP |
|
|
mark morreny wrote:
Quote: | What I need to do is to try to route called based on the dialed number
as I have multiple DIDs on my line. Is this something that can be
done? Is this something to do with the hardware that I am using? If
so, what kind of hardware do I need to accomplish this task?
zapata.conf:
[trunkgroups]
<snip>
context=incoming
signalling=fxs_ks
channel => 1
signalling=fxo_ks
channel=>2
| Hi Mark,
It looks like you're using an analog line so you don't have the
advantage of a dial line telling you the dialed number.
If your provider has enabled distinctive ringing on your line you might
be able to accomplish this. I have never tried to have asterisk
recognize distinctive rings and this wiki page doesn't look too
promising, but take a look:
http://www.voip-info.org/wiki-Asterisk+ZAP+channels#DetectingDistinctiveRingonIncomingCalls
Best regards,
Trevor Peirce
--
Real CNAM data for incoming Caller ID @ www.cnam.info |
|
Back to top |
|
|
aspendora at gmail.com Guest
|
Posted: Mon Mar 24, 2008 6:38 pm Post subject: [asterisk-users] Unable to obtain dialed number through ZAP |
|
|
Just chiming in here...
There was discussion a LONG time ago about a setup similar to this. I
can't remember the details, since this was something I didn't expect
to ever run into myself (I guess I'm self-centered on that one).
Anyway, the discussion was along the lines of setting the line up as a
analog T1. I don't know if the card being used was for a T1 as well
or if it was a regular analog card.
You might try searching Google and see if it can bring up that old
conversation. Honestly, I can't even remember if the person ever got
it to work correctly or not. |
|
Back to top |
|
|
jra at baylink.com Guest
|
Posted: Wed Mar 26, 2008 9:57 am Post subject: [asterisk-users] Unable to obtain dialed number through ZAP |
|
|
On Mon, Mar 24, 2008 at 07:49:31AM +0000, Gordon Henderson wrote:
Quote: | On Mon, 24 Mar 2008, mark morreny wrote:
Quote: | What I need to do is to try to route called based on the dialed number as I
have multiple DIDs on my line. Is this something that can be done? Is this
something to do with the hardware that I am using? If so, what kind of
hardware do I need to accomplish this task?
|
Based on this and your other posts, I'd suggest that it's not possible
with your setup. Telephnoe companies don't normally send the called phnoe
number down analogue lines, just the calling number (and even if they did,
I'm not sure asterisk has a means to extract it)
|
You're talking about DNIS: Dialled Number Identification Service.
Some telcos can provide it on some analog services, usually those
described as DID, terminated on Dialogic DID-120 cards, and sold to
answering services run by little old ladies with 4-digit nixie tube
display boxes on the shelf next to the WeCO 300 (and no, to coin a
phrase, I am *not* making this up).
IOW: Yeah, go get ISDN.
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274
Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Joseph Stalin) |
|
Back to top |
|
|
novackster at gmail.com Guest
|
Posted: Wed Mar 26, 2008 10:25 am Post subject: [asterisk-users] Unable to obtain dialed number through ZAP |
|
|
Jay R. Ashworth wrote:
Quote: | On Mon, Mar 24, 2008 at 07:49:31AM +0000, Gordon Henderson wrote:
Quote: | On Mon, 24 Mar 2008, mark morreny wrote:
Quote: | What I need to do is to try to route called based on the dialed number as I
have multiple DIDs on my line. Is this something that can be done? Is this
something to do with the hardware that I am using? If so, what kind of
hardware do I need to accomplish this task?
| Based on this and your other posts, I'd suggest that it's not possible with your setup. Telephnoe companies don't normally send the called phnoe number down analogue lines, just the calling number (and even if they did,I'm not sure asterisk has a means to extract it)
|
You're talking about DNIS: Dialled Number Identification Service.
Some telcos can provide it on some analog services, usually those
described as DID, terminated on Dialogic DID-120 cards, and sold to
answering services run by little old ladies with 4-digit nixie tube
display boxes on the shelf next to the WeCO 300 (and no, to coin a
phrase, I am *not* making this up).
IOW: Yeah, go get ISDN.
Cheers,
-- jra
| DID = Direct Inward Dialing
In the telephone world, DID has been available for many years.
Originally as a specialized trunk or set of trunks, where the PBX or
remote end supplied battery towards the CO, and the CO outplused the
last number of digits to the PBX, depending on the size of the PBX this
could have been 3 or more digits. Later DTMF. What you would call an
analog connection.
With proper coding Asterisk SHOULD be able to handle DID trunks with FXS
circuits.
Asterisk can PROVIDE DID access to a PBX via FXO circuits, assuming the
PBX can be programmed for no wink.
Answering services did use devices to decode and display the digits (
Nixie or LED ) so they would know how to answer the line, often on a 1A2
key set. This has evolved in later years to more automated systems.
Somewhere along the line, DID has become misused. What many call DID is
LDN, or Listed Directory Number. LDN is usually the Line Number, though
not all lines have numbers. Many telcos provide a group of lines or
trunks under one number with multiple appearances in a hunt group, often
tarriffed at a different rate.
Probably more than anyone wanted to know about Direct Inward Dialing
John Novack
--
Dog is my co-pilot |
|
Back to top |
|
|
|
|
|
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
|