[Asterisk-java-users] OriginateAction - no dialtone
Brought to you by:
srt
From: Henrik B. <hen...@fr...> - 2007-05-31 15:11:51
|
Hi, I'm trying to establish a call using OriginateAction with Asterisk 1.4.4 and asterisk-java svn HEAD. Everything works fine so far, despite of the generation of ring-tones: The calling party's phone rings, I pick up but I can't hear any ring-tones while the called phone is ringing. This is quite annoying as you can imagine. I tried to add the "r"-option to my dial-command - no change. I also tried to use the Local channel as well as the SIP channel the phone is connected to - no change. I'm not sure if its an asterisk-java problem or more an asterisk problem, but perhaps someone can help... This is the way I establish the call: originateAction = new OriginateAction(); originateAction.setChannel("Local/4315@default); //originateAction.setChannel("SIP/test); originateAction.setExten("4316"); originateAction.setContext("default"); originateAction.setPriority(1); originateAction.setCallerId("Test <4315>); originateAction.setAsync(true); originateResponse = managerConnection.sendAction(originateAction, 10000); When connecting to the asterisk-server asterisk-java reports that it has determined an asterisk with version 1.2 (should be 1.4.4) - is there perhaps a deeper problem? thank you for your help Henrik |