Re: [Asterisk-java-users] Originating calls for automatic messaging
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2006-09-29 11:11:36
|
Did you try it the other way round, i.e. originateToExtension("Local/dest_no@dialout","dialing","0",1,25000); This would call dest_no and when answered connect to your extension. =3DStefan Carlos G Mendioroz wrote: > Hi, > I'm new to the manager interface, and I'm stumbling on how to do > something that I thought was going to be much easier :( >=20 > I've to dial a list of numbers and pass a message on connecting. > I have to audit # of calls, connetions and failures. >=20 > After some thinking, I was thinking about "originatingToExtension" > from a "virtual" channel and on answering, redirecting that to > the extension which is head of the message/service. >=20 > Like: > <extensions.conf> > ... > [dialing] > exten =3D> 0,1,Answer > exten =3D> 0,n,Wait,60 >=20 > and > originateToExtension("Local/0@dialing","dialout","<dest_no>",1,25000); >=20 > But this is not behaving as I expected. It returns before the call is > connected, failures are not correctly typed, etc. >=20 > What is the right way (or a working one) of doing this ? >=20 > -Carlos --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... |