[Freeswitch-users] mod_java CoreSession question
jonathan augenstine
jaugenstine at gmail.com
Wed Jan 16 13:58:44 PST 2008
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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080116/aa6163e9/attachment-0002.html
More information about the FreeSWITCH-users
mailing list