[EMAIL PROTECTED] wrote:
Hi,

I'm using traditional phones behing a Linksys PAP2 adapter ...

I'd like to set the outbound caller ID ... based on the number dialed by my 
agent ... like ... If I dial one number with area code 781 and I have one DID 
with the same area code ... I'd like to set the caller ID to this number ... I 
tried already with a Macro but I didn't manage to retrieve a value from the 
Macro ...


exten => _781NXXXXXX,1,Set(CALLERID(num)=7815551212)
exten => _781NXXXXXX,n,Dial(....

exten => _NXXNXXXXXX,1,Set(CALLERID(num)=1235541313)
exten => _NXXNXXXXXX,n,Dial(....
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to