Sorry for not replying fast enough, I been working on a bigger problem, but now i'm back to square one on this problem.
I'm tracing the line and this is what the trace gives back:
.entc 42 5 45
gotr
.12:03:36 28/04/2011
IDLE TN 042 0 00 05
.12:05:24 28/04/2011
ACTIVE TN 042 0 00 05
ORIG 042 0 00 05 MARP 0 1209 500
TERM NONE
TDTN 0 SLOT 11 PTY SLOT 11
DIAL DN 8022
MAIN_PM DIAL AUX_PM
TALKSLOT NONE
QUEU 128
CALL ID 0 1601
.12:05:44 28/04/2011
ACTIVE TN 042 0 00 05
ORIG 042 0 00 05 MARP 0 1209 500
TERM 002 18 DID RMBR 22 18
DIAL DN 8022
MAIN_PM DIAL AUX_PM COMPLETE
TALKSLOT ORIG 18 TERM 18
QUEU NONE
CALL ID 0 1601
---- ISDN PRA CALL (TERM) ----
CALL REF # = 6697
BEARER CAP = VOICE
HLC =
CALL STATE = 1 INIT
CALLING NO = 7876415400
CALLED NO =
PDCA 1 PAD 0 6 PCML MU MU
.12:05:44 28/04/2011
ACTIVE TN 042 0 00 05
ORIG 042 0 00 05 MARP 0 1209 500
TERM NONE
TDTN 0 SLOT 19 PTY SLOT 19
DIAL DN 8022
MAIN_PM REOR
TALKSLOT NONE
QUEU DIAL
CALL ID 0 1601
.12:05:44 28/04/2011
IDLE TN 042 0 00 05
.12:05:50 28/04/2011
ACTIVE TN 042 0 00 05
ORIG 042 0 00 05 MARP 0 1209 500
TERM NONE
TDTN 0 SLOT 8 PTY SLOT 8
DIAL DN 8022
MAIN_PM DIAL AUX_PM
TALKSLOT NONE
QUEU 128
CALL ID 0 1511
.12:06:10 28/04/2011
ACTIVE TN 042 0 00 05
ORIG 042 0 00 05 MARP 0 1209 500
TERM 002 18 DID RMBR 22 18
DIAL DN 8022
MAIN_PM DIAL AUX_PM COMPLETE
TALKSLOT ORIG 23 TERM 25
QUEU NONE
CALL ID 0 1511
---- ISDN PRA CALL (TERM) ----
CALL REF # = 6698
BEARER CAP = VOICE
HLC =
CALL STATE = 1 INIT
CALLING NO = 7876415400
CALLED NO =
PDCA 1 PAD 0 6 PCML MU MU
.12:06:12 28/04/2011
ACTIVE TN 042 0 00 05
ORIG 042 0 00 05 MARP 0 1209 500
TERM NONE
TDTN 0 SLOT 26 PTY SLOT 26
DIAL DN 8022
MAIN_PM REOR
TALKSLOT NONE
QUEU DIAL
CALL ID 0 1511
.12:06:12 28/04/2011
IDLE TN 042 0 00 05
The equipment (scanning machine use for inventory that call an 1800 or something like that) is suposed to be dialing an 1800 number (sorry for the redundancy), btw I tested the equipment directly to a trunk it works fine (that rules out equipment problems).
If I connect to the line a test phone it only work in pulse mode and not in dtmf mode.