[asterisk-commits] crichter: branch 1.4 r44562 - in /branches/1.4: ./ channels/chan_misdn.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Oct 6 05:52:01 MST 2006


Author: crichter
Date: Fri Oct  6 07:52:01 2006
New Revision: 44562

URL: http://svn.digium.com/view/asterisk?rev=44562&view=rev
Log:
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.
........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/channels/chan_misdn.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_misdn.c?rev=44562&r1=44561&r2=44562&view=diff
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Fri Oct  6 07:52:01 2006
@@ -3705,6 +3705,12 @@
 		
 		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);



More information about the asterisk-commits mailing list