Im trying to write a small php script wich will connect to oracle DB and
get me some information.
Ive already have a script wich perfectly works with apache.
But I cant launch it from asterisk
I think its becouse i should have some global enviroments
ORACLE_BASE and others
I have [EMAIL PROTECTE
i dial on my phone to to 8091222
and convert it on asterisk to #00#7091222
But Cisco says 404
cisco peer=
!
dial-peer voice 22 pots
huntstop
preference 5
destination-pattern #00#..\*
translate-outgoing calling 1
direct-inward-dial
port 0:D
prefix 810
!
===
)
But I cant understand why CISCO cant understand this "MAGIC" # and * :)
I think you should set dial-peer voice 21 voip with incoming called number
#00#..\* too, this catch this call and the dial peer 22 send it.
Adam
Cytowanie Ivan Vershigora <[EMAIL PROTECTED]>:
i dial o
how to use #include to all files in /etc/asterisk/customdir ?
in v1.0.9
#include /etc/asterisk/customdir/*.conf
doesnt work
___
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http:
asterisk1*CLI> sip show users
UsernameSecret Accountcode Def.Context ACL NAT
205 testfrom-internal No No
204 testfrom-internal No No
203 testfrom-internal No No
202 020 from-internal No No
201