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


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