Re: [asterisk-users] Rookie question, trying to learn

2006-08-03 Thread Randy Paries

On 8/2/06, Time Bandit [EMAIL PROTECTED] wrote:

 The problem a number of people are not entering the pin fast enough
 ,they are not given enough time to enter the PIN( I assume this is a
 mailbox number)

 looking at all the doc is seems everything is configurable, can some
 one point me in the right direction of where to start looking?
check http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+DigitTimeout

and http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+ResponseTimeout



Thanks
So these look like the ticket.
but when i look at my /etc/asterisk/extensions.conf.
I do not see anywhere obvious to put these.


#cat /etc/asterisk/extensions.conf
[leavemsg]
exten = lm,1,AGI(leavemsg.php)
exten = lm,2,DeadAGI(convert2mp3.php)
exten = lm,4,DeadAGI(setpriv.php)

exten = t,1,DeadAGI(convert2mp3.php)
exten = t,2,DeadAGI(setpriv.php)

exten = h,1,DeadAGI(convert2mp3.php)
exten = h,2,DeadAGI(setpriv.php)

[recordvoice]

;Record the welcome message press 1 to leave msg , press 2 to check voice msg
exten = 1,1,Record(iexodus_welcome:gsm)
exten = 1,3,Hangup

;Record input digit please input receiver number
exten = 2,1,Record(iexodus_input_receiver_number:gsm)
exten = 2,2,Hangup

;Record error input receiver number
exten = 3,1,Record(iexodus_input_error_receiver_number:gsm)
exten = 3,2,Hangup

;Hangup
exten = t,1,Hangup
exten = #,1,Hangup

[inbound]

exten = _.,1,Answer
exten = _.,2,Background(iexodus_welcome)   ;play back thank you
for calling to this service

exten = _.,3,Goto(leavemsg,lm,1)

exten = 9876543211,1,Goto(recordvoice,1,1)
exten = 9876543211,2,Hangup

exten = 9876543212,1,Goto(recordvoice,2,1)
exten = 9876543212,2,Hangup

exten = 9876543213,1,Goto(recordvoice,3,1)
exten = 9876543213,2,Hangup
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Rookie question, trying to learn

2006-08-03 Thread Marco Mouta
Hi,Your Consultant has developed it with PHP scripts, so you must check those files in /var/lib/asterisk/agi-binYour application logic is there.Hope it helps,Best regards,Marco Mouta
On 8/3/06, Randy Paries [EMAIL PROTECTED] wrote:
On 8/2/06, Time Bandit [EMAIL PROTECTED] wrote:  The problem a number of people are not entering the pin fast enough  ,they are not given enough time to enter the PIN( I assume this is a
  mailbox number)   looking at all the doc is seems everything is configurable, can some  one point me in the right direction of where to start looking? check 
http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+DigitTimeout and http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+ResponseTimeout
ThanksSo these look like the ticket.but when i look at my /etc/asterisk/extensions.conf.I do not see anywhere obvious to put these.#cat /etc/asterisk/extensions.conf[leavemsg]
exten = lm,1,AGI(leavemsg.php)exten = lm,2,DeadAGI(convert2mp3.php)exten = lm,4,DeadAGI(setpriv.php)exten = t,1,DeadAGI(convert2mp3.php)exten = t,2,DeadAGI(setpriv.php)exten = h,1,DeadAGI(
convert2mp3.php)exten = h,2,DeadAGI(setpriv.php)[recordvoice];Record the welcome message press 1 to leave msg , press 2 to check voice msgexten = 1,1,Record(iexodus_welcome:gsm)
exten = 1,3,Hangup;Record input digit please input receiver numberexten = 2,1,Record(iexodus_input_receiver_number:gsm)exten = 2,2,Hangup;Record error input receiver number
exten = 3,1,Record(iexodus_input_error_receiver_number:gsm)exten = 3,2,Hangup;Hangupexten = t,1,Hangupexten = #,1,Hangup[inbound]exten = _.,1,Answerexten = _.,2,Background(iexodus_welcome) ;play back thank you
for calling to this serviceexten = _.,3,Goto(leavemsg,lm,1)exten = 9876543211,1,Goto(recordvoice,1,1)exten = 9876543211,2,Hangupexten = 9876543212,1,Goto(recordvoice,2,1)
exten = 9876543212,2,Hangupexten = 9876543213,1,Goto(recordvoice,3,1)exten = 9876543213,2,Hangup___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Rookie question, trying to learn

2006-08-03 Thread Randy Paries

On 8/3/06, Marco Mouta [EMAIL PROTECTED] wrote:

Hi,
Your Consultant has developed it with PHP scripts, so you must check those
files in

/var/lib/asterisk/agi-bin

Your application logic is there.

Hope it helps,
Best regards,
Marco Mouta






Marco (thanks for the response)

so if understand this correctly, i need to place these calls
ResponseTimeout(seconds)
and
use 'Set(TIMEOUT(digit)=timeout)'
in  my leavemsg.php
based on
#cat /etc/asterisk/extensions.conf
[leavemsg]
exten = lm,1,AGI(leavemsg.php)
exten = lm,2,DeadAGI(convert2mp3.php)
exten = lm,4,DeadAGI(setpriv.php)

So this is a stupid question

In my leavemsg.php i see things like
fwrite(STDOUT,SET PRIORITY $priority\n);

so i assume he is building something on the fly

so if i want to add these commands , i would  do somthing like
fwrite(STDOUT,ResponseTimeout(seconds)\n);

Am i on the write path?

Thanks
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Rookie question, trying to learn

2006-08-02 Thread Randy Paries

Hello, I hired a consultant to setup and asterisk box for me.
I am trying to learn how to maintain some of the things myself,
because the response time on maint requests from this wonderful
consult are brutal (u know once they have their money)

anyways. currently we have it set up so when someone calls our
asterisk they are prompted for a PIN. they enter the PIN and are able
to leave a message to that mailbox.

The problem a number of people are not entering the pin fast enough
,they are not given enough time to enter the PIN( I assume this is a
mailbox number)

looking at all the doc is seems everything is configurable, can some
one point me in the right direction of where to start looking?

Thanks
Randy
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Rookie question, trying to learn

2006-08-02 Thread Time Bandit

The problem a number of people are not entering the pin fast enough
,they are not given enough time to enter the PIN( I assume this is a
mailbox number)

looking at all the doc is seems everything is configurable, can some
one point me in the right direction of where to start looking?

check http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+DigitTimeout

and http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+ResponseTimeout

Hope this help
___
--Bandwidth and Colocation provided by Easynews.com --

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