[Asterisk-Users] Direct Dial In - second try
ChB
a0305292 at unet.univie.ac.at
Mon Oct 3 14:55:21 MST 2005
Hi all,
I have an asterisk-server (cvs-head from august) connected to a
carrier's switch (DMS/Euroisdn) via a te410p, and I am having problems
with DDI (standard 'official pstn' number plus extra digits for
'internal' use)
Basically, when the entire number (including the extra digits) is
dialled via a redial or a programmed key, I see the entire called party
number (including the extra numbers) in * debug. However if I dial the
number manually (digit for digit) the carrier puts it through before
I've finished dialling (after 10 digits), and I never see the whole DDI
dialed.
Since I want to be able to use numbers with and without DDIs, I can't
tell the carrier to raise the minimum level to more than 10 since
numbers dialled without DDIs would never be passed.
The carrier is telling me to wait a second or two before seizing the
call, and that any additional digits received would be passed in the
isdn protocol. My understanding is that the called party number would be
retransmitted, including the DDI. (Wait in the dialplan doesn't work, as
the call is already "taken")
Does anyone have any idea why this is not working? Is the carrier right?
This doesn't seem to be such an odd feature that nobody else would use
it ;-), so please leave a comment, even if it works for you out of the
box without fuss. Your help is highly appreciated, thanks!
I have included two traces. The first is the number dialled with a speed
dial key, the second is exactly the same number dialed manually.
Best regards
Christian
trace:
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
with speeddial(sent as one block):
mgw1*CLI>
< Protocol Discriminator: Q.931 (8) len=35 < Call Ref: len= 2
(reference 1549/0x60D) (Originator) < Message type: SETUP (5) < [04 03
80 90 a3] < Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info
transfer capability: Speech (0)
< Ext: 1 Trans mode/rate: 64kbps,
circuit-mode (16)
< Ext: 1 User information layer 1: A-Law
(35)
< [18 03 a1 83 82]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred
Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel
Type: 3
< Ext: 1 Channel: 2 ]
< [6c 02 00 a1]
< Calling Number (len= 4) [ Ext: 0 TON: Unknown Number Type (0) NPI:
Unknown Number Plan (0)
< Presentation: Presentation prohibited, user
number passed network screening (33) '' ]
< [70 0e a1 30 37 32 30 30 30 33 34 35 36 37 38 39] < Called Number
(len=16) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony
Numbering Plan (E.164/E.163) (1) '07xxxxxx6789' ]
-- Making new call for cr 1549
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
> Protocol Discriminator: Q.931 (8) len=10 Call Ref: len= 2 (reference
> 1549/0x60D) (Terminator) Message type: CALL PROCEEDING (2)
> [18 03 a9 83 82]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel
Type: 3
> Ext: 1 Channel: 2 ]
-- Accepting call from '' to '07xxxxxx6789' on channel 0/2, span 1
-- Executing GotoIf("Zap/2-1", "0?100:2") in new stack
<snip>
////////////////////////////////////////////////////////////////////////
dialed manually digit by digit:
< Protocol Discriminator: Q.931 (8) len=32 < Call Ref: len= 2
(reference 1543/0x607) (Originator) < Message type: SETUP (5) < [04 03
80 90 a3] < Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info
transfer capability: Speech (0)
< Ext: 1 Trans mode/rate: 64kbps,
circuit-mode (16)
< Ext: 1 User information layer 1: A-Law
(35)
< [18 03 a1 83 82]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred
Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel
Type: 3
< Ext: 1 Channel: 2 ]
< [6c 02 00 a1]
< Calling Number (len= 4) [ Ext: 0 TON: Unknown Number Type (0) NPI:
Unknown Number Plan (0)
< Presentation: Presentation prohibited, user
number passed network screening (33) '' ]
< [70 0b a1 30 37 32 30 30 30 33 34 35 36] < Called Number (len=13) [
Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan
(E.164/E.163) (1) '072xxxxxx6' ]
-- Making new call for cr 1543
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
> Protocol Discriminator: Q.931 (8) len=10 Call Ref: len= 2 (reference
> 1543/0x607) (Terminator) Message type: CALL PROCEEDING (2)
> [18 03 a9 83 82]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel
Type: 3
> Ext: 1 Channel: 2 ]
-- Accpting call from '' to '072xxxxxx6' on channel 0/2, span 1
-- Executing GotoIf("Zap/2-1", "0?100:2") in new stack
<snip>
More information about the asterisk-users
mailing list