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

Strange Case with two different rateplans
http://forum.asterisk2billing.org/viewtopic.php?f=16&t=7610
Page 1 of 1

Author:  dereckrahhal [ Tue May 04, 2010 11:03 pm ]
Post subject:  Strange Case with two different rateplans

Greetings.
i setup two call plans wiht two different ratecards
i created a card (post paid) and assigned it to callplan 1..
calls go smoothly with no problems
when i assigned the card to rateplan 2
after the call is answered by the called number.. Asterisk starts playing the amount of minutes remaining to talk.. and the call is still active!
following is the debug of the second scenario

Quote:
a2billing.php|1: file:Class.RateEngine.php - line:985 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'.
-- AGI Script Executing Application: (Dial) Options: (SIP/PROVIDER/90212444XYZW|60|HL(3619019000:61000:30000))
-- Limit Data for this call:
> timelimit = 3619019000
> play_warning = 61000
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000
> start_sound = (null)
> warning_sound = timeleft
> end_sound = (null)
-- Called PROVIDER/90212444XYZW
-- SIP/PROVIDER-1fd3f9c0 is making progress passing it to SIP/USDB-ac00e580
-- SIP/PROVIDER-1fd3f9c0 answered SIP/USDB-ac00e580
-- <SIP/USDB-ac00e580> Playing 'vm-youhave' (language 'en')
-- <SIP/USDB-ac00e580> Playing 'digits/60' (language 'en')
-- <SIP/USDB-ac00e580> Playing 'digits/thousand' (language 'en')
-- <SIP/USDB-ac00e580> Playing 'digits/3' (language 'en')
-- <SIP/USDB-ac00e580> Playing 'queue-minutes' (language 'en')
-- <SIP/USDB-ac00e580> Playing 'digits/50' (language 'en')
-- <SIP/USDB-ac00e580> Playing 'digits/9' (language 'en')
-- <SIP/USDB-ac00e580> Playing 'queue-seconds' (language 'en')


anyone can help?

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