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



_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to