Summary:ASTERISK-19750: display_send=name_initial doesn't work
Reporter:Dmitry Melekhov (slesru)Labels:
Date Opened:2012-04-18 00:20:17Date Closed:2012-04-20 09:57:47
Versions:10.3.0 Frequency of
Environment:Centos 6.2/i386Attachments:( 0) chan_dahdi.conf
( 1) prilog-name.txt
( 2) prilog-noname.txt
Description:Asterisk doesn't send name with display_send=name_initial in chan_dahdi.

With patch from PRI-135
It sends.
I'll attach pri logs...

Comments:By: Dmitry Melekhov (slesru) 2012-04-18 00:20:51.044-0500

Works, with libpri patch

By: Dmitry Melekhov (slesru) 2012-04-18 00:21:17.932-0500

log without patch.
no name is sent.

By: Richard Mudgett (rmudgett) 2012-04-18 10:35:48.884-0500

I removed your patch from PRI-135 because patches cannot be accepted inline.  Patches *must* be attached for licensing reasons.

Since all your patch did was change the defaults, it indicates that you really have a configuration problem and are not dealing with a bug.  You *must* run the ./configure script with the version of libpri installed you will use for Asterisk to use any new features in libpri.

Please attach your chan_dahdi.conf and any included files.

By: Dmitry Melekhov (slesru) 2012-04-18 22:36:09.792-0500


Yes,  certainly I did run configure with 1.4.12 , otherwise previously configured with 1.4.11 asterisk will be not able compile chan_dahdi.
And yes, I understand that I changed default behaviour, but with default name_initial it works.
And I'll attach chan_dahdi.conf in few minites :-)
May be problem is in it...

Thank you!

By: Richard Mudgett (rmudgett) 2012-04-19 09:52:11.696-0500

Yes.  The problem is in the config file.  Everything *after* the
line in your config has no effect.  Parameter ordering is *important* with chan_dahdi.conf.  The channel line creates the specified channels *immediately* with the previously set parameters.  Any config changes *after* that line will affect the next channel line.

; Each channel consists of the channel number or range.  It inherits the
; parameters that were specified above its declaration.

By: Dmitry Melekhov (slesru) 2012-04-19 23:56:43.504-0500

Thank you very much!
It works.
And sorry for stupid mistake...