Re: [Freeswitch-users] FreeSWITCH 1.0.4 windows installer - great but I have a little problem

2009-08-25 Thread Darren Schreiber
Hi there...

So a few things on this.

1) We have a module that's still being worked on called Sip Interface that 
allows you to configure Sip Profiles in FreeSWITCH. Unfortunately we don't have 
the ability to easily import your existing SIP profiles, and by NOT displaying 
them in the UI your stock config conflicts with those profiles. In other words, 
internal.xml and external.xml define sip profiles on ports 5060 and 5080 that 
the GUI is unaware. So to simplify things, we just delete those files and 
expect you to recreate them via the UI on install. We'll probably make this a 
little more obvious in the near future, but for now, that's what we do.

2) The trunk creation system in the ISO does give the impression that trunk 
groups  trunks are for external. This is a design flaw I have already fixed in 
trunk (referenced above). We have now split this module into two modules - one 
for configuring Sip Interface/Sip Profiles (which are for defining your IPs  
ports to use for sending/receiving calls and authentication settings) and the 
other for defining gateways ('trunks) which are generally used for making 
outbound calls.

So in other words, we're aware of the issues you are detailing. We will be 
finalizing the fix for this issue hopefully on Sunday and will rebuild the ISO 
by Monday.

Hope that helps.

- Darren





From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Carlos 
Talbot
Sent: Tuesday, August 25, 2009 12:02 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] FreeSWITCH 1.0.4 windows installer - great but 
I have a little problem


This would be a question for Darren and the FreePBX group. :) I guess it does 
not help that the User Documentation link on this page is currently empty: 
http://www.freepbx.org/v3/wiki/

If you note the message during FreePBX initialization *all* files in the 
sip_profiles directory are removed (including internal*.xml). This causes 
'sofia status' to come back empty.


Incompatible Configuration
WARNING: THE FOLLOWING FILES WILL BE DELETED!


 *   D:/FreeSWITCH/conf/sip_profiles/external.xml
 *   D:/FreeSWITCH/conf/sip_profiles/internal-ipv6.xml
 *   D:/FreeSWITCH/conf/sip_profiles/internal.xml



regards,

Carlos

On Tue, Aug 25, 2009 at 1:28 PM, Giovanni Maruzzelli 
gmar...@celliax.orgmailto:gmar...@celliax.org wrote:

From the front page of FPBX is not clear you *must* create a trunk/trunk group.

I was thinking trunks were for outgoing calls, or for receiving from external.

I was just testing internal phones, trying an IVR, so I was thinking
trunks were not needed.

Can you explain to me?


Thanks again,

-giovanni

Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618




On Tue, Aug 25, 2009 at 8:06 PM, Carlos 
Talbotcarlos.tal...@gmail.commailto:carlos.tal...@gmail.com wrote:
 Giovanni,
 you mean like this message?
 Unable to determine location for device. Voicemail password set via FreePBX
 will not be valid.
 This is a known FreePBX issue. http://www.freepbx.org/v3/ticket/36
 Let's keep in ming FreePBX v3 is a developer release and as such many
 features are in flux and might not work. That being said there some features
 in the Windows build that still do not work. The biggest one right now is
 the lack of the php ESL library for Windows which affects the voicemail app.
 I'm trying to get this to compile but it's been difficult.
 I do include the .svn files with the FreePBX install so you can freely
 install TortoiseSVN and update FreePBX at your leisure.
 With regards to the sip_profiles, did you create a trunk group and trunk?
 regards,
 Carlos

 On Mon, Aug 24, 2009 at 9:56 PM, Giovanni Maruzzelli 
 gmar...@celliax.orgmailto:gmar...@celliax.org
 wrote:

 Windows installer does not work for me.

 I've reinstalled various times, same results.

 I can correctly create a number, but when I try to create a device for
 that number, it tells me that cannot locate the device, and the
 password for vicemail will be invalid.

 After that, it begins to give the php error page, it cannot find the
 start  tag in directory/default.xml

 Also for me there are no sofia profiles...

 So, I cannot start to test it (eg: I would like to add mod_skypiax
 support to it).


 Sincerely,

 Giovanni Maruzzelli
 Cell : +39-347-2665618




 On Tue, Aug 25, 2009 at 12:06 AM, Raffaele P.
 Guidiraffaele.p.gu...@gmail.commailto:raffaele.p.gu...@gmail.com wrote:
  This is what I was asking! :D When the installer finished it started the
  whole thing and everything got loaded fine, but when I restarted my
  system
  it didn't (and did not anymore). Well, I will try to install everything
  from
  scratch again and see...
 
  On Mon, Aug 24, 2009 at 20:30, Brian West 
  br...@freeswitch.orgmailto:br...@freeswitch.org wrote:
 
  If you installed FreePBX then it would be that softwares job to manage
  the sofia profiles... wouldn't it?
 
  /b
 
  On Aug 

Re: [Freeswitch-users] Nibblebill and multiple gateway

2009-06-26 Thread Darren Schreiber
I can add a field to allow you to adjust the heartbeat on either channel if
that's necessary. Right now you are right, it's using the global setting
always.

Is this important? 

-Original Message-
From: Dome Charoenyost [mailto:d...@tel.co.th] 
Sent: Thursday, June 25, 2009 7:39 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway

2009/6/26 Michael Jerris m...@jerris.com:
 I said to just add the set import=nibble_rate, your re-setting it for 
 no reason (and getting rid of the change that should have helped) by 
 your import=nibble_account line
I test it agin.
import work.  nibble can see nibble_rate , nibble_account in channel but  i
can't  change nibble heratbeat  so nibble use default heartbeat.


Dome C.

 Mike
 On Jun 25, 2009, at 2:04 PM, Dome Charoenyost wrote:

 Just test.
 i use javascript

    session.execute(set, import=nibble_rate);
    session.execute(set, import=nibble_account);
    session.execute(bridge,
 {absolute_codec_string='GSM,G729'}[nibble_rate=0.5,nibble_account=083
 8833133]sofia/external/x...@.xxx.xxx.xx);

 when call connected nibble do nothing  i found heartbeat

 mod_callbackbill.c:550 Received request via SESSION_HEARTBEAT!
 when call disconnect nibble update amont.
 mod_nibblebill.c:478 Billing 16 secs

 I think nibble still not found variable channel.

 Let's me share more information

 I want to use nibblebill for callingcard. (i have develop billing by 
 myself). i plan to use javascript connect to ODBC when customer call 
 my script query balance and say.
 and then i loop for get destination (my customer want to dial many
number).
 when i got number my script query
 gateway from DB.  i have 3 route and order by cost.
 First plan i use
 session.execute(bridge,
 [nibble_rate=0.5,nibble_account=xxx,provider_id=1]sofia/external/
 @provder1|[nibble_rate=0.5,nibble_account=xxx,provider_id=2]sofia/exte
 rnal/x...@provder2); i modify nibblebill for match provider with my 
 billing.
 this case still fail.

 now i try

     if
 (session.ready()){
     s = new
 Session({absolute_codec_string='GSM,G729'}sofia/external/x...@provider1

 }
     if
 (s.ready()){
     session.execute(set,
 nibble_rate=2.5);
     session.execute(set,
 nibble_account=+acaller);
     session.execute(set,
 hangup_after_bridge=false);
     session.execute(set,
 provider_id=+dialprovider_id[1]);

 bridge(session,s);
     }

 and check hangup cause before try other provider.



 Please guide me it's right way or not ?


 Dome C.


 2009/6/26 Darren Schreiber d...@d-man.org

 Did this work? Would love an update on this error/issue.
 
 From: Michael Jerris [mailto:m...@jerris.com]
 Sent: Wednesday, June 24, 2009 8:15 AM
 To: freeswitch-users@lists.freeswitch.org
 Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway

 try adding
 action application=set data=import=nibble_rate/ before the 
 bridge and report back results.
 Mike
 On Jun 24, 2009, at 1:36 AM, Dome Charoenyost wrote:

 Dear All,

 Look like nibblebill does't work with multiple gatreway.
 I try
     action application=set
 data=nibble_account=0838833133/
     action application=bridge
 data={absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/extern
 al/6626734...@203.xxx.xxx.xxx|[nibble_rate=0.5]sofia/external/6626734
 0...@202.xxx.xxx.xxx

 nibblebill not found nibble_rate

 But
     action application=set data=nibble_rate=0.05/
     action application=set
 data=nibble_account=0838833133/
     action application=bridge
 data={absolute_codec_string='GSM,G729'}sofia/external/6626734...@203
 .xxx.xxx.xxx|sofia/external/6626734...@202.xxx.xxx.xxx

 Work fine

 What's difference from set application and []  ?

 Best Regards.
 Dome C.
 ___
 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-us
 ers
 http://www.freeswitch.org


 ___
 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-us
 ers
 http://www.freeswitch.org


 ___
 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-use
 rs
 http://www.freeswitch.org


 ___
 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-use
 rs
 http://www.freeswitch.org

Re: [Freeswitch-users] How to change database of freeswitch cdr to MySQL?

2009-06-25 Thread Darren Schreiber
Is it possible to unsusbcribe from specific threads on this list?

Specifically I am looking for C code that removes useless banter so my brain
doesn't hurt so much...


-Original Message-
From: paul.degt [mailto:paul.d...@gmail.com] 
Sent: Thursday, June 25, 2009 10:24 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] How to change database of freeswitch cdr to
MySQL?

FS users may well be benefiting - thus FS itself benefits as well
indirectly.

Raymond Chandler wrote:
 On 06/25/2009 01:04 PM, paul.degt wrote:
   
 I will have to ask my boss about that, most probably he will ask same 
 in

 

 That doesn't really make sense... FreeSWITCH isn't using or 
 benefitting from your software... but yours is from FreeSWITCH

 -Ray

 ___
 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-use
 rs
 http://www.freeswitch.org

   


___
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


___
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


Re: [Freeswitch-users] Nibblebill and multiple gateway

2009-06-25 Thread Darren Schreiber
Did this work? Would love an update on this error/issue.

  _  

From: Michael Jerris [mailto:m...@jerris.com] 
Sent: Wednesday, June 24, 2009 8:15 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway


try adding  
action application=set data=import=nibble_rate/
before the bridge and report back results.


Mike


On Jun 24, 2009, at 1:36 AM, Dome Charoenyost wrote:


Dear All,

Look like nibblebill does't work with multiple gatreway.
I try 
action application=set data=nibble_account=0838833133/

action application=bridge
data={absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/external/6626
734...@203.xxx.xxx.xxx|[nibble_rate=0.5]sofia/external/6626734...@202.xxx.xx
x.xxx

nibblebill not found nibble_rate

But 
action application=set data=nibble_rate=0.05/  
action application=set data=nibble_account=0838833133/

action application=bridge
data={absolute_codec_string='GSM,G729'}sofia/external/6626734...@203.xxx.xx
x.xxx|sofia/external/6626734...@202.xxx.xxx.xxx
  
Work fine

What's difference from set application and []  ?

Best Regards.
Dome C.
___
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



___
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


Re: [Freeswitch-users] Nibblebill and multiple gateway

2009-06-24 Thread Darren Schreiber
Shouldn't you be using {} not [] ?

  _  

From: Dome Charoenyost [mailto:d...@tel.co.th] 
Sent: Tuesday, June 23, 2009 10:36 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Nibblebill and multiple gateway


Dear All,

Look like nibblebill does't work with multiple gatreway.
I try 
action application=set data=nibble_account=0838833133/

action application=bridge
data={absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/external/6626
734...@203.xxx.xxx.xxx|[nibble_rate=0.5]sofia/external/6626734...@202.xxx.xx
x.xxx

nibblebill not found nibble_rate

But 
action application=set data=nibble_rate=0.05/  
action application=set data=nibble_account=0838833133/

action application=bridge
data={absolute_codec_string='GSM,G729'}sofia/external/6626734...@203.xxx.xx
x.xxx|sofia/external/6626734...@202.xxx.xxx.xxx
  
Work fine

What's difference from set application and []  ?

Best Regards.
Dome C.

___
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


[Freeswitch-users] Question about bridging calls to a specific URI via a specific profile

2009-06-22 Thread Darren Schreiber
Hello,
I was wondering, I am bridging a call to a specific URI as follows:
 
action application=bridge
data=sofia/internal/3032223...@3.55.66.180;fs_nat=yes;fs_path=sip%3As%403.5
5.66.180%3A7812
EXECUTE sofia/internal/+1720946@
mailto:sofia/internal/+17209460...@2.3.4.5 2.3.4.5
bridge(sofia/internal/3032223...@3.55.66.180;fs_nat=yes;fs_path=sip%3As%403.
55.66.180%3A7812)

2009-06-22 00:16:15.722872 [WARNING] mod_sofia.c:2687 Cannot locate
registered user
3032223...@3.55.66.180;fs_nat=yes;fs_path=...@3as%403.55.66.180%3a7812

 

The fs_nat and fs_path info and domain are coming from a previous dialplan
app that looked up a user's registered info via sofia_contact. I am
replacing the registered user's SIP username with the DID being called
(3032223232 in this case)

My understanding of bridging a call is that if I specify
sofia/profile/u...@domain that FS will use the specified SIP profile to try
and connect a call to the u...@domain specified. Since the full u...@domain
was specified, there is no reason to lookup the registered user - the call
will just be delivered as a sip call to sip:x...@domain .

However, adding fs_nat=yes;fs_path=XXX seems to cause FS to look in the user
directory for a matching user. Why is this? Maybe I could use a better
understanding of how fs_nat and fs_path work, but I couldn't find much on
the Wiki about them. Does appending them automatically cause FS to look for
the user being contacted in the directory, as opposed to just using the
fs_path variable? Is this behavior from fs_nat alone?

 

Any explanation would be helpful.

Thanks,
Darren Schreiber

 

___
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


Re: [Freeswitch-users] Question about bridging calls to a specific URIvia a specific profile

2009-06-22 Thread Darren Schreiber
Ignore this thread. Apparently I was stripping sip: from the prefix. I guess
you have to specify sip: before utilizing fs_nat and fs_path variables.
 
My bad.
 

  _  

From: Darren Schreiber [mailto:d...@d-man.org] 
Sent: Monday, June 22, 2009 12:32 AM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Question about bridging calls to a specific
URIvia a specific profile


Hello,
I was wondering, I am bridging a call to a specific URI as follows:
 
action application=bridge
data=sofia/internal/3032223...@3.55.66.180;fs_nat=yes;fs_path=sip%3As%403.5
5.66.180%3A7812
EXECUTE sofia/internal/+1720946@
mailto:sofia/internal/+17209460...@2.3.4.5 2.3.4.5
bridge(sofia/internal/3032223...@3.55.66.180;fs_nat=yes;fs_path=sip%3As%403.
55.66.180%3A7812)

2009-06-22 00:16:15.722872 [WARNING] mod_sofia.c:2687 Cannot locate
registered user
3032223...@3.55.66.180;fs_nat=yes;fs_path=...@3as%403.55.66.180%3a7812

 

The fs_nat and fs_path info and domain are coming from a previous dialplan
app that looked up a user's registered info via sofia_contact. I am
replacing the registered user's SIP username with the DID being called
(3032223232 in this case)

My understanding of bridging a call is that if I specify
sofia/profile/u...@domain that FS will use the specified SIP profile to try
and connect a call to the u...@domain specified. Since the full u...@domain
was specified, there is no reason to lookup the registered user - the call
will just be delivered as a sip call to sip:x...@domain .

However, adding fs_nat=yes;fs_path=XXX seems to cause FS to look in the user
directory for a matching user. Why is this? Maybe I could use a better
understanding of how fs_nat and fs_path work, but I couldn't find much on
the Wiki about them. Does appending them automatically cause FS to look for
the user being contacted in the directory, as opposed to just using the
fs_path variable? Is this behavior from fs_nat alone?

 

Any explanation would be helpful.

Thanks,
Darren Schreiber

 

___
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


[Freeswitch-users] If you use mod_nibblebill, please upgrade to rev 13866

2009-06-20 Thread Darren Schreiber
Hello folks,
An important stability issue was identified in the FreeSWITCH core ODBC
drivers when utilizing decimal / float columns in databases (at least MySQL
anyway). This has an adverse effect on users of mod_nibblebill, as you are
likely using floating point or decimal columns to track cash amounts.
FreeSWITCH may periodically core dump when a floating point value is
retrieved from the database due to this bug.
 
Please upgrade to rev 13866 (or at least apply
http://fisheye.freeswitch.org/browse/FreeSWITCH/src/switch_odbc.c?r1=12152;
r2=13866 the patch - it can be applied independently if you are on at least
rev 12152). You do not need to update mod_nibblebill, as the bug is not
actually in mod_nibblebill, it just happens to cause the right conditions to
exist to exhibit this behavior.
 
Background information is in FSCORE-384
http://jira.freeswitch.org/browse/FSCORE-384  .
 
Thanks to Tony for acting quickly on this patch.
 
- Darren
 
___
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


Re: [Freeswitch-users] If you use mod_nibblebill, please upgrade to rev 13866

2009-06-20 Thread Darren Schreiber
Yes

  _  

From: Diego Viola [mailto:diego.vi...@gmail.com] 
Sent: Saturday, June 20, 2009 12:41 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] If you use mod_nibblebill,please upgrade to
rev 13866


Is this issue fixed in latest trunk?


On Sat, Jun 20, 2009 at 3:32 PM, Darren Schreiber d...@d-man.org wrote:


Hello folks,
An important stability issue was identified in the FreeSWITCH core ODBC
drivers when utilizing decimal / float columns in databases (at least MySQL
anyway). This has an adverse effect on users of mod_nibblebill, as you are
likely using floating point or decimal columns to track cash amounts.
FreeSWITCH may periodically core dump when a floating point value is
retrieved from the database due to this bug.
 
Please upgrade to rev 13866 (or at least apply the patch
http://fisheye.freeswitch.org/browse/FreeSWITCH/src/switch_odbc.c?r1=12152;
r2=13866  - it can be applied independently if you are on at least rev
12152). You do not need to update mod_nibblebill, as the bug is not actually
in mod_nibblebill, it just happens to cause the right conditions to exist to
exhibit this behavior.
 
Background information is in FSCORE-384
http://jira.freeswitch.org/browse/FSCORE-384  .
 
Thanks to Tony for acting quickly on this patch.
 
- Darren
 

___
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




___
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


Re: [Freeswitch-users] Error on mod_nibblebill cannot connect to ODBC

2009-06-18 Thread Darren Schreiber
Call me crazy but your DB DSN appears to be zenoss, but you have a db dsn of
tcapi still in the config file.

If your test was:
# isql zenoss edmar edmar 
 

Then zenoss should be your db_dsn:
param name=db_dsn value=zenoss/

Not
param name=db_dsn value=tcapi/


You should be seeing something about the ODBC connection failing at
FreeSWITCH startup if you look at the log closely (search for
mod_nibblebill) that indicates this, too.

- Darren


-Original Message-
From: Edmar Cruz [mailto:darklio...@yahoo.com] 
Sent: Tuesday, June 16, 2009 6:44 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Error on mod_nibblebill cannot connect to
ODBC


my nibble.conf.xml

configuration name=nibblebill.conf description=Nibble Billing
  settings
   

!-- Information for connecting to your database --
param name=db_username value=edmar/
param name=db_password value=edmar/
param name=db_dsn value=tcapi/

!-- The database table where your CASH column is located --


!-- The column name where we store the value of the account --
param name=db_column_cash value=cash/

!-- The column name for the unique ID identifying the account --
param name=db_column_account value=id/


!-- Default heartbeat interval. Set to 'off' for no heartbeat (i.e.
bill only at end of call) --
param name=global_heartbeat value=1/

!-- By default, warn a caller when their balance is at $5.00. You can
set this to a negative number. --
param name=lowbal_amt value=5/
param name=lowbal_action value=play ding/

!-- By default, terminate a caller when their balance hits $0.00. You
can set this to a negative number. --
param name=nobal_amt value=0/
param name=nobal_action value=hangup/

!-- If a call goes beyond a certain dollar amount, flag or terminate it
--
param name=percall_max_amt value=100/
param name=percall_action value=hangup/

  /settings
/configuration

Account 1001.xml

include
  user id=1001 mailbox=1001
params
  param name=password value=1234/
  param name=vm-password value=1001/
  param name=vm-mailto value=/
  param name=vm-email-all-messages value=false/
  param name=vm-delete-file value=false/
  param name=vm-attach-file value=false/
/params
variables
  variable name=toll_allow value=domestic,international,local/
  variable name=accountcode value=1001/
  variable name=user_context value=default/
  variable name=effective_caller_id_name value=Extension 1001/
  !--variable name=nibble_rate value=0.10/
  variable name=nibble_account value=1001/--
  variable name=effective_caller_id_number value=1001/
  variable name=outbound_caller_id_name
value=$${outbound_caller_name}/
  variable name=outbound_caller_id_number
value=$${outbound_caller_id}/
  variable name=callgroup value=techsupport/
  variable name=name value=Edmar/
  variable name=label value=/
  variable name=areacode value=63/
  variable name=effective_caller_int_name value=/
  variable name=effective_caller_int_number value=/
  variable name=record_calls value=false/
  variable name=vm_active value=true/
  variable name=process_cdr value=false/
  variable name=cfwd_active value=false/
  variable name=cfwd_dest value=/
  variable name=cfwd_busyactive value=false/
  variable name=cfwd_busydest value=/
  variable name=cfwd_noansweractive value=false/
  variable name=cfwd_noanswerdest value=/
  variable name=cfwd_noanswerseconds value=/
  variable name=call_progressaudio value=0/
  variable name=allow_outbound value=true/
  variable name=allow_xfer value=false/
  variable name=hotline_active value=true/
  variable name=hotline_dest value=/
  variable name=classofservice value=0/
/variables
  /user
/include


I check unixodbc has been installed. 

# isql zenoss edmar edmar 
[SQL]

Connected successfully but on freeswitch error Cannot connect to user ODBC
[root]


Darren Schreiber wrote:
 
 What is in your ODBC settings in nibblebill.conf.xml ? Can you paste the
 real logs from FS's logs? The info below is not nearly detailed enough. 
 
 -Original Message-
 From: Edmar Cruz [mailto:darklio...@yahoo.com] 
 Sent: Monday, June 15, 2009 6:44 PM
 To: freeswitch-users@lists.freeswitch.org
 Subject: [Freeswitch-users] Error on mod_nibblebill cannot connect to ODBC
 
 
 Hi
 
 I experiencing an error on mod_nibblebill. I already load it from
 autoload_configs, especially mod_spidermonkey. Uncomment
 mod_spidermonkey_odbc. I also download unixodbc and created the files
 /etc/odbcinst.ini and /etc/odbc.ini with the correct format
 
 [zenoss]
 DATABASE = tcapi
 USER= root
 PASS= password
 .
 
 I type also on the console isql zenoss root password. Also working...
 
 But an error occur on freeswitch Cannot connect to user [root] ...
 
 What do you thinks is the problem?
 --
 View this message

Re: [Freeswitch-users] Error on mod_nibblebill cannot connect to ODBC

2009-06-16 Thread Darren Schreiber
What is in your ODBC settings in nibblebill.conf.xml ? Can you paste the
real logs from FS's logs? The info below is not nearly detailed enough. 

-Original Message-
From: Edmar Cruz [mailto:darklio...@yahoo.com] 
Sent: Monday, June 15, 2009 6:44 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Error on mod_nibblebill cannot connect to ODBC


Hi

I experiencing an error on mod_nibblebill. I already load it from
autoload_configs, especially mod_spidermonkey. Uncomment
mod_spidermonkey_odbc. I also download unixodbc and created the files
/etc/odbcinst.ini and /etc/odbc.ini with the correct format

[zenoss]
DATABASE = tcapi
USER= root
PASS= password
.

I type also on the console isql zenoss root password. Also working...

But an error occur on freeswitch Cannot connect to user [root] ...

What do you thinks is the problem?
--
View this message in context:
http://www.nabble.com/Error-on-mod_nibblebill-cannot-connect-to-ODBC-tp24045
890p24045890.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


___
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


___
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


Re: [Freeswitch-users] mod_nibblebill not set variablenibble_total_billed

2009-06-16 Thread Darren Schreiber
That should not be the case - I will double check this. My apologies if I
broke it. :-(
 
Please file a bug on this so I don't forget.

  _  

From: Yuriy Ivzhenko [mailto:yivzhe...@mksat.net] 
Sent: Tuesday, June 09, 2009 1:26 AM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] mod_nibblebill not set
variablenibble_total_billed



Some time ago mod_nibblebill was set variable nibble_total_billed after
hangup.

But after last few updates of module this variable is no more sets.

Somebody else have this problem?

___
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


Re: [Freeswitch-users] mod_niible install problem

2009-06-16 Thread Darren Schreiber
This should be fixed in the latest build (thanks MikeJ)

  _  

From: ram [mailto:talk2...@gmail.com] 
Sent: Tuesday, June 09, 2009 12:03 AM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] mod_niible install problem


 
Hi
 
i have downloaded latest SVN
 
and trying to make install 
 
i get the following error
 
I googled for the same
but there no information on this error
 
 
how can i resolve this problem
 
Ram 
 
making install mod_nibblebill
Compiling mod_nibblebill.c...
Compiling mod_nibblebill.c ...
mod_nibblebill.c: In function âget_balanceâ:
mod_nibblebill.c:368: error: âbalanceâ undeclared (first use in this
function)
mod_nibblebill.c:368: error: (Each undeclared identifier is reported only
once
mod_nibblebill.c:368: error: for each function it appears in.)
make[5]: *** [mod_nibblebill.lo] Error 1
make[4]: *** [install] Error 1
make[3]: *** [mod_nibblebill-install] Error 1
make[2]: *** [install-recursive] Error 1
Making install in build

 
 
___
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


Re: [Freeswitch-users] WikiPBX Installation

2009-06-05 Thread Darren Schreiber
This is a really ironic post, Seven. :-) I agree with all your points.
 
A while ago I started the TCAPI project to build a front-end for FreeSWITCH.
I very quickly got inundated with debates about framework and language.
These debates were initially appreciated but at some point we needed to
decide  move on. The real work to be done was, as you point out, in design
of the application business logic, interface and actually coding it up and
putting it together. So we decided to go a bit radio silent and and focus on
a few developers who were willing to build out the foundational pieces of
the MVC architecture, and to let you create FreeSWITCH config files and
general database and software modules with a set of standardized, simple to
use libraries/APIs. Once we are done with that, the intention was to release
it to those who wanted to help build the pieces related to modules in
FreeSWITCH. That project is about 6 weeks from release into beta, give or
take a few weeks (hey, it's software dev! heh who's ever on time?).
 
So anyone who is on here reading this and might be interested in
contributing code to an already very active FreeSWITCH GUI development
project please feel free to contact me - we are now accepting serious
developer inquiries.
 
The project is in PHP and uses two pretty nifty frameworks (we, as you point
out, couldn't find exactly what we were looking for, so we merged two
libraries that fit the bill very nicely). It is database agnostic and is
designed to work on Windows or Linux so don't let that be a barrier to
participation.
 
This will be an open source project for all, btw. I will be presenting on it
at the upcoming ClueCon, warts and all, so you should go register and then
you can participate in the demo/tutorial! :-)
 
- Darren
 
 
 

  _  

From: seven [mailto:dujinf...@gmail.com] 
Sent: Friday, June 05, 2009 1:26 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] WikiPBX Installation



On Jun 5, 2009, at 1:36 PM, Michael Collins wrote:




On Thu, Jun 4, 2009 at 6:52 PM, Matthew Lockwood
matthew.lockw...@gmail.com wrote:


That would involve me learning a totally new framework. It'll not the
hardest code I'll ever write by far, so I'm okay coding it up on my own.
However, I definitely need a lot of help from fabulous designers to actually
make the interface pretty and useable. Plus, I'm only one person and will
need a lot of feedback to create something that rocks - everybody has a
different use case and I can't foresee how everybody will use it, so that
kind of feedback will go into re-engineering it. 



If you guys are serious about this then I would like to make a few
suggestions that might be obvious but for the sake of the project we'll make
them explicitly obvious.

First, before deciding what framework to use, it would be good to hold some
discussions about what the GUI actually needs to do:
What are the design goals? 
Will it be just for setting up extensions and the dialplan? Or will it go
much farther than that? 
Will you be using mod_xml_curl for everything? If so, what database(s) will
you support? 
Are you going to have extra goodies like an IVR builder? 
A 'visual voicemail' page? 
A user portal? 
Management interface to 'spy' on users? 
A CDR/call accounting system? 
FIFO and/or ACD queue management? 

MOH and sound files management?


and conference management




It's okay to start small and build your way out, but you need to know before
you start building what the grand scheme will be. The larger the goals of
the project, the narrower your choices for a framework that can do it all.
The simple fact of the matter is that if you want to use a MVC web framework
then you have a somewhat limited number of choices. You need a MVC WF that
fits your needs, which means it needs to be at least somewhat flexible. If
you want a pretty GUI then you need to decide if you want a rich Internet
application (RIA) front end like AIR, or do you want something along the
lines of XHTML/CSS/JS and use a platform like Dojo which gives you
cross-browser widgets and tools. All of this on top of the fact that if you
want volunteers to assist you will need to pick something that people either
know or can learn quickly.

Oh, and be prepared for people to give you unsolicited opinions about all
sorts of things. :) 

All that being said, I say go for it. Find what works for you and see what
happens. Be sure to use #freeswitch-gui. If this really takes off I'm sure
that we could even start a mailing list for GUI development. 




Once the goals and features decided I think more ppl can join and work this
out together.


Enjoy!
-MC
___
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



___

Re: [Freeswitch-users] Issue relating mod_nibblebill

2009-03-18 Thread Darren Schreiber
Is this issue still open? I just noticed this.

The error you are receiving indicates UnixODBC is installed, but not
configured properly (most likely anyway). The UnixODBC drivers are kind of a
pain to setup on some systems, especially CentOS, but this article may help
you get it working -
http://webaj.com/how-setup-mysql-dsn-datasbase-source-centos-myodbc-and-unix
odbc-command-line.htm. I strongly recommend making sure the test commands
they list work before trying to get UnixODBC working within FreeSWITCH.

Also, it looks like you may have failed to copy the sample mod_nibblebill
XML config file to /usr/local/freeswitch/conf/autoload_configs/ . You may
want to give that a try. Within that file is the name of the ODBC driver
being referenced  - make sure that driver exists (see link above).


- Darren
 

-Original Message-
From: JayaPrakash [mailto:jp.man...@gmail.com] 
Sent: Saturday, March 14, 2009 4:49 AM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Issue relating mod_nibblebill

Hi All,
I am newbie to Freeswitch.
I installed freeswitch-1.0.3 in Debian machine. I am able to make call,
check presence, retrieve CDRs.
I followed the installation steps given in mod_nibblebill for rating.
While, installing mysql-connector-odbc, it has thrown errors related to
mysql-config file, that it does not exist. Coming to mysql,
mysql-client-5 and mysql-server-5 are installed.

So I installed libmyodbc which is used for the same functionality.
Rest of the steps are done, as given in mod-nibblebill installation.
When the freeradius server is restarted, it has given the following error.

2009-03-14 14:55:47 [ERR] switch_odbc.c:164
switch_odbc_handle_connect() STATE: IM002 CODE 0 ERROR:
[unixODBC][Driver Manager]Data source name not found, and no default driver
specified

2009-03-14 14:55:47 [CRIT] mod_nibblebill.c:233 load_config() Cannot connect
to ODBC driver/database freeswitch (user: root / pass dev)!

Will you please have a look in solving this issue ? , how the issue can be
solved?


Thanks  Regards,
JP.

___
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


___
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


Re: [Freeswitch-users] Nibblebill - DB Error while updating cash!

2009-03-17 Thread Darren Schreiber
Hi there,
The updates to the DB are working, but the error is still being thrown.
I will try and fix this tonight. Diego also reported the same issue last
week, I just haven't gotten around to it.
 
My apologies. The bug is filed, I'll close it out when it's fixed.
 
- Darren
 

  _  

From: JayaPrakash [mailto:jp.man...@gmail.com] 
Sent: Tuesday, March 17, 2009 1:48 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Nibblebill - DB Error while updating cash!


Hi All,
I have installed nibblebill and it is able to bill the calls.
However, it is  giving  following error in FreeSwitch server.

2009-03-17 23:17:19 [DEBUG] mod_nibblebill.c:283 bill_event() Doing update
query
[UPDATE accounts SET cash=cash-0.045767 WHERE id=1]
2009-03-17 23:17:19 [CRIT] mod_nibblebill.c:286 bill_event() DB Error while
updating cash!

Thanks
Jayaprakash

___
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


Re: [Freeswitch-users] VMWare voice quality

2009-01-15 Thread Darren Schreiber
I have been running FreeSWITCH on a VM ever since I got involved in the
project. It's been almost a year now. I didn't do anything special - it
works fine. I get audio problems if I go over 10 or 15 simultaneous calls.
This is on the following setup:

VMWare Server 1.0.6 and VMWare Server 2.0 (2.0 sucks, btw /rant)
Dell Precision 360 (Desktop)
Pentium 4 2.66Ghz
2.5GB RAM (512MB allocated to FS)
Fedora Core 8, 2.6.23.1-42.fc8 stock kernel (a bit old)
7.2K 80GB hard drive

Yes, fancy machine I have, huh?


This is my normal day-to-day workstation as well as my VMWare Server. It
works fine, I got occassional missed heartbeat alerts and timer sync
notices, but they're rare.

- Darren

 

-Original Message-
From: Michael Collins [mailto:m...@freeswitch.org] 
Sent: Thursday, January 15, 2009 9:32 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] VMWare voice quality

If anyone figures this out please post it to this thread. I am working on a
wiki page for the VMWare appliance and I would like to be able to inform
people on how to handle this situation.

Also, IIUC, those running VMWare Fusion on Macs are not experiencing this,
correct? What about those using a hypervisor like ESXi? Any known issues?

Thanks,
MC

On Thu, Jan 15, 2009 at 9:15 AM, Ken Rice kr...@suspicious.org wrote:
 On 1/15/09 11:01 AM, Remko Kloosterman r.klooster...@mtel.nl wrote:

 Hello Ken, hello all,

 I just read about the FreeSWITCH VMware applicance. I'm curious about 
 your experiences with the audio quality on VMWare, so here's a new 
 thread.

 I've installed freeswitch on VMware Server for Windows. The IVR audio 
 always plays choppy, while the server itself has no performance issues.
 The same poor voice quality also goes for Asterisk or Yate, even on a 
 very fast VMware ESX system.

 Did you experience the same and/or do you have pointers on how to 
 troubleshoot and fix this?


 There is a high resolution timer you need to enable on vmware... I'm 
 not familiar enuff with all the versions of vmware to advise there 
 that switch is, but they have a couple of articles on it in their 
 knowledge base



 ___
 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-use
 rs
 http://www.freeswitch.org


___
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


___
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


Re: [Freeswitch-users] Freeswitch streamFile when the user answers

2008-12-12 Thread Darren Schreiber
How are you originating calls? You probably need to add
{ignore_early_media=true}. This tells FreeSWITCH not to return from
origination when early media (progress/ringing) was received (I think
anyway)...

See http://wiki.freeswitch.org/wiki/Channel_Variables#ignore_early_media

There is a sample of this in use with the originate command here:
http://wiki.freeswitch.org/wiki/Mod_commands#originate (about halfway down)

Setting channel variables before doing the originate 

   originate {ignore_early_media=true}sofia/mydomain.com/18005551...@1.2.3.4
1551212



Since you are making a dialer, you may want to start the originations in the
background and move on to the next call while tweaking the timeout value for
originated calls. From the WIKI again:

You can originate a call in the background (asynchronously) and playback a
message with a 60 second timeout. 

   bgapi originate
{ignore_early_media=true,originate_timeout=60}sofia/gateway/name/number
playback(message)

- Darren

 

-Original Message-
From: Alexandru Nedelcu [mailto:a...@sinapticode.ro] 
Sent: Friday, December 12, 2008 3:39 AM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Freeswitch streamFile when the user answers

Hi,

I'm working on a simple dialer, and I have the following problem: the audio
file starts playing before the user answeres the phone (while it's ringing).
It only works when I introduce a delay, but that doesn't seem right.

For instance in the asterisk context referred in the call files, I had:

exten = s,4,Answer
exten = s,n,Wait(2)
exten = s,n,Background(${SOUNDFILE})
And indeed it played a soundfile 2 seconds after the called person picked up
the phone

In FS I currently initiate calls like this:

session.waitForAnswer(1);

if (session.ready()) {
session.sleep(2000);
session.streamFile(/*...*/);
}

Is this right?


___
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


___
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


Re: [Freeswitch-users] Wrong port on response

2008-09-21 Thread Darren Schreiber
The Aastra 55i should have STUN support, but not on the firmwares released
with the phone initially. Check your firmware version here:

http://www.aastratelecom.com/cps/rde/xchg/SID-3D8CCB6A-FE4A1E69/03/hs.xsl/21
669.htm

For the 480i, though, I think you're SOL.

- Darren

-Original Message-
From: Brian West [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2008 4:35 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Wrong port on response

Yep just checked in my 55i that I have and no STUN nor RPORT.  Great for the
LAN silly for the WAN.  the force-rport is your only option and its a global
per profile setting.

/b

On Sep 19, 2008, at 6:08 PM, David Aldworth wrote:

 User-Agent: Aastra 480i Cordless/1.4.3.23 Brcm Callctrl/1.5.1.0 MxSF/ 
 v3.2.8.45.


___
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


___
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


[Freeswitch-users] FreeSWITCH Users Group - Bay Area

2008-08-26 Thread Darren Schreiber
Well what the heck, why not...
 
Would anyone be interested in joining a FreeSWITCH Users Group in the bay
area? Do we have enough users yet?
 
Just an idea. Maybe an installfest or something like that. Invite friends.
Drink beer.
 
 
Let me know
- Darren
 
___
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


Re: [Freeswitch-users] Please Help

2008-08-20 Thread Darren Schreiber
OK, just to bring this full circle... In Outlook 2003, some mailing list
messages have the unsubscribe instructions as an attachment. Seems to be
HTML messages that the unsubscribe info is attached to versus being at the
bottom of the message.
 
This is probably a quirk (or feature?) of the mailing list program. It
probably shows up differently for others.
 
Just trying to clear this up... Not sure we want to flame the poor guy for
trying to unsubscribe heh.
 
- Darren
 

  _  

From: Michael Jerris [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 20, 2008 12:41 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Please Help



On Aug 20, 2008, at 2:23 PM, Ken Livingston wrote:



Ironically, it was not in the message sent by Chris.



Yes it was.
___
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


Re: [Freeswitch-users] Can we have a forum

2008-08-12 Thread Darren Schreiber
Whoops, I guess it shows my handle instead of my name though... I'll have to
go change that. 

-Original Message-
From: RdFltErr [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 12, 2008 6:56 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Can we have a forum


Well if you're reading this, this solution does appear to work. And is a
win-win.

I would recommend it. The interface on the web side is certainly friendly
and easy-to-use.

and then bkw doesn't have to actually do any work.

Two thumbs up from me

- Darren


bsnipes wrote:
 
 I am coming in a little late on this conversation but you can have 
 both with keeping the existing mailman system.  I added 
 freeswitch-users to Nabble groups back in March.  The same thing can 
 be done to freeswitch-dev and we might be able to import the even 
 older freeswitch-users data.
 
 For those not familiar Nabble ( http://www.nabble.com ) allows anyone 
 to create a web forum based on an existing mailing list.  After you 
 signup you can input your existing mailing list auth info and when you 
 post to the freeswitch-users forum it sends it to the mailing list and 
 keeps track of the posting status.
 
 Here is a link to the freeswitch list: 
 http://www.nabble.com/Freeswitch-users-f32209.html
 
 This is a works for me solution that might appease everyone.
 
 Brian S/bsnipes
 
 On Sunday 10 August 2008 6:49:32 pm Ilan Perez wrote:
 I am in with the forum.

 For whatever reason people don't like them.

 Voip-info.org is working use it and people will start asking more 
 questions on it and then it will be more popular etc..

 My 2 cents

 Ilan Perez



 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Ben Holtsclaw
 Sent: 11 August 2008 07:36
 To: freeswitch-users@lists.freeswitch.org
 Subject: Re: [Freeswitch-users] Can we have a forum



 Personally, I also prefer some sort of bulletin board / message board 
 based discussion. Google Groups is a great idea. To me, a straight up 
 mailman mailing list just seems old school. I agree with Darren in 
 that something more easily searchable would be a big plus.

  On 8/10/2008 at 4:54 PM, Brian West [EMAIL PROTECTED] wrote:

 Oh btw I have talked about using google groups which offers both in 
 one package What does everyone thing about some sort of 
 compromise like that?

 /b

 On Aug 10, 2008, at 3:43 PM, Lee JJ wrote:
  Dear Sirs :
 
  Can we have a forum like phpbb or punbb .
 
  thanks
  ___
 
 
 
 ___
 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-use
 rs
 http://www.freeswitch.org
 
 

--
View this message in context:
http://www.nabble.com/Can-we-have-a-forum-tp18916925p18944743.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


___
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


___
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


Re: [Freeswitch-users] Performance bottleneck

2008-08-12 Thread Darren Schreiber
I dont know if this makes any sense - it's just an idea.
 
If you're willing to take the hit of running MySQL, I know that it's
replication features could potentially be used. You can have the primary
MySQL server run in ramdisk and get all the performance benefits of doing so
while also writing log files to the ram disk in a seperate area. Those
logfiles can, using MySQL's built in replication features, be copied over to
a backup server and played backup, giving you both a hot spare as well as a
disk based backup.
 
This does three things for you:
1) Gives you backup on disk, while preserving performance in RAM
2) Gives you a live backup that you can quickly shunt things over to if for
some reason the primary dies
3) Allows you to handle spikes in volume. MySQL by default will just write
to the log files and they can be played back later by the (slower) backup
server, so a spike in volume of calls should not cause the server to slow
down per say. There is a small risk your data will be lost if there is a
failure for whatever is not copied over to the (slower) backup server, but
that's unlikely to be that huge a lag (better then nothing).
 
As to whether any of this applies (like why the heck you'd install MySQL on
a ramdisk to start), I can't say. but it's a thought...Oh, and you need a
lot of RAM ;-)

  _  

From: Ken Rice [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 12, 2008 11:44 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Performance bottleneck


Actually I don't know of any mechanism that will back up the DB... Where
sqlite does work well for small to medium installations it only scales to a
point... Sqlite does not reuse 'nodes' in the db on an update... It marks
them as dead and creates a new entry... While this works ok on smaller
tables w/ light to medium updates after a while you have to compress or
vacuum the tables... This requires a table level lock with sqlite... FS does
have some things built in to handle this, but under load this can cause the
switch to appear to hang.

Switching over to use something like Postgresql (my prefered db) helps out a
good bit here, but keep in mind that in doing so you greatly increase the
resources required for the db. Also don't forget that pgsql has a similar
mechanism on how it handles updates, just don't forget to enable
auto-vacuuming on pgsql...  That is a discussion for a different list tho

K



  _  

From: Brian West [EMAIL PROTECTED]
Reply-To: freeswitch-users@lists.freeswitch.org
Date: Tue, 12 Aug 2008 13:24:40 -0500
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Performance bottleneck

Well putting the db in ram does help a bit but it has to keep states of
everything going on and do extra work for that... its a heavy task in
itself.

On Aug 12, 2008, at 1:19 PM, Michael Collins wrote:



That begs the question. is there a mechanism in sqlite or Linux that allows
for the RAM drive to be backed up periodically?  That would be a cool
feature to get documented for those power users like Ken! ;)
 
-MC
 



 
Brian West
sip:[EMAIL PROTECTED]


 



  _  

___
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

___
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


Re: [Freeswitch-users] Fwd: Asterisk and FreeSWITCH | OS-VoIP

2008-08-10 Thread Darren Schreiber
My two cents...

My team at work enjoys the flexibility of allowing anyone to start the
conference, and allowing early-comers to talk amongst themselves until the
moderator comes. Especially when the moderator (me) forgets to call-in
altogether :)

While I don't dispute the need for the requested features listed, I would
encourage the idea that either way should be possible. 

- Darren

-Original Message-
From: Michael Jerris [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 10, 2008 11:02 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Fwd: Asterisk and FreeSWITCH | OS-VoIP

The comment brought up 2 issues with conference.  The first was that you
couldn't enter the pin until the pin prompt completed.  This issue is fixed
in 1.0.1.  The second issue is the lack of a seperate moderator pin and no
ability for the conference to be locked or just play music until the
moderator arrives.  While this functionaltiy is acheivable today, it
requires an up front ivr and some sort of event handler (could be done in an
embedded language or external daemon) to get the desired results.  I am
interested in input from the community on this.  So far we have treated
those as external ivr functions, but would like to know a bit more how
people want to use conferencing.

Mike

On Aug 10, 2008, at 10:25 AM, Michael S Collins [EMAIL PROTECTED]
wrote:

 Hey guys, check out the link below. It is a good article by someone 
 who really likes Asterisk but who also has good things to say about 
 FS.

 Also I'd like someone who knows more about FS conferences to address 
 the issues raised in this blog's first comment. I want to know if what 
 the commenter says is true or not and if it is then perhaps we could 
 investigate the possibility of addressing those issues.

 Thanks,
 MC

 Sent from my iPhone

 Begin forwarded message:




 http://www.os-voip.com/2008/08/asterisk-and-freeswitch/

 ___
 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-use
 rs
 http://www.freeswitch.org

___
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


___
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


Re: [Freeswitch-users] Can we have a forum

2008-08-10 Thread Darren Schreiber
I prefer email, except I like to sometimes be able to search Forums. I think
your proposal is a good compromise. Plus it makes the comments on here
searchable via a regular search engine (could be a good, or a bad thing) 

-Original Message-
From: Brian West [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 10, 2008 1:55 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Can we have a forum

Oh btw I have talked about using google groups which offers both in one
package What does everyone thing about some sort of compromise like
that?

/b

On Aug 10, 2008, at 3:43 PM, Lee JJ wrote:

 Dear Sirs :

 Can we have a forum like phpbb or punbb .

 thanks
 ___
 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-use
 rs
 http://www.freeswitch.org


___
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


___
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


Re: [Freeswitch-users] Can we have a forum

2008-08-10 Thread Darren Schreiber
I don't get it - wouldn't the stuff on the forums also be accessible via
list format?

- confused 

-Original Message-
From: Brian West [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 10, 2008 5:32 PM
To: freeswitch-users@lists.freeswitch.org
Cc: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Can we have a forum

The only worry about forums is that it splits support resources between the
two.  Any thoughts?

/b

Sent from my iPhone

On Aug 10, 2008, at 6:45 PM, Michael S Collins [EMAIL PROTECTED]
wrote:

 FWIW I agree with Darren. Bkw's suggestion is a reasonable compromise.
 I'm willing to give it a try.

 -MC

 Sent from my iPhone

 On Aug 10, 2008, at 2:20 PM, Darren Schreiber [EMAIL PROTECTED] wrote:

 I prefer email, except I like to sometimes be able to search Forums.
 I think
 your proposal is a good compromise. Plus it makes the comments on 
 here searchable via a regular search engine (could be a good, or a 
 bad
 thing)

 -Original Message-
 From: Brian West [mailto:[EMAIL PROTECTED]
 Sent: Sunday, August 10, 2008 1:55 PM
 To: freeswitch-users@lists.freeswitch.org
 Subject: Re: [Freeswitch-users] Can we have a forum

 Oh btw I have talked about using google groups which offers both in 
 one package What does everyone thing about some sort of 
 compromise like that?

 /b

 On Aug 10, 2008, at 3:43 PM, Lee JJ wrote:

 Dear Sirs :

 Can we have a forum like phpbb or punbb .

 thanks
 ___
 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-
 use
 rs
 http://www.freeswitch.org


 ___
 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-us
 ers
 http://www.freeswitch.org


 ___
 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-us
 ers
 http://www.freeswitch.org

 ___
 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-use
 rs
 http://www.freeswitch.org

___
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


___
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


Re: [Freeswitch-users] GUI

2008-08-09 Thread Darren Schreiber
Hi folks,
Nice to see that interest in this project found it's way here...
 
The FreeSwitch GUI is very, very basic and is really intended to help
get people going on FS. It also provides a framework for you to build your
own UI on top of, though basic at this point. I do have larger dreams for
the project, but for now, that's what I'm aiming for.
 
The code will be submitted to a sourceforge repository as soon as I get
an understanding for how to publish it under an appropriate license and also
as soon as I clean up the code a bit so it truly conforms to MVC design
pattern guidelines.
 
If you are interested in helping, please let me know (you can email me
at [EMAIL PROTECTED] ). We are in the midst of forming a group of initial
participants now. You can also usually find me on IRC on #freeswitch under
the name 'pyite'.
 
Thanks,
Darren Schreiber
 

  _  

From: Carlos Talbot [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 07, 2008 7:28 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] GUI


Whoops, sorry. Yeah, that's the correct link.


On Thu, Aug 7, 2008 at 7:33 AM, Ashutosh [EMAIL PROTECTED] wrote:


Is it http://www.d-man.org/news ?

regards,
ashutosh 


On Thu, Aug 7, 2008 at 12:05 PM, Patrick [EMAIL PROTECTED]
wrote:


Carlos Talbot wrote:
 FYI,

 at Cluecon a new GUI was just announced today. The author, Darren
 Schreiber, gave a presentation this afternoon.

 Here's a link to his page with some screenshots.


Is it me or did you forget to add the link to your posting because I
just don't see one.

Regards,
Patrick


___
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




___
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




___
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


Re: [Freeswitch-users] DTMF recognition and nbound calls

2008-08-07 Thread Darren Schreiber
For problem #1 you probably need to use the DTMF detection application. The
symptoms your describing match and your code is missing this.
 
Try adding:
action application=start_dtmf data=true/
 
 
Problem #2, does this occur on an analog line?

  _  

From: Ilan Perez [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 06, 2008 6:30 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] DTMF recognition and nbound calls



Dear All,

 

I have setup my inbound extension (in the public.xml) diaplan to transfer to
extension 5000 à the demo IVR

The recordings come through nicely. From an internal call the demo fine
including DTMF recognition but with inbound calls from external source…ie
pstn line

 

 

Two problems occur.

1.   There is no DTMF recognition

2.   If I hangup during the playback the system still plays out the
whole IVR

 

Here is my code for the extension.

 

Hopefully someone can help me out

extension name=public_did

  condition field=destination_number expression=^(0283472006)$

action application=set data=call_timeout=60/

action application=set data=group_confirm_file=C:/Program
Files/FreeSWITCH/sounds/en/us/callie/voicemail/8000/vm-press.wav/

action application=set data=group_confirm_key=4/

 

action application=set data=RECORD_TITLE=Recording
${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}/

action application=set data=RECORD_COPYRIGHT=(c) 2008 Diagnostic
Devices, Inc./

action application=set data=RECORD_SOFTWARE=FreeSwitch/

action application=set data=RECORD_ARTIST=Ian Curtis/

action application=set data=RECORD_COMMENT=Love will tear us
apart/

action application=set data=RECORD_DATE=${strftime(%Y-%m-%d
%H:%M)}/

action application=set data=RECORD_STEREO=false/

 action application=set data=playback_terminators=#*/

action application=record_session data=C:/Program
Files/FreeSWITCH/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_num
ber}_${caller_id_number}.wav/

action application=set data=ringback=${us-ring}/

 

 action application=transfer data=5000 XML default/ 

 

 !--action application=bridge data=user/[EMAIL PROTECTED]/
--

  /condition

/extension

 

 

Anyone?

 

Ilan Perez

 

___
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