[Asterisk-Users] chan_h323 and extensions.conf
Truong
tphuong at wol.be
Tue May 27 08:57:06 MST 2003
Hi Michael,
Yes, it works better, as I wish with the voice menu. Thanks for tips
(actually, the tip is in the default sample but I didn't exploit it
correctly).
One question: is there a different in the syntax of OH323 between the 2
lines below (they are all working) ?
exten => 665,1,Dial(OH323/192.168.1.25)
and
exten => 665,1,Dial,OH323/192.168.1.25
Next step, I will make tests between GM20 (on 192.168.1.20) and Kphone
(SIP,192.168.1.25).
% *** On Tue, May 27, 2003 at 06:28 PM +0300, Michael Manousos <manousos at inaccessnetworks.com> wrote: ***
[..]
% >
% >I would like to have a voice menu to guide caller to choose one
% >extension ("665"). So I add the bloc at the end of extensions.conf (like
% >extensions.conf-oh323-invalid):
% >
% > [voip-h323]
% > exten => s,1,Goto,i|1
% > exten => t,1,Playback,demo-thanks
% > exten => t,2,Hangup
% > exten => i,1,Playback,pbx-invalid
% >
% > ;...
% >
% > ;--- [alias = 665]
% > exten => 65,3,Wait,2
% > exten => 65,4,Dial,OH323/192.168.1.20
% > exten => 65,5,Hangup
%
% Try this one:
%
% ;------------------- START -----------
%
% [voip-h323]
% ; From [demo] context
% exten => s,1,Wait,1 ; Wait a second, just for fun
% exten => s,2,Answer ; Answer the line
% exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds
% exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 seconds
% exten => s,5,BackGround,demo-congrats ; Play a congratulatory message
% ; While you hear the demo-congrats you may type an extension,
% ; e.g. 665 and you will jump to it.
%
% exten => 665,1,Dial(OH323/192.168.1.25)
%
% ;-------------------- END ---------------
%
--
Truong <tphuong at wol.be>
More information about the asterisk-users
mailing list