[VoIP] ZAPMICRO TDN clone & Pulse Dialling
Ian Jolly
ian at uax.org.uk
Tue Feb 26 14:58:55 CST 2008
----- Original Message -----
From: "ikjtel" <ikj1234i at yahoo.com>
To: "Voice Over IP Tandem for Analog Switches" <voip at ckts.info>
Sent: Tuesday, February 26, 2008 3:18 PM
Subject: Re: [VoIP] ZAPMICRO TDN clone & Pulse Dialling
> ian at uax.org.uk (Ian Jolly) wrote:
>> ....
>> However the FXS port doesn't accept pulse dialling -
>> only DTMF.
>
> When rotary dialling doesn't work properly, it is an
> offence against the General Order. Since DP decoding
> is done entirely in host software, we were able to
> diagnose (and fix) the earlier problem (leading to the
> wiki article you referenced) by adding "debug"
> statements to the code in order to print out internal
> states of things.
>
> First things first, it would be good to have several
> particular questions answered so as to eliminate
> certain variables.
>
> What is the exact symptom you see? Does rotary
> dialling completely not work or is it working but
> erratic?
Rotary dialling with a dial doesn't work other than as follows -
This is dialling ten one's then waiting - it times out.
-- Starting simple switch on 'Zap/3-1'
-- Executing Macro("Zap/3-1", "UKNUtone") in new stack
-- Executing Answer("Zap/3-1", "") in new stack
-- Executing Wait("Zap/3-1", "1") in new stack
-- Executing PlayTones("Zap/3-1", "400/2000") in new stack
-- Executing Wait("Zap/3-1", "20") in new stack
== Spawn extension (macro-UKNUtone, s, 4) exited non-zero on 'Zap/3-1' in
macro 'UKNUtone'
== Spawn extension (0295local, 1111111111, 1) exited non-zero on 'Zap/3-1'
-- Hungup 'Zap/3-1'
This is dialling ten 1's then waiting - it times out. Same result
-- Starting simple switch on 'Zap/3-1'
-- Executing Macro("Zap/3-1", "UKNUtone") in new stack
-- Executing Answer("Zap/3-1", "") in new stack
-- Executing Wait("Zap/3-1", "1") in new stack
-- Executing PlayTones("Zap/3-1", "400/2000") in new stack
-- Executing Wait("Zap/3-1", "20") in new stack
== Spawn extension (macro-UKNUtone, s, 4) exited non-zero on 'Zap/3-1' in
macro 'UKNUtone'
== Spawn extension (0295local, 1111111111, 1) exited non-zero on 'Zap/3-1'
-- Hungup 'Zap/3-1'
Then dialling ten 2's then waiting - it appears to recognise a couple of the
two's but sees most as ones
-- Starting simple switch on 'Zap/3-1'
-- Executing Macro("Zap/3-1", "UKNUtone") in new stack
-- Executing Answer("Zap/3-1", "") in new stack
-- Executing Wait("Zap/3-1", "1") in new stack
-- Executing PlayTones("Zap/3-1", "400/2000") in new stack
-- Executing Wait("Zap/3-1", "20") in new stack
== Spawn extension (macro-UKNUtone, s, 4) exited non-zero on 'Zap/3-1' in
macro 'UKNUtone'
== Spawn extension (0295local, 1221111111, 1) exited non-zero on 'Zap/3-1'
-- Hungup 'Zap/3-1'
-- Starting simple switch on 'Zap/3-1'
Then dialling ten 2's then waiting - it appears to recognise a two but sees
the rest as 'ones'
-- Executing Macro("Zap/3-1", "UKNUtone") in new stack
-- Executing Answer("Zap/3-1", "") in new stack
-- Executing Wait("Zap/3-1", "1") in new stack
-- Executing PlayTones("Zap/3-1", "400/2000") in new stack
-- Executing Wait("Zap/3-1", "20") in new stack
== Spawn extension (macro-UKNUtone, s, 4) exited non-zero on 'Zap/3-1' in
macro 'UKNUtone'
== Spawn extension (0295local, 1111112111, 1) exited non-zero on 'Zap/3-1'
-- Hungup 'Zap/3-1'
Then I tried ten threes but virtually straight away it saw a '2' and dropped
out without timing out.
-- Starting simple switch on 'Zap/3-1'
-- Executing Macro("Zap/3-1", "UKNUtone") in new stack
-- Executing Answer("Zap/3-1", "") in new stack
-- Executing Wait("Zap/3-1", "1") in new stack
-- Executing PlayTones("Zap/3-1", "400/2000") in new stack
-- Executing Wait("Zap/3-1", "20") in new stack
== Spawn extension (macro-UKNUtone, s, 4) exited non-zero on 'Zap/3-1' in
macro 'UKNUtone'
== Spawn extension (0295local, 2, 1) exited non-zero on 'Zap/3-1'
>
> What happens when you attempt to "dial" the digit "1"
> by depressing the hook switch one time (long enough to
> "register" but not long enough to generate an on hook
> supervision) ?
>
By tapping the reciever rest - it seems sometimes to read the ;digits' -
this is tapping 2134
-- Starting simple switch on 'Zap/3-1'
-- Executing Macro("Zap/3-1", "UKNUtone") in new stack
-- Executing Answer("Zap/3-1", "") in new stack
-- Executing Wait("Zap/3-1", "1") in new stack
-- Executing PlayTones("Zap/3-1", "400/2000") in new stack
-- Executing Wait("Zap/3-1", "20") in new stack
== Spawn extension (macro-UKNUtone, s, 4) exited non-zero on 'Zap/3-1' in
macro 'UKNUtone'
== Spawn extension (0295local, 2134, 1) exited non-zero on 'Zap/3-1'
-- Hungup 'Zap/3-1'
This is tapping four 5's - note the error message which seems to relate?
-- Starting simple switch on 'Zap/3-1'
-- Executing Macro("Zap/3-1", "UKNUtone") in new stack
-- Executing Answer("Zap/3-1", "") in new stack
-- Executing Wait("Zap/3-1", "1") in new stack
-- Executing PlayTones("Zap/3-1", "400/2000") in new stack
-- Executing Wait("Zap/3-1", "20") in new stack
== Spawn extension (macro-UKNUtone, s, 4) exited non-zero on 'Zap/3-1' in
macro 'UKNUtone'
== Spawn extension (0295local, 5541, 1) exited non-zero on 'Zap/3-1'
-- Hungup 'Zap/3-1'
Feb 26 20:30:42 WARNING[2256]: chan_zap.c:1583 zt_set_hook: zt hook failed:
Device or resource busy
-- Starting simple switch on 'Zap/3-1'
-- Hungup 'Zap/3-1'
This is tapping 2345 - note the 2 and 3 seem OK but the 4 was seen as 3 + 1
and the 5 seem as 4 + 1
-- Starting simple switch on 'Zap/3-1'
-- Executing Macro("Zap/3-1", "UKNUtone") in new stack
-- Executing Answer("Zap/3-1", "") in new stack
-- Executing Wait("Zap/3-1", "1") in new stack
-- Executing PlayTones("Zap/3-1", "400/2000") in new stack
-- Executing Wait("Zap/3-1", "20") in new stack
== Spawn extension (macro-UKNUtone, s, 4) exited non-zero on 'Zap/3-1' in
macro 'UKNUtone'
== Spawn extension (0295local, 233141, 1) exited non-zero on 'Zap/3-1'
-- Hungup 'Zap/3-1'
After several attempts, I managed to tap '100' (the code for the Operator)
and hey presto she answered!
-- Starting simple switch on 'Zap/3-1'
-- Executing Macro("Zap/3-1", "dialcnet|44100") in new stack
-- Executing Set("Zap/3-1", "E164NETWORKS=std.ckts.info") in new stack
-- Executing GotoIf("Zap/3-1", "0?ok:notok") in new stack
-- Goto (macro-dialcnet,s,3)
-- Executing SetCallerID("Zap/3-1", "Banbury GSC <442952190>") in new
stack
-- Executing GotoIf("Zap/3-1", "0?startloop") in new stack
-- Executing Set("Zap/3-1", "ARG1=44100") in new stack
-- Executing Set("Zap/3-1", "ENUM=iax2:cnetguest at 81.174.170.48/44100")
in new stack
-- Executing GotoIf("Zap/3-1", "0?continue") in new stack
-- Executing GotoIf("Zap/3-1", "0?sipuri") in new stack
-- Executing GotoIf("Zap/3-1", "1?iaxuri") in new stack
-- Goto (macro-dialcnet,s,16)
-- Executing Set("Zap/3-1",
"DIALSTR=IAX2/cnetguest at 81.174.170.48/44100") in new stack
-- Executing Goto("Zap/3-1", "dodial") in new stack
-- Goto (macro-dialcnet,s,19)
-- Executing Dial("Zap/3-1", "IAX2/cnetguest at 81.174.170.48/44100") in
new stack
-- Called cnetguest at 81.174.170.48/44100
-- Call accepted by 81.174.170.48 (format ulaw)
-- Format for call is ulaw
-- IAX2/81.174.170.48:4569-1 is ringing
-- IAX2/81.174.170.48:4569-1 answered Zap/3-1
-- Hungup 'IAX2/81.174.170.48:4569-1'
== Spawn extension (macro-dialcnet, s, 19) exited non-zero on 'Zap/3-1' in
macro 'dialcnet'
== Spawn extension (0295local, 100, 1) exited non-zero on 'Zap/3-1'
-- Hungup 'Zap/3-1'
I also managed to get Milliwatt on 171 after a couple of attempts.
> In the process of installing this card, does it need
> to install third-party driver modifications (ala the
> varion), or does it use bog-standard zaptel drivers --
> and in any case, which one, i.e., wctdm.c ?
>
We followed the ZapMicro instructions as per
http://www.zapmicro.com/Datasheets/ZMA400P%20Installation%20Guide.pdf
It looks somehow like a case of timing?
We can't bee too far off ?
Ian Jolly
> Any other details such as possible error messages?
>
> Best
>
> Max
>
>
>
> ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> _______________________________________________
> VoIP mailing list
> VoIP at ckts.info
> http://lists.ckts.info/mailman/listinfo/voip
> Project Web Page: http://www.ckts.info/
More information about the VoIP
mailing list