[Home]

Summary:ASTERISK-04492: Still timelimit bug with h323 channel driver !!
Reporter:Tusar Ahmed (tusar)Labels:
Date Opened:2005-06-28 11:03:05Date Closed:2005-07-28 16:25:24
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:2005-06-28 20:26:13 VERBOSE[19094] logger.c:   callcard.php: string(111) "app_callingcard: Dialing 'H323/880178034593@xx.xx.xx.xx:1720|
2005-06-28 20:26:13 VERBOSE[19094] logger.c:   callcard.php: >> EXEC DIAL H323/880178034593@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@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@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@xx.xx.xx.xx:1720, 101
2005-06-28 20:26:13 VERBOSE[19094] logger.c:     -- Called 880178034593@xx.xx.xx.xx:1720



2005-06-28 20:58:41 DEBUG[19094] channel.c: Didn't get a frame from channel: IAX2/User@zz.zz.zz.zz:4569-13
2005-06-28 20:58:41 DEBUG[19094] channel.c: Bridge stops bridging channels IAX2/User@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@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@zz.zz.zz.zz:4569-13'
2005-06-28 20:58:41 DEBUG[19094] chan_iax2.c: We're hanging up IAX2/User@zz.zz.zz.zz:4569-13 now...
2005-06-28 20:58:41 DEBUG[19094] chan_iax2.c: Really destroying IAX2/User@zz.zz.zz.zz:4569-13 now...
2005-06-28 20:58:41 VERBOSE[19094] logger.c:     -- Hungup 'IAX2/User@zz.zz.zz.zz:4569-13'
Comments:By: Brian West (bkw918) 2005-06-29 14:15:20

are you doing a dial from inside an AGI?

By: Tusar Ahmed (tusar) 2005-06-30 00:17:57

Yes, I am dialing from inside an PHP AGI .

2005-06-28 20:26:13 VERBOSE[19094] logger.c: AGI Script Executing Application: (DIAL) Options: (H323/880178034593@xx.xx.xx.xx:1720|40|HL(585000:61000:30000))
2005-06-28 20:26:13 VERBOSE[19094] logger.c: -- timelimit=585000
2005-06-28 20:58:41 VERBOSE[19094] logger.c: callcard.php: string(31) "res is , answered time is 1926n"n

PHP AGI sending timelimit=585 sec but Asterisk disconnecting after 1926 sec .

N.B. It is not happening always ... But happening .

By: Tusar Ahmed (tusar) 2005-07-05 07:59:13

Tried to change with the following scenerio but it is happening same as before .

It was before :

IAX2 --> IAX2-H323 --> H323 GW

And Now it is :

IAX2 --> IAX2-SIP --> SIP GW

Some times asterisk does not sense timelimit parameter , so a call with 600 sec running with more than 600 sec like 2700 sec.

Regards..
..Tusar..

By: Anthony Minessale (anthm) 2005-07-20 12:14:15

try the patch from http://bugs.digium.com/view.php?id=4760

By: Michael Jerris (mikej) 2005-07-28 16:25:07

This appears to be a duplicate of ASTERISK-4638.  We can not address this issue without your response.  If you can test with the patch on 4760 and still reproduce this, please re-open this bug.