asterisk2billing.org
http://forum.asterisk2billing.org/

I get a message which plays total time to call
http://forum.asterisk2billing.org/viewtopic.php?f=15&t=4249
Page 1 of 1

Author:  bhavini [ Thu Sep 11, 2008 6:29 am ]
Post subject:  I get a message which plays total time to call

Hello,

I have A2B set up on 3 servers, same version, same rate cards.
How ever on one of the systems when i am dialing a landline number i get a message played 'You have thirty six thousand....minutes ... seconds', this message keeps playing repetadly.

I checked and found that the number of minutes that it is playing is the time to call, however i have set
; Play the amount of time that the user can call (values : yes - no)
say_timetocall = NO



This is what i get on the CLI

OK - RESFINDRATE::> 1
a2billing.php: file:Class.A2Billing.php - line:743 - RES_ALL_CALCULTIMEOUT ::> 1
a2billing.php: file:Class.A2Billing.php - line:760 - TIMEOUT::> 2197320 : minutes=36622 - seconds=0
a2billing.php: file:Class.A2Billing.php - line:771 - PLAYING THIS::> 2197320 : minutes=36622 - seconds=0
a2billing.php: file:Class.RateEngine.php - line:923 - TECH USED IS zap
a2billing.php: file:Class.RateEngine.php - line:991 - app_callingcard: Dialing 'zap/5/28470101|60|HRrL(2197320000:61000:30000)bicserver' with timeout of '2197320'.
a2billing.php:
a2billing.php: file:Class.RateEngine.php - line:1016 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'.
-- AGI Script Executing Application: (Dial) Options: (zap/5/28470101|60|HRrL(2197320000:61000:30000)bicserver)
-- Limit Data for this call:
> timelimit = 2197320000
> play_warning = 61000
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000
> start_sound = (null)
> warning_sound = timeleft
> end_sound = (null)
-- Called 5/28470101

== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 222.2.2.160
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 222.2.2.160
== Manager 'sendcron' logged off from 222.2.2.160
== Manager 'sendcron' logged off from 222.2.2.160
-- Zap/Zap/5-1 answered IAX2/201-7
--<IAX2/201-7> Playing 'vm-youhave' (language 'en')
-- <IAX2/201-7> Playing 'digits/30' (language 'en')
-- <IAX2/201-7> Playing 'digits/6' (language 'en')
-- <IAX2/201-7> Playing 'digits/thousand' (language 'en')
-- <IAX2/201-7> Playing 'digits/6' (language 'en')
-- <IAX2/201-7> Playing 'digits/hundred' (language 'en')
-- <IAX2/201-7> Playing 'digits/20' (language 'en')
-- <IAX2/201-7> Playing 'digits/2' (language 'en')
-- <IAX2/201-7> Playing 'queue-minutes' (language 'en')

There is one more thing to note that when i call mobile numbers the call goes through without any problem, however when i dial a land line number the call rings on the other side, when the callee pick up he can not hear anything and on the CLI it shows ringing and the caller starts getting the message 'you have ....minutes'

Please help.

Author:  stavros [ Thu Sep 11, 2008 1:51 pm ]
Post subject: 

In Asterisk 'Zap' is spelled with a capital Z, not like this:
Quote:
-- AGI Script Executing Application: (Dial) Options: (zap/5/28470101|60|HRrL(2197320000:61000:30000)bicserver)
Which probably goes some way to explaining why there are two (!) channel technologies given here:
Quote:
-- Zap/Zap/5-1 answered IAX2/201-7
Likewise I don't think 'bicserver' are valid flags to the Dial command.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/