Summary:ASTERISK-05591: [Patch]: chan_misdn: minor bugfixes, regarding applications
Reporter:crich (crich)Labels:
Date Opened:2005-11-14 04:48:29.000-0600Date Closed:2008-01-15 15:56:11.000-0600
Versions:Frequency of
Environment:Attachments:( 0) chan_misdn.patch.2.txt
( 1) chan_misdn.patch.txt
Description:Hi all,

this patch fixes:

* Datacalls are signalled correctly, especially wiht app_v110 - fixed
* ChanIsAvail didn't work proper - fixed
* SetCallerPres worked only for allowe/prohib, added the screening stuff - fixed
* Checking of ProgressIndicator, to play sounds after Disconnect - fixed
* EchoCancel activation on incoming calls - fixed
* some minor tweaks

Comments:By: crich (crich) 2005-11-14 13:04:59.000-0600

2. Patch fixes additionally:

* incoming calls didn't received ALERTING

By: Russell Bryant (russell) 2005-11-14 14:13:16.000-0600

Please use ast_copy_string instead of strncpy.

Also, just so you know, when using strncpy, you should subtract one from the size of the destination buffer.  strncpy does not guarantee that a terminating '\0' will be placed at the end of the string.  However, you do not need to do this when using ast_copy_string.

By: Kevin P. Fleming (kpfleming) 2005-11-15 15:31:12.000-0600

Committed to CVS HEAD, with strncpy() calls converted to ast_copy_string().

By: Digium Subversion (svnbot) 2008-01-15 15:56:11.000-0600

Repository: asterisk
Revision: 7105

U   trunk/ChangeLog
U   trunk/channels/chan_misdn.c
U   trunk/channels/chan_misdn_config.c
U   trunk/channels/misdn/isdn_lib.c
U   trunk/channels/misdn/isdn_lib.h
U   trunk/channels/misdn/isdn_msg_parser.c

r7105 | kpfleming | 2008-01-15 15:56:11 -0600 (Tue, 15 Jan 2008) | 2 lines

issue ASTERISK-5591 (plus ast_copy_string() usage conversion)