Displaying 3 results from an estimated 3 matches for "orig_exten".
2004 Apr 30
1
Timeout Gives T in cdr.
Hi,
If I do this in extensions.conf
exten => 411,1,Dial(IAX2/hhandresen@iaxtel/18005558355@iaxtel,40,rS(10))
the line is cut of in 10 sec., thats fine, but in CDR I got dst as T, and
not 411.
How can I handle this so I still get kicked of after 10 sec., but get 411
as dst in my cdr ?
--
mvh. Hans-Henrik Andresen
2004 May 24
1
CDR destination when user presses '#'
If '#' is pressed during a call the CDR that is written at the end of
the call contains '#' in the dst / destination field rather than the
number that was originally called. How do I avoid losing that original
number so that I can use the CDR for billing?
I've tried not having a '#' target in extensions.conf and I've tried
calling ResetCDR(w) in the
2007 May 16
0
AGI "record_file" issue... bug?
...$AGI->exec('AGI',"festival.pl|\"O k\"");
$AGI->stream_file('/tmp/test_audio','#');
$AGI->exec('AGI',"festival.pl|\"Done.\"");
And it is called like this:
[incoming]
exten => _XX.,1,Set(__ORIG_EXTEN=${EXTEN})
exten => _XX.,n,Goto(RealEstate,s,1)
[RealEstate]
exten => s,1,Set(TIMEOUT(digit)=2)
exten => s,n,AGI(/etc/asterisk/agi/rephone.agi,${ORIG_EXTEN})
exten => s,n,Hangup()
---------------
Then it works, to the extent that I hear the festival messages, and it waits
5 seconds d...