[Freeswitch-users] How to implement mod_lcr + mod_limit

2009-11-15 Thread Ahmed Munir
Hi,

I've worked on setup for carriers routing using mod_lcr + mod_nibble +
mod_xml_curl and mod_xml_cdr. The setup is working fine as I desired. Now I
want to include mod_limit in to my setup.

As I read the wiki pages of mod_limit I want to know how can I limit the
calls per destination basis while running mod_lcr? Because LCR is routing to
different carriers, how can I call mod_limit in mod_lcr?

Kindly advise this issue soon.

-- 
Regards,

Ahmed Munir
___
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] Call custom variable in condition

2009-10-21 Thread Ahmed Munir
Hi,

I've declared a variable named AUTHENTICATION_STATUS in dialplan, and I want
to use it in condition, as I'm listing down the configuration below;

context name=SIP_incoming
   extension name=call-sip-extensions
  condition field=destination_number expression=^(\d+)$
  action application=set data=AUTHENTICATION_STATUS=0/
   action application=transfer data=${AUTHENTICATION_STATUS} XML
Authen_Status/
  /condition
   /extension
/context

context name=Authen_Status
 extension name=exten-auth-status
   condition field=AUTHENTICATION_STATUS expression=^0$
  action application=answer/
  action application=playback data=play.wav/
  /condition
/extension
  /context




 But unfortunately it is not working. Kindly advise me how to do implement
it(Note: I don't want to call script). And one more thing to ask how can I
transfer the values within the same context?

-- 
Regards,

Ahmed Munir
___
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-users Digest, Vol 40, Issue 179

2009-10-21 Thread Ahmed Munir
Hi,

Thanks for reply, it really helped me. One more thing to ask, how can we
make decision against ,, =, = in condition header? Like we use == for
action and != for anti-action.

Kindly highlight it.





 -- Forwarded message --
 From: Ahmed Munir ahmedmunir...@gmail.com
 To: FreeSwitch freeswitch-users@lists.freeswitch.org
 Date: Wed, 21 Oct 2009 15:37:15 +0500
 Subject: [Freeswitch-users] Call custom variable in condition
 Hi,

 I've declared a variable named AUTHENTICATION_STATUS in dialplan, and I
 want to use it in condition, as I'm listing down the configuration below;

 context name=SIP_incoming
extension name=call-sip-extensions
   condition field=destination_number expression=^(\d+)$
   action application=set data=AUTHENTICATION_STATUS=0/
action application=transfer data=${AUTHENTICATION_STATUS}
 XML Authen_Status/
   /condition
/extension
 /context

 context name=Authen_Status
  extension name=exten-auth-status
condition field=AUTHENTICATION_STATUS expression=^0$
   action application=answer/
   action application=playback data=play.wav/
   /condition
 /extension
   /context




  But unfortunately it is not working. Kindly advise me how to do implement
 it(Note: I don't want to call script). And one more thing to ask how can I
 transfer the values within the same context?

 --
 Regards,

 Ahmed Munir




 -- Forwarded message --
 From: Ghulam Mustafa mustafa...@gmail.com
 To: freeswitch-users@lists.freeswitch.org
 Date: Wed, 21 Oct 2009 15:52:24 +0500
 Subject: Re: [Freeswitch-users] Call custom variable in condition
 Ahmed,

 you can't use variables set by set application within a condition, though
 it doesn't make sense. wondering if there is any logic behind this or it's
 just a simple missing feature. anyone?

 -m

 Ahmed Munir wrote:

 Hi,

 I've declared a variable named AUTHENTICATION_STATUS in dialplan, and I
 want to use it in condition, as I'm listing down the configuration below;

 context name=SIP_incoming
   extension name=call-sip-extensions
  condition field=destination_number expression=^(\d+)$
  action application=set data=AUTHENTICATION_STATUS=0/
   action application=transfer data=${AUTHENTICATION_STATUS}
 XML Authen_Status/
  /condition
   /extension
 /context

 context name=Authen_Status
 extension name=exten-auth-status
   condition field=AUTHENTICATION_STATUS expression=^0$
  action application=answer/
  action application=playback data=play.wav/
  /condition
/extension
  /context




  But unfortunately it is not working. Kindly advise me how to do implement
 it(Note: I don't want to call script). And one more thing to ask how can I
 transfer the values within the same context?

 --
 Regards,

 Ahmed Munir


 

 ___
 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







 -- Forwarded message --
 From: Tihomir Culjaga tculj...@gmail.com
 To: freeswitch-users@lists.freeswitch.org
 Date: Wed, 21 Oct 2009 13:13:13 +0200
 Subject: Re: [Freeswitch-users] Call custom variable in condition
 consider this:



 context name=SIP_incoming
extension name=call-sip-extensions
   condition field=destination_number expression=^(\d+)$
   action application=set data=AUTHENTICATION_STATUS=0/
action application=transfer data=${AUTHENTICATION_STATUS}
 XML Authen_Status/
   /condition
/extension
 /context



 context name=Authen_Status
  extension name=exten-auth-status
condition field=${AUTHENTICATION_STATUS} expression=^0$
   action application=answer/
   action application=playback data=play.wav/
   /condition
 /extension
   /context





 here is one of my dialplan. I'm using execute_extension but it is quite the
 same...



extension name=ServiceLookup
   condition field=destination_number expression=(^300030)(.*)
  action application=lookup_service_destination data=in
 ${caller_id_number:6:16}, in ${caller_id_number:0:6}, in $2, in $
 1, in ${network_addr}:5060, out red_contact, out authResult/
  action application=log data=INFO 
 ServiceLookup \n/
  action application=log data=INFO 
 contact = '${red_contact}' ##\n/
  action application=log data=INFO 
 CallerNum = '${caller_id_number:6:16}' ##\n/
  action application=log data=INFO 
 RADIUS auth = '${authResult}' ##\n/

  action application=execute_extension data=doRedirect XML
 public

[Freeswitch-users] mod_curl + mod_nibblebill

2009-10-20 Thread Ahmed Munir
Hi,

Consider below mob_nibblebill configuration,


configuration name=nibblebill.conf description=Nibble Billing
  settings

param name=db_username value=root/
param name=db_password value=password/
param name=db_dsn value=MySQL-freeswitch/

param name=db_table value=accounts/

param name=db_column_cash value=cash/

param name=db_column_account value=id/

param name=global_heartbeat value=60/

param name=lowbal_amt value=5/
param name=lowbal_action value=play ding/

 param name=nobal_amt value=0/
param name=nobal_action value=hangup/

 param name=percall_max_amt value=100/
param name=percall_action value=hangup/

  /settings
/configuration


When i put this configuration in
/usr/local/freeswitch/conf/autoload_configs, everything works perfect as
expected.

But when i call this configuration using mod_xml_curl, freeswitch does not
loads mod_nibblebill configuration from it. I even debuged mod_xml_curl
using console command,

xml_curl debug_on

and reload mod_nibblebill, I get exact same configuration from xml_curl but
mod_nibblebill does not repect it and try to use default parameter values as
mentioned below,


2009-10-20 16:58:23.396710 [ERR] switch_odbc.c:188 STATE: IM002 CODE 0
ERROR: [unixODBC][Driver Manager]Data source name not found, and no default
driver specified

2009-10-20 16:58:23.396738 [CRIT] mod_nibblebill.c:221 Cannot connect to
ODBC driver/database bandwidth.com (user: bandwidth.com / pass dev)!
2009-10-20 16:58:23.396800 [CONSOLE] switch_loadable_module.c:889
Successfully Loaded [mod_nibblebill]

I am also loading various other configs from xml_curl without any problem,
its only mod_nibblebill that is not honoring configuration provided by
xml_curl.

Please advise if i am doing anything wrong.


-- 
Regards,

Ahmed Munir
___
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] Questions regarding to mod_nibble

2009-10-08 Thread Ahmed Munir
 I want to ask three questions related to mod_nibble bills, as I'm listing
down below;

1- Can we select/use dynamic tables for billing using nibble bill?
2- Can we define more than two tables and attributes in nibblebill.conf.xml?
3- As Nibble bill is use to deduct amount of user account, Can we deduct
minutes instead of cash? Because my case is, if a user buy a package and I
only want to deducts his/her minutes. How we can resolve it by nibble bill?
/ What other way we can resolve it?

Kindly advise soon.

-- 
Regards,

Ahmed Munir
___
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] Configuring Nibble Bill

2009-10-07 Thread Ahmed Munir
Hi,

Thanks for replying. The advise u gave resolved my problem. I want to ask
three questions related to nibble bills, as I 'm listing down below;

1- Can we select/use dynamic tables for billing using nibble bill?
2- Can we define more than two tables and attributes in nibblebill.conf.xml?
3- As Nibble bill is use to deduct amount of user account, Can we deduct
minutes instead of cash? Because my case is, if a user buy a package and I
only want to deducts his/her minutes. How we can resolve it by nibble bill?
/ What other way we can resolve it?

Kindly advise soon.




 -- Forwarded message --
 From: Todd Baumgartner todd.baumgart...@gmail.com
 To: freeswitch-users@lists.freeswitch.org
 Date: Tue, 6 Oct 2009 10:31:06 -0400
 Subject: Re: [Freeswitch-users] Cannot connect to ODBC driver/database
 freeswitchdb
 Ahmed,

 I believe you need to specify the database name as it is configured in the
 odbc.ini

 I am assuming you have something like this in your nibblebill.conf.xml

 param name=db_dsn value=freeswitchdb/

 Try changing it to this as it is named in the odbc.ini:

 param name=db_dsn value=MySQL-freeswitch/


 Thanks,

 Todd



 On Tue, Oct 6, 2009 at 6:11 AM, Ahmed Munir ahmedmunir...@gmail.comwrote:

 Hi,
 I've installed FS on Ubuntu 9.04 and I want to run mod_nibbles on it. I
 follow the steps to configure my ODBC connection with MySQL as explained in
 wiki (mod_nibbles and mod_spidermonkey). But  FS, unable to connect it. The
 error I got is listed below when I restart FS,

 2009-10-06 15:47:21.164590 [ERR] switch_odbc.c:188 STATE: IM002 CODE 0
 ERROR: [unixODBC][Driver Manager]Data source name not found, and no default
 driver specified
 2009-10-06 15:47:21.164617 [CRIT] mod_nibblebill.c:221 Cannot connect to
 ODBC driver/database freeswitchdb (user: root / pass password)
 2009-10-06 15:47:21.164650 [CONSOLE] switch_loadable_module.c:889
 Successfully Loaded [mod_nibblebill]
 2009-10-06 15:47:21.164664 [NOTICE] switch_loadable_module.c:248 Adding
 Application 'nibblebill'
 2009-10-06 15:47:21.164710 [NOTICE] switch_loadable_module.c:270 Adding
 API Function 'nibblebill'

 But when I use isql it accepts my odbc connection i.e. isql
 MySQL-freeswitch

 I'm listing my settings of odbc.ini and odbcinst.ini as listed below;

 odbc.ini
 --
 [MySQL-freeswitch]
 Driver   = MySQL
 #Driver   = /usr/lib/odbc/libodbcmyS.so
 Description  = Connector/ODBC Driver DSN With FreeSwitch
 SERVER   = localhost
 PORT = 3306
 USER = root
 Password = password
 Database = freeswitchdb

 odbcinst.ini
 ---
 [MySQL]
 Description= ODBC for MySQL
 Driver = /usr/lib/odbc/libmyodbc.so
 Setup  = /usr/lib/odbc/libodbcmyS.so
 FileUsage  = 1


 odbc.ini and odbcinst.ini are located at /etc/. Even I set my odbc
 connection setting as I provide with this link;
 http://dev.mysql.com/doc/refman/5.0/en/connector-odbc-configuration-dsn-unix.html

 But unfortunately my problem is unresolved then.


 Kindly advise me, how can I resolve this problem?

 --
 Regards,

 Ahmed Munir



 ___
 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




-- 
Regards,

Ahmed Munir
___
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] Cannot connect to ODBC driver/database freeswitchdb

2009-10-06 Thread Ahmed Munir
Hi,
I've installed FS on Ubuntu 9.04 and I want to run mod_nibbles on it. I
follow the steps to configure my ODBC connection with MySQL as explained in
wiki (mod_nibbles and mod_spidermonkey). But  FS, unable to connect it. The
error I got is listed below when I restart FS,

2009-10-06 15:47:21.164590 [ERR] switch_odbc.c:188 STATE: IM002 CODE 0
ERROR: [unixODBC][Driver Manager]Data source name not found, and no default
driver specified
2009-10-06 15:47:21.164617 [CRIT] mod_nibblebill.c:221 Cannot connect to
ODBC driver/database freeswitchdb (user: root / pass password)
2009-10-06 15:47:21.164650 [CONSOLE] switch_loadable_module.c:889
Successfully Loaded [mod_nibblebill]
2009-10-06 15:47:21.164664 [NOTICE] switch_loadable_module.c:248 Adding
Application 'nibblebill'
2009-10-06 15:47:21.164710 [NOTICE] switch_loadable_module.c:270 Adding API
Function 'nibblebill'

But when I use isql it accepts my odbc connection i.e. isql MySQL-freeswitch

I'm listing my settings of odbc.ini and odbcinst.ini as listed below;

odbc.ini
--
[MySQL-freeswitch]
Driver   = MySQL
#Driver   = /usr/lib/odbc/libodbcmyS.so
Description  = Connector/ODBC Driver DSN With FreeSwitch
SERVER   = localhost
PORT = 3306
USER = root
Password = password
Database = freeswitchdb

odbcinst.ini
---
[MySQL]
Description= ODBC for MySQL
Driver = /usr/lib/odbc/libmyodbc.so
Setup  = /usr/lib/odbc/libodbcmyS.so
FileUsage  = 1


odbc.ini and odbcinst.ini are located at /etc/. Even I set my odbc
connection setting as I provide with this link;
http://dev.mysql.com/doc/refman/5.0/en/connector-odbc-configuration-dsn-unix.html

But unfortunately my problem is unresolved then.


Kindly advise me, how can I resolve this problem?

-- 
Regards,

Ahmed Munir
___
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] Need to know

2009-09-30 Thread Ahmed Munir
Hi,

Thanks for reply.  Actually I'm currently running asterisk and for billing
I'm using MySQL database. In the database i've listed various destination
against their different rates. When call is made a script which queries
MySQL for billing. My question is, how can I do this in FS using mod
nibbles(note: I'm running asterisk in realtime)? And my other question is,
will MySQL authenticates each time when call is made on FS?


Kindly advise me.



 -- Forwarded message --
 From: Ahmed Munir ahmedmunir...@gmail.com
 To: FreeSwitch freeswitch-users@lists.freeswitch.org
 Date: Wed, 30 Sep 2009 10:28:41 +0600
 Subject: [Freeswitch-users] Need to know
 Hi,

 I want to use mod_nibble in freeswitch for billing purpose. I've got some
 questions, as I'm listing down below;

 1-  How I create MySQL connection with FS?
 2-  Is it possible to query the database when billing occurs?
 3-  Will database credentials require each time when query to database?
 4-  I'm currently running MySQL database in production for billing
 purposes.Will it be okay to use my current database for mod_nibble?

 Kindly advise me soon and also please provide me the links as well.

 --
 Regards,

 Ahmed Munir




 -- Forwarded message --
 From: William Suffill william.suff...@gmail.com
 To: freeswitch-users@lists.freeswitch.org
 Date: Wed, 30 Sep 2009 00:43:37 -0400
 Subject: Re: [Freeswitch-users] Need to know
 mod_nibble uses ODBC. Via ODBC u can connect to mysql.

 http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core

 mod_nibble has it's own table design.
 http://wiki.freeswitch.org/wiki/Mod_nibblebill

 It may be possible to tweak it to use your current tables but I'd
 suggest getting the
 basics working based on the documentation on the wiki and build from there.

 -- W






-- 
Regards,

Ahmed Munir
___
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] Need to know

2009-09-29 Thread Ahmed Munir
Hi,

I want to use mod_nibble in freeswitch for billing purpose. I've got some
questions, as I'm listing down below;

1-  How I create MySQL connection with FS?
2-  Is it possible to query the database when billing occurs?
3-  Will database credentials require each time when query to database?
4-  I'm currently running MySQL database in production for billing
purposes.Will it be okay to use my current database for mod_nibble?

Kindly advise me soon and also please provide me the links as well.

-- 
Regards,

Ahmed Munir
___
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] How to process s extension in FS

2009-09-17 Thread Ahmed Munir
Hi,

How can I process s extension in FS? Is there other way around of doing it?
Kindly advice me.

-- 
Regards,

Ahmed Munir
___
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] How to Process Invalid extension in FS

2009-09-16 Thread Ahmed Munir
Hi,

I'm newbie in FS. I want to know how to process invalid extension in FS?
Because I want to prompt the IVR if invalid extension is dialled.


Kindly advice me.

-- 
Regards,

Ahmed Munir
___
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] How to filter the allowed string

2009-09-14 Thread Ahmed Munir
Hi,
I'm newbie in FS. I want to know how to Filter the string to include only
the allowed characters in FS?

Kindly advice me.
-- 
Regards,

Ahmed Munir
___
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] Implementing h extension in FS

2009-09-09 Thread Ahmed Munir
HI,

I'm newbie in FS, I want to know how to implement h extension of asterisk to
FS. As I listed down below;

h =
{
NOOP(Call Completed with Carrier ${CARRIER});
goto add_cdr|h|1;
};

My other question is, which application/function/class is use in mod_perl to
check the channel status? i.e. busy, answer,hangup,ringing,etc.


Kindly advice me soon.

-- 
Regards,

Ahmed Munir
___
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] Passing custom Dial Plans in perl

2009-09-07 Thread Ahmed Munir
Hi,

I've set some variables in dialplan XML and I want to call these variables
in perl, i.e.

dialplan.xml

action application=set data=DIALEXCUTED=NO/

Also after executing in perl the value of this variable pass to dialplan.xml

Kindly tell me how to do this.

-- 
Regards,

Ahmed Munir
___
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] Checking Busy Status

2009-09-06 Thread Ahmed Munir
Hi,

How can I check the busy status in FS? I've searched all the wiki pages i.e.
dptools, dialplans, dialplanxml and even mod_perl portion as well, but
couldn't find checking busy status.

I've written a perl script but couldn't complete it because theres no any
function or class regrding busy status. Kindly let me know how can I check
the busy status in mod_perl and also in dialplan tools as well.


-- 
Regards,

Ahmed Munir
___
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] Checking Busy Status

2009-09-06 Thread Ahmed Munir
Hi,

Thanks for quick reply. I want to know how can I apply USER_BUSY in perl?
Like for hangup I'm calling it from function Freeswitch::CoreSession i.e.

$session-hangup();

Do I have to call it as listed below;

$session-USER_BUSY();

or there other way around in perl?

Kindly do let me know.



 -- Forwarded message --
 From: Mathieu Rene mrene_li...@avgs.ca
 To: freeswitch-users@lists.freeswitch.org
 Date: Sun, 6 Sep 2009 22:01:58 -0700
 Subject: Re: [Freeswitch-users] Checking Busy Status
 The hangup cause will be USER_BUSY.

 You can hop on #freeswitch if you need some explanations.

 Mathieu Rene
 Avant-Garde Solutions Inc
 Office: + 1 (514) 664-1044 x100
 Cell: +1 (514) 664-1044 x200
 mr...@avgs.ca




 On 6-Sep-09, at 9:58 PM, Ahmed Munir wrote:

  Hi,

 How can I check the busy status in FS? I've searched all the wiki pages
 i.e. dptools, dialplans, dialplanxml and even mod_perl portion as well, but
 couldn't find checking busy status.

 I've written a perl script but couldn't complete it because theres no any
 function or class regrding busy status. Kindly let me know how can I check
 the busy status in mod_perl and also in dialplan tools as well.


 --
 Regards,

 Ahmed Munir


 ___
 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




-- 
Regards,

Ahmed Munir
___
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] Passing Variables in FS

2009-09-04 Thread Ahmed Munir
Hi,

I'm newbie in FS. As far as I know for setting up custom variables in FS we
use this syntex  in dialplan XML i.e.

action application=set data=ABC='value'/

But when I call this variable using eval application i.e.

action application=eval data=${ABC}/

the value I get from variable ABC is undefined means no values are passed to
the variable.

So kindly do let me know how I can pass values in variables in FS.

-- 
Regards,

Ahmed Munir
___
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] Define Condition in FreeSwitch

2009-08-26 Thread Ahmed Munir
Hi,

   I'm newbie. How can we translate the asterisk's condition in freeswitch
as listed below;

   1. NoOp (Remote Conference Call)
   2. GotoIf ($[${LEN(${DIALSTR})}=0]?3:4)
   3. Hangup()
   4. NoOp(Finish if-CONFERENCE-430)

   Kindly reply soon.

-- 
Regards,

Ahmed Munir
___
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] Application Variable list needed

2009-08-20 Thread Ahmed Munir
Hi,
I'm newbie in FreeSwitch, currently I'm replacing asterisk with FreeSwitch.
I need list of application variables so I can easily translate my asterisk
configuration in FreeSwitch. Like I don't know how I translate my dial plan
in FreeSwitch as I like to forward it to another context as sample listed
below;

exten = _X.,1,Goto(origination_incoming,${EXTEN},1)
exten = _X.,n,Hangup()

My another request is how can I change extensions.ael in asterisk to
FreeSwitch? Is there alternative way of doing this? Kindly do let me know.

-- 
Regards,

Ahmed Munir
___
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