Alexander Bergolth
2007-Oct-16 16:30 UTC
[asterisk-users] add prefix to extensions called from zap channels
Hi! Is there a way to add a prefix to all called numbers that are coming in from zap-channels? I know that the "*prefix" options in zapata.conf will do this job for the caller-id but I need it for the callee-number. Right now, I'm using the following hack (in ael-Syntax) to add "99" to the called number before entering the default context, but I'd like to get rid of that... -------------------- 8< -------------------- context from-zap { _. => { goto default|99${EXTEN}|1; } } -------------------- 8< -------------------- Any hints? Cheers, --leo -- e-mail ::: Alexander.Bergolth (at) wu-wien.ac.at fax ::: +43-1-31336-906050 location ::: Computer Center | Vienna University of Economics | Austria
Apparently Analagous Threads
- permissions of newly created mailboxes only with dovecot-lda and posix acls
- custom mail_location detection for dovecot lda
- Sieve: carry global variables from sieve_before to user sieve scripts
- performance problem with 3.2.8: unbuffered reads for some users
- shared mailboxes using namespaces in 1.2