Paul Belanger
2005-Jul-06 10:58 UTC
[Asterisk-Users] Some problems setting outgoing PRI Origination Number
Hello, Quick Diagram: Telco-PRI -> Asterisk <- Norstar PRI -> Norstar PBX (DMS100) (TE405P) (DMS100) | | V Cisco 7960G (SIP) I'm trying to change the Origination Number on my outgoing PRI, and running into a weird problem. If I make a call from a SIP extension off asterisk using the following context: [from-sip] exten => 800,1,Answer exten => 800,2,SetCallerID(6132718xxxx) exten => 800,3,Dial(Dial(${TRUNK-TELCO}/5551234) I am able to change the Origination Number!> Protocol Discriminator: Q.931 (8) len=39 > Call Ref: len= 2 (reference 175/0xAF) (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 a9 83 95] > 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: 21 ] > [6c 0c 21 83 36 31 33 32 37 31 38 38 35 33] > Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan(E.164/E.163) (1)> Presentation: Presentation allowed of network provided number (3)'613271xxxx' ]> [70 08 a1 32 35 35 30 30 34 38] > Called Number (len=10) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan(E.164/E.163) (1) '5551234' ] However if I call from behind the channel bank, I am unable to change the number. [from-norstar] exten => 800,1,Answer exten => 800,2,SetCallerID(6132718xxxx) exten => 800,3,Dial(Dial(${TRUNK-TELCO}/5551234)> Protocol Discriminator: Q.931 (8) len=39 > Call Ref: len= 2 (reference 176/0xB0) (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 a9 83 95] > 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: 21 ] > [6c 0c 21 ff 36 31 33 32 37 31 38 38 35 33] > Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan(E.164/E.163) (1)> Presentation: Unknown (127) '613271xxxx' ] > [70 08 a1 32 35 35 30 30 34 38] > Called Number (len=10) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan(E.164/E.163) (1) '5551234' ] Any ideas why I can set it using SIP extension only? Slackware 10.0 Asterisk 1.0.9 TE405P PB
Kevin P. Fleming
2005-Jul-06 11:56 UTC
[Asterisk-Users] Some problems setting outgoing PRI Origination Number
Paul Belanger wrote:>>[6c 0c 21 ff 36 31 33 32 37 31 38 38 35 33] >>Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan > > (E.164/E.163) (1) > >> Presentation: Unknown (127) '613271xxxx' ]It _is_ being changed, but the presentation/restriction settings are set to an odd value. Look at the SetCallerPres() app (or CALLERPRES variable in CVS HEAD) to set the outgoing presentation value to something that will work.
Possibly Parallel Threads
- No Caller Name sent from Asterisk over National or DMS100 PRI to a Norstar MICS?
- No D-channels available! Using Primary channel 16 as D-channel anyway!
- No Caller Name sent from Asterisk over Natio nal or DMS100 PRI to a Norstar MICS?
- Re: No Caller Name sent from Asterisk over National or DMS100?
- PRI DMS100 -> Nortel Meridian Option 81