Hello, <br><br>I'm currently developing a simple asterisk application using SFS (Skype For<br>SIP) which tries to call to an outbound number, play a message and read DMTF <br>digits. My first approach used the Manager to originate calls and then called an <br>
agi script to deal with the rest. Anyway, this ended up being not so clear <br>because the call did not start on the Originate extension that it was supposed <br>to. Instead it would go to the Skype ID number extension.<br>
<br>For example, if I originate a call with the code below, it will go first to the <br>9051000XXXXXX extension and then to 1. Is it possible to use the CONSOLE<br>(somehow like console dial number) channel to originate calls? This might be <br>
a solution.<br><br>action.setChannel("SIP/99051000XXXXXX");<br>action.setCallerId("99051000XXXXXX");<br>action.setContext("autodialer");<br>action.setExten("1");<br>action.setPriority(new Integer(1));<br>
action.setVariable("numero", "5555555");<br><br>Then, I figured I could place the calls from within an AGI script. Obviously, I <br>got stuck again. Now, when I execute the application Dial, the script<br>
pauses until the called party hangs up. This behavior is expected but I'd <br>like to know if there's any way to continue the execution of the script so I <br>can play the message and read the digits. I tried to create multiple threads <br>
to see if I could continue with the script even after the dial, but it would not <br>run the second thread until the call ended. Any help on this subject is <br>welcome.<br><br>Kindly,<br>Felipe KUrkowski<br><br>