[asterisk-users] SET EXTENSION
Nitesh Divecha
nitesh at vipernetworks.com
Tue Aug 21 13:15:56 CDT 2007
Hello All,
How can I SET EXTENSION from context?
This is my context: -
[docall-usa]
exten => _NXXNXXXXXX,1,Answer
exten => _NXXNXXXXXX,n,Set() ; <<What do I need to set here>>
exten => _NXXNXXXXXX,n,DeadAGI(dousacall.php|1)
exten => _NXXNXXXXXX,n,Hangup
I need to add 1 in front of ${EXTEN} and then send the call to dousa.php.
Set(CALLERID(number)=1${EXTEN}) will set the callerID to that
extension... But I want to add '1' to my extension.
Can anyone please put some light... what I am missing here...
Cheers,
Nitesh
More information about the asterisk-users
mailing list