[Asterisk-Users] Time out not working from php agi...

Rhythm Chowdhury asterisk4me at gmail.com
Sun Jul 10 00:11:50 MST 2005


Here i am doing a dial command from a php agi...

EXEC DIAL H323/123456789 at xx.xx.xx.xx:1720|40|HL(585000:61000:30000)

But asterisk is not disconnecting the connection after 585 secs...

the result is ...

answered time is 1926n

but thing is time out is working some time and some time not....

LOG:

2005-06-28 20:26:13 VERBOSE[19094] logger.c: callcard.php: string(111)
"app_callingcard: Dialing 'H323/880178034593 at xx.xx.xx.xx:1720|
2005-06-28 20:26:13 VERBOSE[19094] logger.c: callcard.php: >> EXEC
DIAL H323/880178034593 at xx.xx.xx.xx:1720|40|HL(585000:61000:30000)
2005-06-28 20:26:13 VERBOSE[19094] logger.c: AGI Script Executing
Application: (DIAL) Options:
(H323/880178034593 at xx.xx.xx.xx:1720|40|HL(585000:61000:30000))
2005-06-28 20:26:13 VERBOSE[19094] logger.c: -- Limit Data:
2005-06-28 20:26:13 VERBOSE[19094] logger.c: -- timelimit=585000
2005-06-28 20:26:13 VERBOSE[19094] logger.c: -- play_warning=61000
2005-06-28 20:26:13 VERBOSE[19094] logger.c: -- play_to_caller=yes
2005-06-28 20:26:13 VERBOSE[19094] logger.c: -- play_to_callee=no
2005-06-28 20:26:13 VERBOSE[19094] logger.c: -- warning_freq=30000
2005-06-28 20:26:13 VERBOSE[19094] logger.c: -- start_sound=UNDEF
2005-06-28 20:26:13 VERBOSE[19094] logger.c: -- warning_sound=timeleft
2005-06-28 20:26:13 VERBOSE[19094] logger.c: -- end_sound=UNDEF
2005-06-28 20:26:13 DEBUG[19094] chan_h323.c: type=H323, format=4,
data=880178034593 at xx.xx.xx.xx:1720.
2005-06-28 20:26:13 DEBUG[19094] chan_h323.c: Extension: 880178034593
Host: xx.xx.xx.xx:1720
2005-06-28 20:26:13 DEBUG[19094] chan_h323.c: Could not find peer
xx.xx.xx.xx by name or address
2005-06-28 20:26:13 DEBUG[19094] chan_h323.c: Placing outgoing call to
880178034593 at xx.xx.xx.xx:1720, 101
2005-06-28 20:26:13 VERBOSE[19094] logger.c: -- Called
880178034593 at xx.xx.xx.xx:1720



2005-06-28 20:58:41 DEBUG[19094] channel.c: Didn't get a frame from
channel: IAX2/User at zz.zz.zz.zz:4569-13
2005-06-28 20:58:41 DEBUG[19094] channel.c: Bridge stops bridging
channels IAX2/User at zz.zz.zz.zz:4569-13 and H323/
2005-06-28 20:58:41 DEBUG[19094] app_dial.c: Exiting with DIALSTATUS=ANSWER.
2005-06-28 20:58:41 VERBOSE[19094] logger.c: callcard.php: >> GET
VARIABLE ANSWEREDTIME
2005-06-28 20:58:41 VERBOSE[19094] logger.c: callcard.php: >> GET
VARIABLE DIALSTATUS
2005-06-28 20:58:41 VERBOSE[19094] logger.c: callcard.php: >> GET
VARIABLE DIALEDTIME
2005-06-28 20:58:41 VERBOSE[19094] logger.c: callcard.php: string(31)
"res is , answered time is 1926n"n
2005-06-28 20:58:41 VERBOSE[19094] logger.c: callcard.php: string(33)
"res is , dialedtime time is 1948n"n
2005-06-28 20:58:41 VERBOSE[19094] logger.c: callcard.php: string(15)
"Stop time: 0506"n
2005-06-28 20:58:41 VERBOSE[19094] logger.c: callcard.php: string(36)
"Disconnect time: 2005-06-28 20:58:41"n
2005-06-28 20:58:41 VERBOSE[19094] logger.c: callcard.php: >> CHANNEL
STATUS IAX2/User at zz.zz.zz.zz:4569-13
2005-06-28 20:58:41 VERBOSE[19094] logger.c: callcard.php: result is 6
2005-06-28 20:58:41 WARNING[19094] file.c: Failed to write frame
2005-06-28 20:58:41 VERBOSE[19094] logger.c: == Spawn extension
(default, 1112, 3) exited non-zero on 'IAX2/User at zz.zz.zz.zz:4569-13'
2005-06-28 20:58:41 DEBUG[19094] chan_iax2.c: We're hanging up
IAX2/User at zz.zz.zz.zz:4569-13 now...
2005-06-28 20:58:41 DEBUG[19094] chan_iax2.c: Really destroying
IAX2/User at zz.zz.zz.zz:4569-13 now...
2005-06-28 20:58:41 VERBOSE[19094] logger.c: -- Hungup
'IAX2/User at zz.zz.zz.zz:4569-13'



More information about the asterisk-users mailing list