Ticket #4401: dialparties.agi.patch
| File dialparties.agi.patch, 0.8 kB (added by ianf, 2 years ago) |
|---|
-
dialparties.agi
old new 185 185 debug("get_variable got a \"noresponse\"! Exiting",3); 186 186 exit($arg_cnt); 187 187 } 188 $extarray = split( '-', $arg );188 $extarray = preg_split( '/-/', $arg ); 189 189 foreach ( $extarray as $k ) { 190 190 $ext[] = $k; 191 191 debug("Added extension $k to extension map", 3); … … 762 762 $device = $device['data']; 763 763 764 764 // a user can be logged into multipe devices, append the dial string for each 765 $device_array = split( '&', $device );765 $device_array = preg_split( '/&/', $device ); 766 766 foreach ($device_array as $adevice) { 767 767 if (trim($use_confirmation) == "FALSE") { 768 768 $dds = $agi->database_get('DEVICE',$adevice.'/dial');
