[Asterisk-Users] Astrisk + Cisco 5350

Rene Pavelko rene.pavelko at etel.sk
Tue Apr 19 00:53:53 MST 2005


Guys,

I have configured Astrisk , because until now I don't have any TDM card
in my box , I configured trunk between Astrisk and Cisco 5350 . So I am
sending all calls to Cisco 5350 , that is connected to TDM. 

Here is output from my extension_additional.conf

[ext-local]
exten => 1020,1,Macro(exten-vm,novm,1020)
exten => 2000,1,Macro(exten-vm,novm,2000)
exten => 2001,1,Macro(exten-vm,novm,2001)
exten => 2005,1,Macro(exten-vm,novm,2005)
exten => 2006,1,Macro(exten-vm,novm,2006)
exten => 2007,1,Macro(exten-vm,novm,2007)
exten => 2008,1,Macro(exten-vm,novm,2008)
exten => 5000,1,Macro(exten-vm,novm,5000)

[outbound-trunks]
;exten => _${DIAL_OUT_2}.,1,Macro(dialout,2,${EXTEN})
exten => _${DIAL_OUT_2}.,1,Macro(dialout,2,11963${EXTEN-1})


What I need is if  2000 extension is calling  , send this traffic to
5350 with prefix 1963
                      if  2001 extension is calling  , send this traffic
to 5350 with prefix 1964  atc.

Can somebody to help me.

Thanks

                 Rene 



More information about the asterisk-users mailing list