|
|
|
@ -10,7 +10,7 @@ $host ||= '127.0.0.1'; |
|
|
|
|
$port ||= '5038'; |
|
|
|
|
$user ||= 'callback'; |
|
|
|
|
$secret ||= 'secret'; |
|
|
|
|
$cid ||= ''; |
|
|
|
|
$defaultcid ||= ''; |
|
|
|
|
$webhost ||= ''; |
|
|
|
|
|
|
|
|
|
my $q = new CGI; |
|
|
|
@ -73,7 +73,8 @@ print $q->header, |
|
|
|
|
if ($q->param()) { |
|
|
|
|
my $nback = $q->param('nback') || $ENV{'HTTP_USER_EXTENSION'}; |
|
|
|
|
my $ndest = $q->param('ndest'); |
|
|
|
|
my $cid = $q->param('cid') || $cid; |
|
|
|
|
my $cid = $q->param('cid') || $ENV{'HTTP_USER_TELEPHONE'}; |
|
|
|
|
$cid = $defaultcid if ($cid eq ''); |
|
|
|
|
|
|
|
|
|
$nback =~ s/[\s\(\)\.<>]//g; |
|
|
|
|
$ndest =~ s/[\s\(\)\.<>]//g; |
|
|
|
|