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

calling
http://forum.asterisk2billing.org/viewtopic.php?f=15&t=5778
Page 1 of 1

Author:  cooltechgy [ Wed Jun 24, 2009 11:11 pm ]
Post subject:  calling

Hi Guy

when i make a call the will will ring the number i am calling and then i can talk for 5-8 sec then there nothing more when i check asterisk CLI i see this.

Please advice


Quote:
-- SIP/outbound.vitelity.net-09b91b90 answered SIP/2495601945-09bbd680

== Connect attempt from '127.0.0.1' unable to authenticate
a2billing.php|1: file:Class.RateEngine.php - line:1086 - -> dialstatus :
ANSWER, answered time is 6 a2billing.php|1: a2billing.php|1:
file:Class.RateEngine.php - line:1090 - [USEDRATECARD=0] a2billing.php|1:
file:Class.RateEngine.php - line:777 - ft2c_package_offer : 0 ; ; 0
a2billing.php|1: file:Class.RateEngine.php - line:848 - [CC_asterisk_stop
QUERY = INSERT INTO cc_call
(uniqueid,sessionid,username,nasipaddress,starttime,sessiontime,
calledstation, terminatecause, stoptime, calledrate, sessionbill,
calledcountry, calledsub, destination, id_tariffgroup, id_tariffplan,
id_ratecard, id_trunk, src, sipiax, buyrate, buycost,
id_card_package_offer) VALUES ('1245860109.4', 'SIP/2495601945-09bbd680',
'2495601945', , CURRENT_TIMESTAMP - INTERVAL 6 SECOND , '6',
'18662161072', 'ANSWER', now(), '0.02', '+0.002', , , 'US Moblie', '1',
'1', '1', '2', '563138345088513', '0', '0.01', '0.001', '0')]
a2billing.php|1: file:Class.RateEngine.php - line:851 - [CC_asterisk_stop
1.1: SQL: DONE : result=1] a2billing.php|1: file:Class.RateEngine.php -
line:869 - [CC_asterisk_stop 1.2: SQL: UPDATE cc_card SET credit=
credit-0.002 , redial='18662161072' , lastuse=now(), nbused=nbused+1 WHERE
username='2495601945'] a2billing.php|1: file:Class.RateEngine.php -
line:874 - UPDATE cc_trunk SET secondusedreal = secondusedreal + 6 WHERE
id_trunk='2' a2billing.php|1: file:Class.RateEngine.php - line:878 -
UPDATE cc_tariffplan SET secondusedreal = secondusedreal + 6 WHERE id='1'
a2billing.php|1: file:a2billing.php - line:310 - [a2billing account stop]
a2billing.php|1: file:a2billing.php - line:170 - [CHANNEL STATUS : 6 =
Line is up] a2billing.php|1: file:a2billing.php - line:171 - [CREDIT :
9.9835][CREDIT MIN_CREDIT_2CALL : 0] a2billing.php|1:
file:Class.A2Billing.php - line:656 - 0 && && 11&& 1

-- <SIP/2495601945-09bbd680> Playing 'prepaid-enter-dest'
(language 'en')

a2billing.php|1: file:Class.A2Billing.php - line:663 - RES DTMF : -1
a2billing.php|1: file:Class.A2Billing.php - line:681 - DESTINATION ::> -1
a2billing.php|1: file:Class.A2Billing.php - line:683 - RULES APPLY ON
DESTINATION ::> -1

-- Playing 'prepaid-invalid-digits' (escape_digits=#)
(sample_offset 0)

a2billing.php|1: file:a2billing.php - line:170 - [CHANNEL STATUS : 6 =
Line is up] a2billing.php|1: file:a2billing.php - line:171 - [CREDIT :
9.9835][CREDIT MIN_CREDIT_2CALL : 0] a2billing.php|1:
file:Class.A2Billing.php - line:656 - 0 && && 11&& 2

-- <SIP/2495601945-09bbd680> Playing 'prepaid-enter-dest'
(language 'en')

a2billing.php|1: file:Class.A2Billing.php - line:663 - RES DTMF : -1
a2billing.php|1: file:Class.A2Billing.php - line:681 - DESTINATION ::> -1
a2billing.php|1: file:Class.A2Billing.php - line:683 - RULES APPLY ON
DESTINATION ::> -1

-- Playing 'prepaid-invalid-digits' (escape_digits=#)
(sample_offset 0)

a2billing.php|1: file:Class.A2Billing.php - line:634 - [CARD STATUS
UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='2495601945']

-- AGI Script a2billing.php completed, returning -1

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