Colin Anderson
2004-Nov-11 14:19 UTC
[Asterisk-Users] DID/PRI sending to the s, extension instead of t he DID extension
I've got some DID's on a PRI that I want to ring an extension when the
trailing digits match an extension in the dialplan.
Followed the instructions at:
http://www.voip-info.org/wiki-Asterisk+tips+DID
When I call the DID, Asterisk is not recognizing it as a DID and instead
sending it to the "s," extension in the same context.
My PRI debug:
< Protocol Discriminator: Q.931 (8) len=36
< Call Ref: len= 2 (reference 6/0x6) (Originator)
< Message type: SETUP (5)
< [04 03 80 90 a2]
< 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: u-Law (34)
< [18 03 a1 83 97]
< 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: 23 ]
< [6c 0c 00 80 37 38 30 34 33 36 35 39 35 39]
< Calling Number (len=14) [ Ext: 0 TON: Unknown Number Type (0) NPI:
Unknown Number Plan (0)
< Presentation: Presentation permitted, user
number not screened (0) '7804365959' ]
< [70 05 e9 30 35 34 35]
< Called Number (len= 7) [ Ext: 1 TON: Abbreviated number (6) NPI: Private
Numbering Plan (9) '0545' ] <----NOTE THIS IS THE DID NUMBER
-- Making new call for cr 6
-- 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)
-- Going to extension s|1 because of Complete received
-- Accepting call from '7804365959' to 's' on channel 0/23,
span 1
The target context:
exten => 0545,1,answer <--this doesn't kick in
exten => s,2,blah <---this is processed instead
Digium T100P <-----> Adtran Atlas 550
Atlas 550 is configured with User termination to the * box and Network
termination to the PSTN. On the User term, Strip MSD is off, Called Digits
Transferred is manually set to Four
Outbound calls work fine.
Andres
2004-Nov-11 14:31 UTC
[Asterisk-Users] DID/PRI sending to the s, extension instead of t he DID extension
>-- Processing IE 108 (cs0, Calling Party Number) >-- Processing IE 112 (cs0, Called Party Number) > -- Going to extension s|1 because of Complete received > -- Accepting call from '7804365959' to 's' on channel 0/23, span 1 > >The target context: > >exten => 0545,1,answer <--this doesn't kick in >exten => s,2,blah <---this is processed instead > > >put an underscore and see if it helps: exten => _0545,1,answer>Digium T100P <-----> Adtran Atlas 550 > >Atlas 550 is configured with User termination to the * box and Network >termination to the PSTN. On the User term, Strip MSD is off, Called Digits >Transferred is manually set to Four > >Outbound calls work fine. >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > >