[asterisk-bugs] [LibPRI 0012816]: Nortel to Asterisk (card Sangoma A101) by qsig no pass caller name

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jun 24 23:44:38 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12816 
====================================================================== 
Reported By:                silverx
Assigned To:                
====================================================================== 
Project:                    LibPRI
Issue ID:                   12816
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.20.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             06-09-2008 08:10 CDT
Last Modified:              06-24-2008 23:44 CDT
====================================================================== 
Summary:                    Nortel to Asterisk (card Sangoma A101) by qsig no
pass caller name
Description: 
Hi 
I've an Asterisk 1.4.20.1 server with asterisk-addons-1.4.7, libpri-1.4.4,
zaptel-1.4.11 and wanpipe-3.2.5.
I've a connection: PBX Nortel By Qsig (sangoma) to Asterisk and
another connection: PBX Nortel by Qsig to Cisco call manager

The issue is: when I use a cisco phone to cal asterisk through channel
nortel --> Asterisk I can see the caller name (cisco routed to nortel).
Using nortel phone to Asterisk the caller name is missing (strange !!) 
In the log I recieve this message 

[Jun  9 14:27:15] VERBOSE[6246] logger.c: < Facility (len=40, codeset=0) [
[Jun  9 14:27:15] VERBOSE[6246] logger.c: 0x9F, 0xAA, 0x06, 0x80, 0x01,
0x00, 0x82, 0x01, 0x00, 0x8B, 0x01, 0x00, 0xA1, 0x18, 0x02, 0x02, 0x01,
0x00, 0x06, 0x04, '+', 0x0C, 0x09, 0x00, 0x80, 0x0C, 'Luca Boriani'[Jun  9
14:27:15] VERBOSE[6246] logger.c:  ]
[Jun  9 14:27:15] VERBOSE[6246] logger.c: !! Unable to handle ROSE
operation 722209024[Jun  9 14:27:15] VERBOSE[6246] logger.c:  [ 80 0C 4C 75
63 61 20 42 6F 72 69 61 6E 69 ] - [..Luca Boriani]

can you help me please?
Thanks




====================================================================== 

---------------------------------------------------------------------- 
 prado - 06-24-08 23:44  
---------------------------------------------------------------------- 
By the number of the ROSE operation you reported (722209024), I think you
are  using ECMAV1. I recomend you use ECMAV2, but if you can´t, this
workaround may 
solve your problem. At least now I´m 99% sure it will. (Anyway, tomorrow
I will compile it and test it on our lab to report here.)

I´m assuming you are using libpri-1.4.4
Let´s go to the source!


in 'pri_facility.h' locate this part: 

-------------------------------------------------
/* Q.SIG operations */
#define SS_CNID_CALLINGNAME		0
-------------------------------------------------



and change to this:
-------------------------------------------------
/* Q.SIG operations */
#define SS_CNID_CALLINGNAME		0
#define SS_CNID_CALLINGNAME_V1		722209024
-------------------------------------------------




in 'pri_facility.c' locate this:

--------------------------------------------------
           pri_message(pri, "  [ Handling operation %d ]\n",
operation_tag);
     switch (operation_tag) {
     case SS_CNID_CALLINGNAME:
	   if (pri->debug & PRI_DEBUG_APDU)
---------------------------------------------------


and change to this:
--------------------------------------------------
           pri_message(pri, "  [ Handling operation %d ]\n",
operation_tag);
     switch (operation_tag) {
     case SS_CNID_CALLINGNAME:
     case SS_CNID_CALLINGNAME_V1:
	   if (pri->debug & PRI_DEBUG_APDU)
---------------------------------------------------


I will wait for your feedback too.

[]´s,
Prado 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-24-08 23:44  prado          Note Added: 0089195                          
======================================================================




More information about the asterisk-bugs mailing list