Re: [Asterisk-Users] Examples of LIMIT_CONNECT_FILE and other LIMIT_XX Options

2005-11-19 Thread Obelix
Quoting Andres [EMAIL PROTECTED]:


 
 At the top of extensions.conf you can put:

 LIMIT_TIMEOUT_FILE=no-funds
 LIMIT_CONNECT_FILE=timeleft


How do you apply it to a particular call in a dial command itself? I require it
for dynamically generated dial commands in a calling card app, and it may not
apply to all calls.

Can the extensions.conf option be applied on a peer, or user basis?

Obelix


 Obelix wrote:

 I want to play a sound on the connection of a call using the
 LIMIT_CONNECT_FILE
 option but can't find any examples.
 
 Does anyone have any examples? Examples of the usage of the other LIMIT_xx
 options would also be appreciated.
 
 Obelix
 
 
 At the top of extensions.conf you can put:

 LIMIT_TIMEOUT_FILE=no-funds
 LIMIT_CONNECT_FILE=timeleft


 Andres.

 ___
 --Bandwidth and Colocation sponsored by Easynews.com --

 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users






This message was sent using IMP, the Internet Messaging Program.

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Examples of LIMIT_CONNECT_FILE and other LIMIT_XX Options

2005-11-19 Thread Obelix
Quoting Obelix [EMAIL PROTECTED]:

I tried this dial command

SIP/providername/002345678|42|HL(2658:61000:3:LIMIT_CONNECT_FILE=soundfile)

-- Limit Data:
-- timelimit=2658
-- play_warning=61000
-- play_to_caller=yes
-- play_to_callee=no
-- warning_freq=3
-- start_sound=UNDEF
-- warning_sound=timeleft
-- end_sound=UNDEF

The start_sound option is blank. I expect it to be the value soundfile which is
the LIMIT_CONNECT_FILE option, but it says UNDEF.

Am I using the right syntax in the dial command?



 Quoting Andres [EMAIL PROTECTED]:


  
  At the top of extensions.conf you can put:
 
  LIMIT_TIMEOUT_FILE=no-funds
  LIMIT_CONNECT_FILE=timeleft
 

 How do you apply it to a particular call in a dial command itself? I require
 it
 for dynamically generated dial commands in a calling card app, and it may not
 apply to all calls.

 Can the extensions.conf option be applied on a peer, or user basis?

 Obelix


  Obelix wrote:
 
  I want to play a sound on the connection of a call using the
  LIMIT_CONNECT_FILE
  option but can't find any examples.
  
  Does anyone have any examples? Examples of the usage of the other LIMIT_xx
  options would also be appreciated.
  
  Obelix
  
  
  At the top of extensions.conf you can put:
 
  LIMIT_TIMEOUT_FILE=no-funds
  LIMIT_CONNECT_FILE=timeleft
 
 
  Andres.
 
  ___
  --Bandwidth and Colocation sponsored by Easynews.com --
 
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 




 
 This message was sent using IMP, the Internet Messaging Program.

 ___
 --Bandwidth and Colocation sponsored by Easynews.com --

 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users






This message was sent using IMP, the Internet Messaging Program.

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Examples of LIMIT_CONNECT_FILE and other LIMIT_XX Options

2005-11-18 Thread Obelix

I want to play a sound on the connection of a call using the LIMIT_CONNECT_FILE
option but can't find any examples.

Does anyone have any examples? Examples of the usage of the other LIMIT_xx
options would also be appreciated.

Obelix



This message was sent using IMP, the Internet Messaging Program.

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Examples of LIMIT_CONNECT_FILE and other LIMIT_XX Options

2005-11-18 Thread Andres

Obelix wrote:


I want to play a sound on the connection of a call using the LIMIT_CONNECT_FILE
option but can't find any examples.

Does anyone have any examples? Examples of the usage of the other LIMIT_xx
options would also be appreciated.

Obelix
 


At the top of extensions.conf you can put:

LIMIT_TIMEOUT_FILE=no-funds
LIMIT_CONNECT_FILE=timeleft


Andres.

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users