Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MICS 7.1 Caller Name not being displayed

Status
Not open for further replies.

peterbokunet

Technical User
Apr 8, 2003
67
US

I know I'll get beat up by and sent away, but...

Here is a log excerpt of debug on a PRI (NI-2, both sides) during the call setup.

Code:
[Apr 30 18:33:22] VERBOSE[8692] logger.c: > Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  0: 0  Location: User (0)
[Apr 30 18:33:22] VERBOSE[8692] logger.c: >                               Ext: 1  Progress Description: Calling equipment is non-ISDN. (3) ]
[Apr 30 18:33:22] VERBOSE[8692] logger.c: > [28 0c b1 6f 48 79 6c 4d 20 73 6f 73 65]
[Apr 30 18:33:22] VERBOSE[8692] logger.c: > Display (len=12) Charset: 31 [ Holy Moses ]
[Apr 30 18:33:22] VERBOSE[8692] logger.c: > [6c 0c 21 83 36 31 32 35 35 35 31 32 31 32]
[Apr 30 18:33:22] VERBOSE[8692] logger.c: > Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
[Apr 30 18:33:22] VERBOSE[8692] logger.c: >                           Presentation: Presentation allowed of network provided number (3)  '6125551212' ]
[Apr 30 18:33:22] VERBOSE[8692] logger.c: > [70 05 a1 34 33 32 32]
[Apr 30 18:33:22] VERBOSE[8692] logger.c: > Called Number (len= 7) [ Ext: 1  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '4322' ]
[Apr 30 18:33:22] VERBOSE[8692] logger.c: q931.c:2881 q931_setup: call 33152 on channel 1 enters state 1 (Call Initiated)
[Apr 30 18:33:22] VERBOSE[8692] logger.c:     -- Called g14/4322

In this call the originating number, 6125551212 is ringing through to DID 4322. Note in the message that the me is being transmitted to the MICS. Yes, this is from asterisk's 'pri intense debug' on the span.

Without changing anything on the MICS I can plug it into a carrier and it DOES display the name on the sets. In asterisk I have to wait a second after the call setup before I get the name off the PRI with the carrier -- it's not provided in the setup.

How can I convince the MICS to take the name in the setup message of inbound calls and use that?

If it's any consolation, in outbound calls the MICS does the same practice of including the name in the setup message and asterisk handles it fine.

I've tried setting SendNameDisp to 'N' and that only seems to affect the outbound. I have the line set to display 'Name' in the Telco line config for the sets (which is why it work right with a carrier).
 
I've tried setting SendNameDisp to 'N' and that only seems to affect the outbound. I have the line set to display 'Name' in the Telco line config for the sets (which is why it work right with a carrier)."

Send Name Disp is only for outgoing calls.
Telco features - on a ringing line, first preference can be only name or number (never both - small screen)

Are you trying to connect the asterisk to the norstar?
 
Yes, rolled T1 between the asterisk and norstar.

Name and ani going outbound (norstar -> asterisk) works well and as expected.

Under Telco Features the setting is for Name but the name never gets displayed. The number always shows up. For example setting 1stDisplay to the following values yields the results:
Name -> 6125551212
Number -> 6125551212
Line -> 4322
 
Telephone companies sometimes sell caller id number or caller id name and number, you may want to check if the name part is purchased and being sent.
 
Hi, thanks for your reply.

I have in the first post a trace of what's on the PRI that's being sent to the MICS. Note the "Holy Moses" in the code block -- it's the name being sent with the ANI "6125551212" and then the DID 4322.

 
Yes, and you noted that with the circuit plugged directly into the KSU, you get Name just fine. Obviously, it sounds like * isn't passing it on. I've never worked on asterisk, but is it configured to send the same format that the MICS is configured for? I know even a lot of CO's will tell you they're sending "National", but don't know whether it's NI2 or not...

I've seen some weird stuff happen when they don't match. At least you've got control over the equipment in this case.
 
I'm set for NI-2 on both sides. I'm not so sure about the "obviously" as the 'pri intense debug span' on * says it's sending it.

Typically telcos send it after the call setup and not in the setup message. It seems like * is only sending it in the setup. This weekend I'll get a trace of an inbound into * from telco and compare the traces.
 
With 'pri intense debug span' set in asterisk the log shows the carrier setting up like:

Code:
< [6c 0c 21 83 36 31 32 35 35 35 31 32 31 32]
< 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)  '6125551212' ]
< [70 05 80 34 33 32 32]
< Called Number (len= 7) [ Ext: 1  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)  '4322' ]

Then in less than a second, after the ACK is sent to the setup, telco sends in:

Code:
< Protocol Discriminator: Q.931 (8)  len=36
< Call Ref: len= 2 (reference 764/0x2FC) (Originator)
< Message type: FACILITY (98)
< [1c 1d 9f 8b 01 00 a1 17 02 01 01 02 01 00 80 0f 45 69 73 63 68 20 50 65 74 65 72 20 20 20 20]
< Facility (len=31, codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 0xA1, 0x17, 0x02, 0x01, 0x01, 0x02, 0x01, 0x00, 0x80, 0x0F, 'Eisch Peter    ' ]

In * I have to do a Wait() to get the name. Clearly the norstar only seems to be able to handle getting the name in a separate message but drops it if it comes in before the ANI/DID info.

I guess I'll have to bend * to do the same...
 
To get the name to show up I had to change the switchtype from NI-2 to DMS100 on both devices.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top