Displaying 2 results from an estimated 2 matches for "getcid".
Did you mean:
get_id
2005 Jul 08
1
Serial port DTMF Caller-ID reciever /w scripts for X100P/X101P/Clones....
...LLERID variable.
get_cid.pl should be but in asterisk agi-bin directory, and the
following modifications should
be implemented in extensions.conf:
[from-pstn-reghours]
exten => s,1,GotoIf($[${FAX_RX} =
disabled]?from-pstn-reghours-nofax,s,1:2)
exten => s,2,Answer
exten => s,3,agi,getcid.pl
;exten => s,3,Wait(1)
[from-pstn-afthours]
exten => s,1,GotoIf($[${FAX_RX} =
disabled]?from-pstn-afthours-nofax,s,1:2)
exten => s,2,Answer
exten => s,3,agi,getcid.pl
;exten=> s,3,Wait(1)
All plans and scripts are available under GPL license here:
http://www.area51.org.il/~za...
2011 Jan 07
1
AGI->Macro w/Agruments
...ive.com/asterisk-users at lists.digium.com/msg85048.html
I have tried this, but it doesn't work.
$AGI->set_variable('DAILNO', $BranchPhone);
$AGI->exec("Macro","agidial");
And my macro:
[macro-agidial]
exten => s,1,AGI(getcid.pl,${CALLERID(NUM)},1)
exten => s,2,NoOp(DIALNO=${DIALNO})
exten => s,3,Dial(SIP/${DIALNO}@SIPPROVIDER,60)
exten => s,4,GotoIf($["${DIALSTATUS}" = "CONGESTION"]?10)
exten => s,6,Hangup()
exten => s,10,Dial(IAX2/SERVER2/${DIALNO})
exten => s,12,Hangup()...