[asterisk-commits] russell: trunk r189951 - /trunk/main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 22 11:56:47 CDT 2009


Author: russell
Date: Wed Apr 22 11:56:43 2009
New Revision: 189951

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=189951
Log:
Fix call parking callback.  Pipes -> Commas.

Modified:
    trunk/main/features.c

Modified: trunk/main/features.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/main/features.c?view=diff&rev=189951&r1=189950&r2=189951
==============================================================================
--- trunk/main/features.c (original)
+++ trunk/main/features.c Wed Apr 22 11:56:43 2009
@@ -3063,10 +3063,10 @@
 
 					if (dialfeatures) {
 						char buf[MAX_DIAL_FEATURE_OPTIONS] = {0,};
-						snprintf(returnexten, sizeof(returnexten), "%s|30|%s", peername, callback_dialoptions(&(dialfeatures->features_callee), &(dialfeatures->features_caller), buf, sizeof(buf)));
+						snprintf(returnexten, sizeof(returnexten), "%s,30,%s", peername, callback_dialoptions(&(dialfeatures->features_callee), &(dialfeatures->features_caller), buf, sizeof(buf)));
 					} else { /* Existing default */
 						ast_log(LOG_WARNING, "Dialfeatures not found on %s, using default!\n", chan->name);
-						snprintf(returnexten, sizeof(returnexten), "%s|30|t", peername);
+						snprintf(returnexten, sizeof(returnexten), "%s,30,t", peername);
 					}
 
 					ast_add_extension2(con, 1, peername_flat, 1, NULL, NULL, "Dial", ast_strdup(returnexten), ast_free_ptr, registrar);




More information about the asterisk-commits mailing list