Re: [Asterisk-java-users] Originating calls for automatic messaging
Brought to you by:
srt
From: Carlos G M. <tr...@ac...> - 2006-09-29 14:53:32
|
Yes, and it sort of works, but I don't get access to the failure conditions. (i.e. Busy becomes channel unavailable) :( Hmm, I thought it was going to be an easy one ... -Carlos Stefan Reuter @ 29/09/2006 08:11 -0300 dixit: > 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. > > =Stefan > > 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 :( >> >> I've to dial a list of numbers and pass a message on connecting. >> I have to audit # of calls, connetions and failures. >> >> 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. >> >> Like: >> <extensions.conf> >> ... >> [dialing] >> exten => 0,1,Answer >> exten => 0,n,Wait,60 >> >> and >> originateToExtension("Local/0@dialing","dialout","<dest_no>",1,25000); >> >> But this is not behaving as I expected. It returns before the call is >> connected, failures are not correctly typed, etc. >> >> What is the right way (or a working one) of doing this ? >> >> -Carlos > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users -- Carlos G Mendioroz <tr...@ac...> |