Re: [Asterisk-java-users] external callers and access to AGI Scripts
Brought to you by:
srt
From: CHUCK S. <CSY...@DU...> - 2007-07-13 13:41:47
|
You are my hero. =20 The problem was Perhaps you mean:=20 originateAction.setContext("from-internal-trixbox"); the default was left over from a sample script I was working off of. =20 Thank you so much! >>> ma...@be... 07/13/07 08:35AM >>> 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=20= 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...=20 Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221=20 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/=20 _______________________________________________ Asterisk-java-users mailing list Ast...@li...=20 https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |