Hello,
I got the following situation trying to configure callback.
If asterisk_version (global section) is set 1_4 web-callback calls to <number_1> and does not call to <number_2>, but it asks user 1 to enter a number he wish to call. After entring <number_2> the call is connected and there is no problems with audio. CLI output:
Code:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> Channel SIP/Best-00000a35 was answered.
-- Executing [380504401330@a2billing-callback:1] Answer("SIP/Best-00000a35", "") in new stack
-- Executing [380504401330@a2billing-callback:2] AGI("SIP/Best-00000a35", "a2billing.php,1,callback") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
<SIP/Best-00000a35>AGI Tx >> agi_request: a2billing.php
<SIP/Best-00000a35>AGI Tx >> agi_channel: SIP/Best-00000a35
<SIP/Best-00000a35>AGI Tx >> agi_language: en
<SIP/Best-00000a35>AGI Tx >> agi_type: SIP
<SIP/Best-00000a35>AGI Tx >> agi_uniqueid: 1261697837.2613
<SIP/Best-00000a35>AGI Tx >> agi_version: 1.6.0.18
<SIP/Best-00000a35>AGI Tx >> agi_callerid: 123456
<SIP/Best-00000a35>AGI Tx >> agi_calleridname: unknown
<SIP/Best-00000a35>AGI Tx >> agi_callingpres: 0
<SIP/Best-00000a35>AGI Tx >> agi_callingani2: 0
<SIP/Best-00000a35>AGI Tx >> agi_callington: 0
<SIP/Best-00000a35>AGI Tx >> agi_callingtns: 0
<SIP/Best-00000a35>AGI Tx >> agi_dnid: unknown
<SIP/Best-00000a35>AGI Tx >> agi_rdnis: unknown
<SIP/Best-00000a35>AGI Tx >> agi_context: a2billing-callback
<SIP/Best-00000a35>AGI Tx >> agi_extension: 380504401330
<SIP/Best-00000a35>AGI Tx >> agi_priority: 2
<SIP/Best-00000a35>AGI Tx >> agi_enhanced: 0.0
<SIP/Best-00000a35>AGI Tx >> agi_accountcode: 8915582642
<SIP/Best-00000a35>AGI Tx >> agi_threadid: -1232753744
<SIP/Best-00000a35>AGI Tx >> agi_arg_1: 1
<SIP/Best-00000a35>AGI Tx >> agi_arg_2: callback
<SIP/Best-00000a35>AGI Tx >>
<SIP/Best-00000a35>AGI Rx << GET VARIABLE IDCONF
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << VERBOSE "file:a2billing.php - line:102 - uniqueid: - IDCONFIG : 1 ::> 3" 1
a2billing.php,1,callback: file:a2billing.php - line:102 - uniqueid: - IDCONFIG : 1 ::> 3
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << VERBOSE "file:a2billing.php - line:103 - uniqueid: - MODE : callback ::> 3" 1
a2billing.php,1,callback: file:a2billing.php - line:103 - uniqueid: - MODE : callback ::> 3
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:710 - uniqueid:1261697837.2613 - get_agi_request_parameter = 123456 ; SIP/Best-00000a35 ; 1261697837.2613 ; 8915582642 ; 380504401330 ::> 3"
a2billing.php,1,callback: file:Class.A2Billing.php - line:710 - uniqueid:1261697837.2613 - get_agi_request_parameter = 123456 ; SIP/Best-00000a35 ; 1261697837.2613 ; 8915582642 ; 380504401330 ::> 3
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << ANSWER
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE CALLED
<SIP/Best-00000a35>AGI Tx >> 200 result=1 (380979976856|CALLING=380504401330|CBID=09645-kiz9xep|LEG=8915582642)
<SIP/Best-00000a35>AGI Rx << GET VARIABLE CALLING
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE MODE
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE TARIFF
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE CBID
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE LEG
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << VERBOSE "file:a2billing.php - line:796 - uniqueid:1261697837.2613 - [CALLBACK]:[GET VARIABLE : CALLED=380979976856|CALLING=380504401330|CBID=09645-kiz9xep|LEG=8915582642 | CALLING= | MODE= | TARIFF= | CBID= | LEG=] ::> 3" 1
a2billing.php,1,callback: file:a2billing.php - line:796 - uniqueid:1261697837.2613 - [CALLBACK]:[GET VARIABLE : CALLED=380979976856|CALLING=380504401330|CBID=09645-kiz9xep|LEG=8915582642 | CALLING= | MODE= | TARIFF= | CBID= | LEG=] ::> 3
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << SET VARIABLE CHANNEL(language) "en"
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << SET CALLERID 123456
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << CHANNEL STATUS SIP/Best-00000a35
<SIP/Best-00000a35>AGI Tx >> 200 result=6
<SIP/Best-00000a35>AGI Rx << GET DATA prepaid-enter-dest 6000 20
-- <SIP/Best-00000a35> Playing 'prepaid-enter-dest.gsm' (language 'en')
<SIP/Best-00000a35>AGI Tx >> 200 result=380504401330
<SIP/Best-00000a35>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:876 - uniqueid:1261697837.2613 - DESTINATION ::> 380504401330 ::> 3" 1
a2billing.php,1,callback: file:Class.A2Billing.php - line:876 - uniqueid:1261697837.2613 - DESTINATION ::> 380504401330 ::> 3
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << GET VARIABLE RI
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE IB
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE BB
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE CC
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE DC
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE SC_A
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE TC_A
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE SC_B
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE TC_B
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE SC_C
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE TC_C
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE ANSWEREDTIME
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:1217 - uniqueid:1261697837.2613 - app_callingcard: Dialing 'Sip/Best/380504401330,60,HRrL(1620000:61000:30000)' with timeout of '1620'." 1
a2billing.php,1,callback: file:Class.RateEngine.php - line:1217 - uniqueid:1261697837.2613 - app_callingcard: Dialing 'Sip/Best/380504401330,60,HRrL(1620000:61000:30000)' with timeout of '1620'.
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << VERBOSE " ::> 3" 1
a2billing.php,1,callback: ::> 3
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << EXEC DIAL Sip/Best/380504401330,60,HRrL(1620000:61000:30000)
-- AGI Script Executing Application: (DIAL) Options: (Sip/Best/380504401330,60,HRrL(1620000:61000:30000))
-- Limit Data for this call:
> timelimit = 1620000
> play_warning = 61000
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000
> start_sound =
> warning_sound = timeleft
> end_sound =
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called Best/380504401330
-- SIP/Best-00000a36 is making progress passing it to SIP/Best-00000a35
-- SIP/Best-00000a36 answered SIP/Best-00000a35
<SIP/Best-00000a35>AGI Tx >> 200 result=-1
<SIP/Best-00000a35>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:1245 - uniqueid:1261697837.2613 - DIAL Sip/Best/380504401330,60,HRrL(1620000:61000:30000) ::> 3" 1
a2billing.php,1,callback: file:Class.RateEngine.php - line:1245 - uniqueid:1261697837.2613 - DIAL Sip/Best/380504401330,60,HRrL(1620000:61000:30000) ::> 3
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << GET VARIABLE ANSWEREDTIME
<SIP/Best-00000a35>AGI Tx >> 200 result=1 (24)
<SIP/Best-00000a35>AGI Rx << GET VARIABLE DIALSTATUS
<SIP/Best-00000a35>AGI Tx >> 200 result=1 (ANSWER)
<SIP/Best-00000a35>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:1081 - uniqueid:1261697837.2613 - [CC_asterisk_stop : SQL: DONE : result=1] ::> 3" 1
a2billing.php,1,callback: file:Class.RateEngine.php - line:1081 - uniqueid:1261697837.2613 - [CC_asterisk_stop : SQL: DONE : result=1] ::> 3
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << SET VARIABLE CHANNEL(language) "en"
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << GET VARIABLE RI
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE IB
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE BB
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE CC
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE DC
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE SC_A
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE TC_A
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE SC_B
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE TC_B
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE SC_C
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE TC_C
<SIP/Best-00000a35>AGI Tx >> 200 result=0
<SIP/Best-00000a35>AGI Rx << GET VARIABLE ANSWEREDTIME
<SIP/Best-00000a35>AGI Tx >> 200 result=1 (24)
<SIP/Best-00000a35>AGI Rx << VERBOSE "file:a2billing.php - line:911 - uniqueid:1261697837.2613 - [CALLBACK]:[RateEngine -> answeredtime=50] ::> 3" 1
a2billing.php,1,callback: file:a2billing.php - line:911 - uniqueid:1261697837.2613 - [CALLBACK]:[RateEngine -> answeredtime=50] ::> 3
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:1081 - uniqueid:1261697837.2613 - [CC_asterisk_stop : SQL: DONE : result=1] ::> 3" 1
a2billing.php,1,callback: file:Class.RateEngine.php - line:1081 - uniqueid:1261697837.2613 - [CC_asterisk_stop : SQL: DONE : result=1] ::> 3
<SIP/Best-00000a35>AGI Tx >> 200 result=1
<SIP/Best-00000a35>AGI Rx << HANGUP
If asterisk_version (global section) is set 1_6 web-callback calls to <number_1>, then it calls to <number_2> and connects them. But there is no audio. CLI output:
Code:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> Channel SIP/Best-00000a31 was answered.
-- Executing [380504401330@a2billing-callback:1] Answer("SIP/Best-00000a31", "") in new stack
-- Executing [380504401330@a2billing-callback:2] AGI("SIP/Best-00000a31", "a2billing.php,1,callback") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
<SIP/Best-00000a31>AGI Tx >> agi_request: a2billing.php
<SIP/Best-00000a31>AGI Tx >> agi_channel: SIP/Best-00000a31
<SIP/Best-00000a31>AGI Tx >> agi_language: en
<SIP/Best-00000a31>AGI Tx >> agi_type: SIP
<SIP/Best-00000a31>AGI Tx >> agi_uniqueid: 1261696239.2609
<SIP/Best-00000a31>AGI Tx >> agi_version: 1.6.0.18
<SIP/Best-00000a31>AGI Tx >> agi_callerid: 123456
<SIP/Best-00000a31>AGI Tx >> agi_calleridname: unknown
<SIP/Best-00000a31>AGI Tx >> agi_callingpres: 0
<SIP/Best-00000a31>AGI Tx >> agi_callingani2: 0
<SIP/Best-00000a31>AGI Tx >> agi_callington: 0
<SIP/Best-00000a31>AGI Tx >> agi_callingtns: 0
<SIP/Best-00000a31>AGI Tx >> agi_dnid: unknown
<SIP/Best-00000a31>AGI Tx >> agi_rdnis: unknown
<SIP/Best-00000a31>AGI Tx >> agi_context: a2billing-callback
<SIP/Best-00000a31>AGI Tx >> agi_extension: 380504401330
<SIP/Best-00000a31>AGI Tx >> agi_priority: 2
<SIP/Best-00000a31>AGI Tx >> agi_enhanced: 0.0
<SIP/Best-00000a31>AGI Tx >> agi_accountcode: 8915582642
<SIP/Best-00000a31>AGI Tx >> agi_threadid: -1233245264
<SIP/Best-00000a31>AGI Tx >> agi_arg_1: 1
<SIP/Best-00000a31>AGI Tx >> agi_arg_2: callback
<SIP/Best-00000a31>AGI Tx >>
<SIP/Best-00000a31>AGI Rx << GET VARIABLE IDCONF
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << VERBOSE "file:a2billing.php - line:102 - uniqueid: - IDCONFIG : 1 ::> 3" 1
a2billing.php,1,callback: file:a2billing.php - line:102 - uniqueid: - IDCONFIG : 1 ::> 3
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << VERBOSE "file:a2billing.php - line:103 - uniqueid: - MODE : callback ::> 3" 1
a2billing.php,1,callback: file:a2billing.php - line:103 - uniqueid: - MODE : callback ::> 3
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:710 - uniqueid:1261696239.2609 - get_agi_request_parameter = 123456 ; SIP/Best-00000a31 ; 1261696239.2609 ; 8915582642 ; 380504401330 ::> 3" 1
a2billing.php,1,callback: file:Class.A2Billing.php - line:710 - uniqueid:1261696239.2609 - get_agi_request_parameter = 123456 ; SIP/Best-00000a31 ; 1261696239.2609 ; 8915582642 ; 380504401330 ::> 3
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << ANSWER
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE CALLED
<SIP/Best-00000a31>AGI Tx >> 200 result=1 (380979976856)
<SIP/Best-00000a31>AGI Rx << GET VARIABLE CALLING
<SIP/Best-00000a31>AGI Tx >> 200 result=1 (380504401330)
<SIP/Best-00000a31>AGI Rx << GET VARIABLE MODE
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE TARIFF
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE CBID
<SIP/Best-00000a31>AGI Tx >> 200 result=1 (64709-opjjaoj)
<SIP/Best-00000a31>AGI Rx << GET VARIABLE LEG
<SIP/Best-00000a31>AGI Tx >> 200 result=1 (8915582642)
<SIP/Best-00000a31>AGI Rx << VERBOSE "file:a2billing.php - line:796 - uniqueid:1261696239.2609 - [CALLBACK]:[GET VARIABLE : CALLED=380979976856 | CALLING=380504401330 | MODE= | TARIFF= | CBID=64709-opjjaoj | LEG=8915582642] ::> 3" 1
a2billing.php,1,callback: file:a2billing.php - line:796 - uniqueid:1261696239.2609 - [CALLBACK]:[GET VARIABLE : CALLED=380979976856 | CALLING=380504401330 | MODE= | TARIFF= | CBID=64709-opjjaoj | LEG=8915582642] ::> 3
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << SET VARIABLE CHANNEL(language) "en"
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << SET CALLERID 123456
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << CHANNEL STATUS SIP/Best-00000a31
<SIP/Best-00000a31>AGI Tx >> 200 result=6
<SIP/Best-00000a31>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:876 - uniqueid:1261696239.2609 - DESTINATION ::> 380504401330 ::> 3" 1
a2billing.php,1,callback: file:Class.A2Billing.php - line:876 - uniqueid:1261696239.2609 - DESTINATION ::> 380504401330 ::> 3
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << GET VARIABLE RI
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE IB
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE BB
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE CC
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE DC
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE SC_A
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE TC_A
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE SC_B
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE TC_B
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE SC_C
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE TC_C
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE ANSWEREDTIME
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:1217 - uniqueid:1261696239.2609 - app_callingcard: Dialing 'Sip/Best/380504401330,60,HRrL(1652000:61000:30000)' with timeout of '1652'." 1
a2billing.php,1,callback: file:Class.RateEngine.php - line:1217 - uniqueid:1261696239.2609 - app_callingcard: Dialing 'Sip/Best/380504401330,60,HRrL(1652000:61000:30000)' with timeout of '1652'.
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << VERBOSE " ::> 3" 1
a2billing.php,1,callback: ::> 3
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << EXEC DIAL Sip/Best/380504401330,60,HRrL(1652000:61000:30000)
-- AGI Script Executing Application: (DIAL) Options: (Sip/Best/380504401330,60,HRrL(1652000:61000:30000))
-- Limit Data for this call:
> timelimit = 1652000
> play_warning = 61000
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000
> start_sound =
> warning_sound = timeleft
> end_sound =
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called Best/380504401330
-- SIP/Best-00000a32 is making progress passing it to SIP/Best-00000a31
-- SIP/Best-00000a32 answered SIP/Best-00000a31
<SIP/Best-00000a31>AGI Tx >> 200 result=-1
<SIP/Best-00000a31>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:1245 - uniqueid:1261696239.2609 - DIAL Sip/Best/380504401330,60,HRrL(1652000:61000:30000) ::> 3" 1
a2billing.php,1,callback: file:Class.RateEngine.php - line:1245 - uniqueid:1261696239.2609 - DIAL Sip/Best/380504401330,60,HRrL(1652000:61000:30000) ::> 3
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << GET VARIABLE ANSWEREDTIME
<SIP/Best-00000a31>AGI Tx >> 200 result=1 (4)
<SIP/Best-00000a31>AGI Rx << GET VARIABLE DIALSTATUS
<SIP/Best-00000a31>AGI Tx >> 200 result=1 (ANSWER)
<SIP/Best-00000a31>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:1081 - uniqueid:1261696239.2609 - [CC_asterisk_stop : SQL: DONE : result=1] ::> 3" 1
a2billing.php,1,callback: file:Class.RateEngine.php - line:1081 - uniqueid:1261696239.2609 - [CC_asterisk_stop : SQL: DONE : result=1] ::> 3
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << SET VARIABLE CHANNEL(language) "en"
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << GET VARIABLE RI
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE IB
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE BB
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE CC
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE DC
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE SC_A
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE TC_A
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE SC_B
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE TC_B
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE SC_C
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE TC_C
<SIP/Best-00000a31>AGI Tx >> 200 result=0
<SIP/Best-00000a31>AGI Rx << GET VARIABLE ANSWEREDTIME
<SIP/Best-00000a31>AGI Tx >> 200 result=1 (4)
<SIP/Best-00000a31>AGI Rx << VERBOSE "file:a2billing.php - line:911 - uniqueid:1261696239.2609 - [CALLBACK]:[RateEngine -> answeredtime=17] ::> 3" 1
a2billing.php,1,callback: file:a2billing.php - line:911 - uniqueid:1261696239.2609 - [CALLBACK]:[RateEngine -> answeredtime=17] ::> 3
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:1081 - uniqueid:1261696239.2609 - [CC_asterisk_stop : SQL: DONE : result=1] ::> 3" 1
a2billing.php,1,callback: file:Class.RateEngine.php - line:1081 - uniqueid:1261696239.2609 - [CC_asterisk_stop : SQL: DONE : result=1] ::> 3
<SIP/Best-00000a31>AGI Tx >> 200 result=1
<SIP/Best-00000a31>AGI Rx << HANGUP
Another difference is for value 1_6 agi_result=AGI PROCESSING and for 1_4 agi result=NULL. My asterisk version is 1.6. Please advice why I have no audio with callback while for usual calls audio is OK.
Thanks