On Sun, 2007-10-21 at 17:22 +0200, Vincent wrote:
> ;here, rewrite CID name by looking up CID # in database
> ;put CID name + number in variables
> ;exten => _[1-4],n,SetVar(cid=${callerid})
> ;send e-mail with CID name + number and link to WAV file to people in
> charge of selected software 

Instead of ${callerid} here (which probably isn't working for you
anyway), you probably want to use the CALLERID dialplan function to
retrieve the CallerID number, like this:

exten => _[1-4],n,Set(cid=${CALLERID(num)})


-- 
Jared Smith
Community Relations Manager
Digium, Inc.


_______________________________________________
--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