Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Apr 27, 2024 1:21 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Incomplete voice prompt
PostPosted: Tue May 19, 2009 9:22 am 
Offline
User avatar

Joined: Sat Mar 28, 2009 5:50 am
Posts: 96
The problem i am getting is when I dial-in to the system then i can hear only half the voice prompt i.e. "complete pin number". if i enter the pin incorrectly then second time I can hear the full voice prompt i.e. "pls enter your complete pin number"


why is it truncating the voice prompt first time some1 dials-in? Any ideas??

cheers


Top
 Profile  
 
 Post subject: Re: Incomplete voice prompt
PostPosted: Tue May 19, 2009 7:36 pm 
Offline
User avatar

Joined: Sat Mar 28, 2009 5:50 am
Posts: 96
Anyone ?!


Top
 Profile  
 
 Post subject: Re: Incomplete voice prompt
PostPosted: Tue May 19, 2009 8:01 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Put a wait command in the dial plan to let everything settle, then go into the agi

Joe


Top
 Profile  
 
 Post subject: Re: Incomplete voice prompt
PostPosted: Tue May 19, 2009 11:00 pm 
Offline
User avatar

Joined: Sat Mar 28, 2009 5:50 am
Posts: 96
I have already tried wait but no use, I have tried gsm file format and also wav file format, also in sip.conf, for the trunk i tried alaw ulaw gsm, but still getting the truncated voice. Strange thing is that it only happens when the call connects, later on all the prompts works fine ?? Any ideas ?!


Top
 Profile  
 
 Post subject: Re: Incomplete voice prompt
PostPosted: Wed May 20, 2009 4:31 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Sorry, should have said, answer the call, wait, then pass the call into the agi.

Joe


Top
 Profile  
 
 Post subject: Re: Incomplete voice prompt
PostPosted: Wed May 20, 2009 10:09 am 
Offline
User avatar

Joined: Sat Mar 28, 2009 5:50 am
Posts: 96
thanks joe, i worked this time. but i am wondering if i put answer() command, my customers will be charged even if the call did not connect to the other end. as i am answering it on my end ??


Top
 Profile  
 
 Post subject: Re: Incomplete voice prompt
PostPosted: Wed May 20, 2009 10:15 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Right idea, but not in your case - I imagine!!!

If this was wholesale, you would definitely not answer the call, but you would not be playing prompts either.

Likewise, if you were terminating PBX systems, you probably would not answer the call, so the PBX CDR record matched the A2Billing CDR, and again you would not be playing prompts.

The customer, who I imagine is some kind of calling card customer as you are playing prompts, in this case, will not be charged until someone answers the call downstream of you.

At risk of stating the obvious, you need to answer the call to play voice prompts!

Joe


Top
 Profile  
 
 Post subject: Re: Incomplete voice prompt
PostPosted: Wed May 20, 2009 10:29 am 
Offline
User avatar

Joined: Sat Mar 28, 2009 5:50 am
Posts: 96
good point, thanks heaps!


Top
 Profile  
 
 Post subject: Re: Incomplete voice prompt
PostPosted: Thu May 21, 2009 11:50 pm 
Offline
User avatar

Joined: Sat Mar 28, 2009 5:50 am
Posts: 96
well i did some testing by putting the answer() and then wait() command, it worked :) and the voice prompt is working fine. but this introduced a billing problem which is

i dial a number and while the phone on the other end is still ringing i press *, then the system ask me to dial another number and does not charge me for the call (this is fine). but instead of pressing *, if i hangup while the phone is ringing then the system is charging me for 1 sec call. what could be the problem ?

NOTE: if nobody picks up the call for 60 sec then everything works fine... a2billing timeouts and i do not get billed for this.

my dial plan is

[a2billing]
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php)
exten => _X.,n,Hangup


Top
 Profile  
 
 Post subject: Re: Incomplete voice prompt
PostPosted: Sun May 24, 2009 5:06 am 
Offline

Joined: Sat Sep 30, 2006 11:22 am
Posts: 167
Location: South East Florida
Hi, I have tested mine with local call. I hungup while ringing and was not billed. This is my dial plan, I have a second "wait" after agi, you may test it and see if it works for you.

exten => _X.,1,Answer
exten => _X.,2,Wait,2
exten => _X.,3,DeadAGI(a2billing.php)
exten => _X.,4,Wait,2
exten => _X.,5,Hangup

I'm using A2Billing version 1.4-RC1. With asterisk 1.4 I guess you are using 1.6 then keep your brackets.
Hope it helps.


Top
 Profile  
 
 Post subject: Re: Incomplete voice prompt
PostPosted: Wed May 27, 2009 2:55 am 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
voipuser1400, I would suggest that you do not answer the call or use the wait command.

Answering the call on purpose will cause false answer and using the await command will introduce a useless delay without fixing the problem.

There is a configuration variable in the a2billing configuration that allows you to specify an audio prompt that you want to be played at the begining of each call. Now, your first voice prompts being played are all being chopy or truncated because the sound engine is having hard time starting up. You can play one of the silent sound files that are shipped with asterisk. Since they are silent, you will not notice the interruption and by the time asterisk will start playing an actual usefull sound file, you won't miss any part of it.

For instance, you could use this ...

Code:
intro_prompt = "silent/1"


Cheers


Top
 Profile  
 
 Post subject: Re: Incomplete voice prompt
PostPosted: Fri May 29, 2009 6:28 am 
Offline
User avatar

Joined: Sat Mar 28, 2009 5:50 am
Posts: 96
thx asiby. i have tried your solution but it didnt fix the issue.

but my problem is fixed now. it was the remote gateway false answering the calls.

cheers


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 42 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group