17 Oct
2007
17 Oct
'07
6:37 p.m.
Author: anthm Date: Wed Oct 17 14:37:18 2007 New Revision: 5939 Modified: freeswitch/trunk/src/switch_channel.c Log: change dialplan a little (part2) Modified: freeswitch/trunk/src/switch_channel.c ============================================================================== --- freeswitch/trunk/src/switch_channel.c (original) +++ freeswitch/trunk/src/switch_channel.c Wed Oct 17 14:37:18 2007 @@ -1270,10 +1270,15 @@ char *sub_val = NULL, *func_val = NULL; int nv = 0; - if (!in || !strchr(in, '$')) { + if (in && (p = strchr(in, '$'))) { + if (!*(p + 1)) { + return in; + } + } else { return in; } + olen = strlen(in); indup = strdup(in);
6959
Age (days ago)
6959
Last active (days ago)
0 comments
1 participants
participants (1)
-
Freeswitch SVN