Displaying 1 result from an estimated 1 matches for "ext204".
Did you mean:
ext203
2007 May 28
1
[1.2.18] Wrong steps in extensions.conf?
...the
original CID name instead of the one that is we expect to be rewritten on
the fly using Asterisk's LookupCIDName:
=================
;extensions.conf
[internal]
exten => group,1,LookupCIDName
exten => group,n,AGI(web.agi|${CALLERID(num)}|${CALLERID(name)})
exten => group,n,Dial(${EXT204})
=========
;/var/lib/asterisk/agi-bin/web.agi
#!/usr/bin/perl
#use LWP::Simple;
use URI::Escape;
use LWP 5.64;
open STDOUT, '>/dev/null';
#Causes double entry?
fork and exit;
my $cidnum = $ARGV[0];
my $cidname = $ARGV[1];
$safe_cidname = uri_escape($cidname);
my $browser = LWP::Use...