[asterisk-dev] [asterisk-users] DIAL and automatic/manual co line acces

Kai Ober kast.asterisk at gmx.de
Thu Sep 14 02:39:40 MST 2006


Hi list,

I've got following Problem:

i have severel phones on my asterisk. and externel lines connected (POTS 
sip, does not matter)

a externel caller A  (CID(num)=0815)  calls me ( 4711) .
4711 can be distributet to severel internal extensions for example 23 
and 42.

23 is on ZAP/1 and 42 is on ZAP/2

23 has manual co line acces (does not relly matter how this is 
realized). (i.e. He has to dial a 0 befor he can dial  an extenal 
destination number)
42 has automatic co line acces (no zero in front)

if  neither 23 or 42 heared the call (out of office. bla) and want to 
recall the caller by  pushing the redial button on his/her phone, the 
number
has to have a leading 0 at extension 23 and none at extension 42.

i could alter the CALLERID(num) to 04711 and then do a DIAL(ZAP/1),  
when there is only one internal destionation,
but as i have two internal destionations,  DIAL(ZAP/1&ZAP/2)  both would 
get the 0 for manual co line access.
but 42 does not need a leading 0.

any other suggestions than rewriting app_DIAL?

Thanks for your answers, says
Kai Ober






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


More information about the asterisk-dev mailing list