https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r44562 | crichter | 2006-10-06 14:52:01 +0200 (Fr, 06 Okt 2006) | 9 lines
Merged revisions 44335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44335 | crichter | 2006-10-04 17:26:59 +0200 (Mi, 04 Okt 2006) | 1 line
if INFORMATION Message come with keypad instead of called party number, we just use the keypad as called party number.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44842
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (ch->state == MISDN_WAITING4DIGS ) {
/* Ok, incomplete Setup, waiting till extension exists */
+
+ if (ast_strlen_zero(bc->info_dad) && ! ast_strlen_zero(bc->keypad)) {
+ chan_misdn_log(1, bc->port, " --> using keypad as info\n");
+ strcpy(bc->info_dad,bc->keypad);
+ }
+
{
int l = sizeof(bc->dad);
strncat(bc->dad,bc->info_dad, l);