Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 8:57 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: IVR codec
PostPosted: Tue Apr 07, 2009 3:54 pm 
Offline

Joined: Sun Apr 05, 2009 7:49 pm
Posts: 8
Hello,

the IVR is always playing gsm-soundfiles, even the inbound-peer has allow=g729 only. How can i fix this ?

Regards


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 07, 2009 4:28 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Install some G.729 format prompts into the correct Asterisk sounds folder.


Top
 Profile  
 
 Post subject: ivr sound
PostPosted: Tue Apr 07, 2009 6:10 pm 
Offline

Joined: Sun Apr 05, 2009 7:49 pm
Posts: 8
Hello

i copied the g729 files from a2b-source into the /var/asterisk/sounds to all the gsm files. I am using SVN-trunk-r186537 asterisk, and now i am getting

[Apr 7 19:57:45] WARNING[9572]: file.c:721 ast_readaudio_callback: Failed to write frame
-- <SIP/x.x.x.x:5060-082e9d70> Playing 'prepaid-enter-pin-number.gsm' (language 'en')
-- Playing 'prepaid-invalid-digits' (escape_digits=#) (sample_offset 0)
[Apr 7 19:57:45] WARNING[9572]: file.c:721 ast_readaudio_callback: Failed to write frame
-- <SIP/x.x.x.x:5060-082e9d70>AGI Script a2billing.php completed, returning -1

Now no matter if the call is GSM or G729, this error now shows up and i got immediatly a call-complete.

But one strange thing:
without those g729 in soundfolder incoming G729 calls are getting processed in IVR correctly, also the DTMF tones getting recognized. I just cannot hear anything.



in /var/log/messages i read:

php: /var/lib/asterisk/agi-bin/lib/Class.A2Billing.php[659]: Undefined index: asterisk_version

php: /var/lib/asterisk/agi-bin/a2billing.php[152]: Undefined index: intro_prompt

php: /var/lib/asterisk/agi-bin/lib/Class.A2Billing.php[239]: date(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead

Any help very much apreciated.

Christian


Top
 Profile  
 
 Post subject: Re: ivr sound
PostPosted: Tue Apr 07, 2009 6:51 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
cruiser13 wrote:
I am using SVN-trunk-r186537 asterisk, and now i am getting

[Apr 7 19:57:45] WARNING[9572]: file.c:721 ast_readaudio_callback: Failed to write frame
That message indicates the call has already cleared down (or not been answered). We don't support Asterisk here (especially unreleased versions), so please take discussion of that problem elsewhere.
Quote:
php: /var/lib/asterisk/agi-bin/lib/Class.A2Billing.php[659]: Undefined index: asterisk_version

php: /var/lib/asterisk/agi-bin/a2billing.php[152]: Undefined index: intro_prompt
These need to be fixed; they look like bugs.

Quote:
php: /var/lib/asterisk/agi-bin/lib/Class.A2Billing.php[239]: date(): It is not safe to rely on the system's timezone settings.
Configure PHP's timezone correctly.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group