Show
Ignore:
Timestamp:
02/22/11 10:23:16 (2 years ago)
Author:
p_lindheimer
Message:

pleae try this without the bootstrap code, the args should be passed in from the dialplan re #4840

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.9/callback/bin/callback

    r11373 r11541  
    3333<?php 
    3434 
    35 if ($args != 8) { 
     35if ($argc != 8) { 
    3636  cb_fatal("Wrong number of arguments, should be:\n".$argv[0]." callback_number callback_destination delay_seconds AMPWEBROOT ASTETCDIR AMPMGRUSER AMPMGRPASS\n"); 
    3737} 
    38 echo "args: $argc\n"; 
    3938 
    4039$callback_number = $argv[1]; 
     
    8483  exit(1); 
    8584} 
    86  
    8785?>