Re: [Asterisk-java-users] external callers and access to AGI Scripts
Brought to you by:
srt
From: Martin S. <ma...@be...> - 2007-07-13 13:35:11
|
Hi Chuck, Before I reply, you should check out the Asterisk-Java live API -- it will handle a lot of the things you probably want to implement in your application, such as channel history and events. Moving on... > I am having a problem, I am using trixbox to send make a=20 > batch of calls. I am using a ManagerConnection to make calls=20 > to external numbers, then connect them to an AGI script that=20 > lives at extension "111". The problem is, if I attempt to=20 > call an internal number and transfer it to the 111 everything=20 > works fine, but if I call an external number, the line rings=20 > but then gets dropped. This may not be a problem related=20 > with the asterisk-java package, if it isn't can anyone point=20 > me is the right direction to allow the calls to connect to=20 > the agi script. Is SIP/t/1630xxxxxxxxx your external number? I don't use SIP to route calls externally, as we have PRIs, but that SIP identifier you're using looks strange to me. With the same thing you are doing, I've had success with originates that take Zap channels to an AGI script. I looked up http://www.voip-info.org/tiki-index.php?page=3DAsterisk%20SIP%20Channels to check if "SIP/t/..." was really valid, and that documention doesn't really show that syntax anywhere, though I know sometimes voip-info's wiki can be old. Also, I noticed: originateAction.setContext("default"); Perhaps you mean:=20 originateAction.setContext("from-internal-trixbox"); Since you said: > The agi script is in the context "[from-internal-trixbox]" The setContext docs: "Sets the name of the context of the extension to connect to." Take care, Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221=20 |