Please dont tell me this is impossible

Report
Question

I have been fighting all night with version 1.8 and have not found a
way to do this with any command or Perl AGI->command. I need to play a
file and wait until the customer presses at least $maxdigits to
return, BUT, the file must continue playing until $maxdigits is
received or $timeout has expired. So far I found impossible to achieve
this functionality. Am I missing something?
Philip

Asterisk Users 3.1 years ago 5 Answer

voicemail password with phone instrument

Report
Question

Hello, voicemail password is not getting changed through phone handset while IVR indicates that password has been changed. During google I found that uniqueid column must not be changed so it is not changed. Please guide on this. During debug log I found below but in mysql db new password is not getting updated, [Jun 15 13:54:07] VERBOSE[6418] file.c: -- Playing 'vm-newpassword.gsm' (language 'en')
[Jun 15 13:54:10] DEBUG[6418] channel.c: Set channel SIP/123-00000005 to write format ulaw[Jun 15 13:54:15] VERBOSE[6418] file.c: --
Playing 'vm-reenterpassword.gsm' (language 'en')[Jun 15 13:54:22] DEBUG[6418] app_voicemail.c: User 123 set password to 3333…

Asterisk Users 3.1 years ago 1 Answer

Use of rtptimeout

Report
Question

Hi list, I want to use rtptimeout function on asterisk 1.4 but any docs I read,
it is said that I need to configure it in sip.conf file,
But can I use rtptimeout in users.conf file or do I need to configure
all the SIP accounts on sip.conf file before I can use rtptimeout ? thanks.

Asterisk Users 3.1 years ago 1 Answer

Call Record File and Play

Report
Question

Hello, I am trying to achieve call record file and play the file to the user using
phpagi script. I am using the following code $rand="/var/sounds/145712900"; $agi->record_file($rand, "gsm", "0123456789*#", -1, 0, true, 0); also tried $agi->record_file($rand, "wav", "0123456789*#", -1, 0, true, 0); the file is created in the directory but when I try to play the sound I get
the following error incase of gsm AGI Rx < < STREAM FILE /var/sounds/145712900 "" 0
[May 24 14:00:07] WARNING[22415][C-0000019c]: file.c:492 filehelper: File
/var/sounds/145712900.gsm detected to have zero size. and the following error incase of wav file…

Asterisk Users 3.2 years ago 1 Answer