Leading * from NEC PBX not translated over ISDN

Hello All,

I have a weird problem, and was wondering if someone could point me in the right direction. I have a Digium TE407P connected to a NEAX 2400. We have codes that begin with an asterisk (the symbol, not the software), but they do not get translated. When I turn on PRI debugging and dial *71 from the PBX (directed to the Digium card), I see the information pasted at the bottom of this post. About halfway down you can see the line

Called Number (len= 3) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) ‘’

So, asterisk thinks the Called Number is blank. Does anybody know why it works that way? Is there a way to change it?

Thanks for your help,
David

Protocol Discriminator: Q.931 (8) len=30
< Call Ref: len= 2 (reference 158/0x9E) (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)
< User information layer 1: u-Law (34)
< [18 03 a9 83 09]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 0 Channel: 9 ]
< [1e 02 81 81]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
< Ext: 1 Progress Description: Call is not end-to-end ISDN; further call progress information may be available inband. (1) ]
< [6c 06 a1 32 33 35 34 34]
< Calling Number (len= 8) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
< Presentation: Presentation permitted, user number not screened (0) ‘23544’ ]
< [70 01 a1]
< Called Number (len= 3) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) ‘’ ]
– Making new call for cr 158
– Processing Q.931 Call Setup
– Processing IE 4 (cs0, Bearer Capability)
– Processing IE 24 (cs0, Channel Identification)
– Processing IE 30 (cs0, Progress Indicator)
– Processing IE 108 (cs0, Calling Party Number)
– Processing IE 112 (cs0, Called Party Number)
q931.c:3787 q931_receive: call 158 on channel 9 enters state 6 (Call Present)
Sending ring event (158) nochannelsignalling (0) facility_number (0)
– Extension ‘s’ in context ‘pbx_incoming’ from ‘23544’ does not exist. Rejecting call on channel 0/9, span 1
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Present, peerstate Call Initiated
q931.c:3208 q931_release_complete: call 158 on channel 9 enters state 0 (Null)

Protocol Discriminator: Q.931 (8) len=9
Call Ref: len= 2 (reference 158/0x9E) (Terminator)
Message type: RELEASE COMPLETE (90)
[08 02 81 81]dm-2*CLI>
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
Ext: 1 Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null

Hi What is *71 on the NEC ? is it a feature code ? or is it a dial string ? and is it programmed to send it over the link. Ill be honest sending a * over isdn is problematic

Ian

Hello,

The *71 is a dial string, and it is programmed to send it over the link. We can substitute the * with a # and it works. We’ve also tried sending the *71 over an e&m trunk, but the * gets stripped out and all we see in Asterisk is 71.
Thanks for your help,
David

Hi

yep when it comes to ISDN * is a bit of a protected character, you will need to change it

Ian