[asterisk-commits] trunk r24177 - /trunk/channels/chan_misdn.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue May 2 07:26:41 MST 2006


Author: crichter
Date: Tue May  2 09:26:40 2006
New Revision: 24177

URL: http://svn.digium.com/view/asterisk?rev=24177&view=rev
Log:
use set_callerid to update callerid with prefix

Modified:
    trunk/channels/chan_misdn.c

Modified: trunk/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_misdn.c?rev=24177&r1=24176&r2=24177&view=diff
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Tue May  2 09:26:40 2006
@@ -1508,9 +1508,7 @@
 			ast_copy_string(ast->exten, bc->dad, sizeof(ast->exten));
 		}
 		
-		if ( !ast->cid.cid_num) {
-			ast_set_callerid(ast, bc->oad, NULL, bc->oad);
-		}
+		ast_set_callerid(ast, bc->oad, NULL, bc->oad);
 		
 		if ( !ast_strlen_zero(bc->rad) ) {
 			if (ast->cid.cid_rdnis)



More information about the asterisk-commits mailing list