it may be audio being clipped from the dtmf. you could use the sleep app to but a small 500ms pause. session.execute("sleep", "500"); Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400 ----- Original Message ---- From: jonathan augenstine <jaugenstine@gmail.com> To: freeswitch-users@lists.freeswitch.org Sent: Wednesday, January 16, 2008 3:58:44 PM Subject: Re: [Freeswitch-users] mod_java CoreSession question 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 ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping