[asterisk-dev] Libpri and caller name

Alistair Cunningham acunningham at integrics.com
Mon Feb 13 18:41:51 MST 2006


Paul,

Thank you for following up. We currently have "switchtype = national". 
Looking at the code, I see in transmit_display():

         if(pri->switchtype != PRI_SWITCH_EUROISDN_E1) {
             ie->data[0] = 0xb1;
             ++i;
         }

Is this the escape character? Is it safe to comment out these lines?

Alistair Cunningham,
Integrics Ltd,
+44 20 799 39 799
sip:acunningham at integrics.com
http://integrics.com/


Paul Cadach wrote:
> Hello,
> 
> Alistair Cunningham wrote:
> [skipped]
> 
>>       The solution is to ensure your equipment is set to the proper
>>switch type, namely NI-1 or NI-2 (as opposed to a Nortel switch type
>>like DMS-100).
> 
> 
> Current libpri code isn't sends DISPLAY IE for NI-1 or Q.931 switchs, and isn't uses character set prefix for EuroISDN
> E1 switches.
> 
> [skipped]
> 
> 
>>I've had a look through the libpri code, and don't see the escape
>>character or Nortel specific code. Can anyone please point me to the
>>correct place, or to a patch?
> 
> 
> Look q931.c for transmit_display() function (found at line 1058 in current SVN-TRUNK source tree).
> 
> 
> WBR,
> Paul.
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 
> 



More information about the asterisk-dev mailing list