Damjan, I am trying to call originate from within mod_java. The first argument is a handle to CoreSession. I have been unable to get a handle to CoreSession. Can you tell me how that is accomplished? Thank you. Best Regards, Jonathan
X-ECN Telecoms-MailScanner-Information: Contact ECN Telecoms X-ECN Telecoms-MailScanner: Found to be clean X-ECN Telecoms-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-102.578, required 6, autolearn=not spam, AWL 0.02, BAYES_00 -2.60, NO_RELAYS -0.00, USER_IN_WHITELIST -100.00) X-ECN Telecoms-MailScanner-From: damjan@ecntelecoms.com X-Spam-Status: No
Damjan, I am trying to call originate from within mod_java. The first argument is a handle to CoreSession. I have been unable to get a handle to CoreSession. Can you tell me how that is accomplished? Thank you.
You are not supposed to use CoreSession directly. Use JavaSession, which is its subclass. You construct a JavaSession by passing the UUID of the session to the constructor.
Best Regards, Jonathan
Good luck Damjan
Damjan, Thank for the help. I was able to get my app running. I have run into an issue I have mentioned previously on the list but did not get a response from anyone. The behavior is this: an incoming call is detected, a prompt is played (streamFile), a database query is made, if the reply from the database is a null field for a destination phone number, another prompt is played (streamFile) and then digits are collected (getDigits). The digits collected are then dialed and the incoming/outgoing calls are bridged. The odd behavior I am encountering is that the second prompt plays but clips off the first 1 second of audio. I have checked the file and it is fine. Any idea on what the issue my be and what I can do to fix it? Thank you for your help. Best Regards, Jonathan On Jan 14, 2008 12:18 AM, <damjan@ecntelecoms.com> wrote:
X-ECN Telecoms-MailScanner-Information: Contact ECN Telecoms X-ECN Telecoms-MailScanner: Found to be clean X-ECN Telecoms-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-102.578, required 6, autolearn=not spam, AWL 0.02, BAYES_00 -2.60, NO_RELAYS -0.00, USER_IN_WHITELIST -100.00) X-ECN Telecoms-MailScanner-From: damjan@ecntelecoms.com X-Spam-Status: No
Damjan, I am trying to call originate from within mod_java. The first argument is a handle to CoreSession. I have been unable to get a handle to CoreSession. Can you tell me how that is accomplished? Thank you.
You are not supposed to use CoreSession directly. Use JavaSession, which is its subclass. You construct a JavaSession by passing the UUID of the session to the constructor.
Best Regards, Jonathan
Good luck Damjan
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
damjan@ecntelecoms.com
-
jonathan augenstine