[Freeswitch-users] Bridging a call to an extension on another PBX.

2009-08-02 Thread Adam Wilt
Hello, I'm trying to conference-in a call from FreeSWITCH to an extension on another PBX using sip. According to the documentation, I think it should look like this: conference a...@default dial {sip_auth_username=myuser,sip_auth_password=mypassword}sofia/external/ 1...@1.2.3.4 where 1.2.

[Freeswitch-users] how to call mod_commands from within a lua script

2009-09-05 Thread Adam Wilt
Hi, the documentation says that mod_commands is available from within mod_lua. But when I try to access it like this: session:execute("uuid_broadcast",session_id .. " " .. filename .. " both") I get: Invalid Application uuid_broadcast or session:execute("bgapi","uuid_broadcast " .. sessi

Re: [Freeswitch-users] how to call mod_commands from within a lua script

2009-09-06 Thread Adam Wilt
Thank you Michael. Sorry I missed that page. On Sun, Sep 6, 2009 at 3:36 AM, Michael S Collins wrote: > > On Sep 5, 2009, at 8:25 PM, Adam Wilt wrote: > > > Hi, the documentation says that mod_commands is available from > > within mod_lua. But when I try t

[Freeswitch-users] Problem connecting to Spidermonkey ODBC

2009-10-17 Thread Adam Wilt
Hi, I know there are a lot of answered questions about this already, but I think I read all of the answers and I'm still stuck. * I'm using FreeSWITCH Version 1.0.trunk (14961). * I installed UnixODBC * My odbc.ini and odbcinst.ini files are in /usr/local/etc/ * I have symlinks to /usr/local/etc fr

Re: [Freeswitch-users] Problem connecting to Spidermonkey ODBC

2009-10-17 Thread Adam Wilt
n West wrote: > How are you using this from your javascript code? > > /b > > On Oct 17, 2009, at 7:13 PM, Adam Wilt wrote: > > > > > 2009-10-17 23:56:21.848930 [ERR] switch_odbc.c:188 STATE: IM002 CODE > > 0 ERROR: [unixODBC][Driver Manager]Data source name

Re: [Freeswitch-users] Problem connecting to Spidermonkey ODBC

2009-10-17 Thread Adam Wilt
So, where is FreeSWITCH looking for the odbc.ini file? I keep reading conflicting information, including /usr/local/freeswitch/etc/, /usr/local/etc, /usr/etc, /home/username/ On Sat, Oct 17, 2009 at 9:11 PM, Adam Wilt wrote: > Brian, > > Here's how I'm using the

Re: [Freeswitch-users] Problem connecting to Spidermonkey ODBC

2009-10-17 Thread Adam Wilt
Yes, I have FreeSWITCH running as root. So the odbc.ini file should be in /etc/ ? How do you set the default? On Sat, Oct 17, 2009 at 11:26 PM, Brian West wrote: > Its in /etc/ or where ever your default is.. is FS running as root? > > /b > > On Oct 17, 2009, at 10:16 PM,

Re: [Freeswitch-users] Problem connecting to Spidermonkey ODBC

2009-10-17 Thread Adam Wilt
Brian, Putting the odbc.ini and odbcinst.ini in /etc/ fixed the problem. Thanks. Thanks, Marc On Sat, Oct 17, 2009 at 11:26 PM, Brian West wrote: > Its in /etc/ or where ever your default is.. is FS running as root? > > /b > > On Oct 17, 2009, at 10:16 PM, Adam Wilt wrote: >

[Freeswitch-users] Phone lines ring busy after awhile

2008-12-22 Thread Adam Wilt
Hello. I have an installation of FreeSwitch runnnig, and I wrote a Python script to answer an inbound call and play an IVR. It works fine for awhile, but eventually it stops answering the phone line and the phone rings busy. When I look in the FreeSwitch logs I don't see anything unusual. But I d

Re: [Freeswitch-users] Phone lines ring busy after awhile

2008-12-22 Thread Adam Wilt
lists.freeswitch.org > Message-ID: ><87f2f3b90812221216i42cbaeedx52cee1863e686...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > what operating system and which revision of FreeSWITCH? > -MC > > On Mon, Dec 22, 2008 at 9:34 AM, Adam Wilt wrote: > >

[Freeswitch-users] onInputCallback unstable in Python

2008-12-27 Thread Adam Wilt
I'm using builds 10724 and 10914 to place an outbound call from the FreeSwitch console and use the onInputCallback functionality. My goal is to get mod_vmd working for me. When I run my script and press a touchtone to invoke the callback function, I get some unstable behavior; sometimes it works f

Re: [Freeswitch-users] onInputCallback unstable in Python

2008-12-29 Thread Adam Wilt
Should I add this to Jira? On Sat, Dec 27, 2008 at 9:15 PM, Adam Wilt wrote: > I'm using builds 10724 and 10914 to place an outbound call from the > FreeSwitch console and use the onInputCallback functionality. My goal is to > get mod_vmd working for me. > > When I run m

[Freeswitch-users] vmd /garbled messages

2009-01-08 Thread Adam Wilt
Hi, I have two issues I'd appreciate some help with. A) I'm testing VMD and I'm getting a success rate of well under 50%. I know part of the reason is that some of the voicemail beeps it's encountering are very short in length (I've noticed this for T-Mobile and Sprint voicemails, and there may be

Re: [Freeswitch-users] Freeswitch-users Digest, Vol 31, Issue 44

2009-01-09 Thread Adam Wilt
300 phone numbers, but I suspect a disproportionate number of these are cell phones. Among the calls not answered by a human (nobody pressed 1), about 60% of the calls failed to recognize a beep. My cell phone is T-Mobile, and it doesn't detect the beep for it. > On 1/8/09, Adam Wilt wrote:

[Freeswitch-users] monitoring events in Python

2009-02-13 Thread Adam Wilt
I'm trying to use custom events for a conference call in a Python script. I set-up the events in the conference.conf.xml file, and I send "bgapi event plain CUSTOM conference::maintenance" to enable them. But I don't know how to look for these events in my script. Does anybody have some example c

[Freeswitch-users] How to notify wireless phones about unread voicemails

2009-03-11 Thread Adam Wilt
Hi, I'm trying to use FreeSWITCH's mod_voicemail to replace the voicemail on wireless phones. Does anybody know how to make the wireless phone know there is a voicemail waiting, so it can notify the user?Thanks for the help! ___ Freeswitch-users mailing l

Re: [Freeswitch-users] How to notify wireless phones about unread voicemails

2009-03-12 Thread Adam Wilt
gt; To: > Message-ID: > > > > Content-Type: text/plain; charset="us-ascii" > > When you say wireless do you mean like Cellular Phone? > > > > From: Adam Wilt > Reply-To: > Date: Thu, 12 Mar 2009 01:02:46 -0400 > To: > Subject: [Freeswitch-users] H

[Freeswitch-users] Two or more simultaneous calls not working

2009-04-07 Thread Adam Wilt
Hello, I wrote an application using FreeSWITCH version 1.0.3, with mod_python and a 64 bit box on Red Hat. The app works fine when one person dials in, but when a second person dials in, the first call stops and waits until the second call is finished. It's really strange - if the first call is ri

Re: [Freeswitch-users] Two or more simultaneous calls not

2009-04-08 Thread Adam Wilt
Thanks for the response Traun. The version of Python is 2.4.3, and I didn't build it myself, I installed it with yum. The version of Red Hat is 4.1.2-41. "import threading" works fine, so I don't think it's a Python threading issue. The FreeSWITCH version I installed is the freeswitch-1.0.3.tar.g

Re: [Freeswitch-users] Two or more simultaneous calls not

2009-04-08 Thread Adam Wilt
Traun, thanks again for your help. I followed your advice and I made some progress! I tested with the latest trunk version and also with 1.0.2, and both exhibited the same behavior. I then tried writing a test script in Lua, and it worked fine. So this meant the problem was in the Python module (I

[Freeswitch-users] mod_voicemail accounts on-the-fly

2009-06-13 Thread Adam Wilt
Hi, I have a question about mod_voicemail. I would like to use it independently of the dialplan and I was hoping to be able to add new voicemail accounts on-the-fly, without having to update the FreeSWITCH configuration files. But it seems to be forcing me to manually add each user to the dialplan.

Re: [Freeswitch-users] mod_voicemail accounts on-the-fly

2009-06-13 Thread Adam Wilt
or them to have a mailbox anyway. > > /b > > On Jun 13, 2009, at 12:18 PM, Adam Wilt wrote: > > > Hi, I have a question about mod_voicemail. I would like to use it > > independently of the dialplan and I was hoping to be able to add new > > voicemail accounts on-the-f

Re: [Freeswitch-users] mod_voicemail accounts on-the-fly

2009-06-13 Thread Adam Wilt
Thanks. I would really like mod_voicemail to be database driven, instead of by XML and cURL. I noticed in the documentation that you can provide an ODBC handle in the voicemail.conf.xml file, and so I tried it with MySQL. It created the two tables, voicemail_msgs and voicemail_prefs properly, and

[Freeswitch-users] Version 1.0.4 not working with custom channel variables?

2009-06-26 Thread Adam Wilt
Hi, I recently tried upgrading FreeSWITCH from 1.0.2 to 1.0.4pre8 on my server, but the application I wrote uses custom channel variables which I create using "setVariable" in Python. In version 1.0.2, I am able to retrieve that variable within the event xml (it prepends the variable name with vari