[Home]

Summary:ASTERISK-14311: DISA fails.
Reporter:BrettS (ughnz)Labels:
Date Opened:2009-06-13 19:47:21Date Closed:2009-07-20 10:25:42
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Addons/chan_mobile
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Attempting to use the DISA with chan_mobile fails with asterisk hanging up.

Using latest svn of chan_mobile.

Attached is debug log.

****** ADDITIONAL INFORMATION ******

[Jun 14 12:26:29] DEBUG[20197] pbx.c: Launching 'DISA'
[Jun 14 12:26:29] VERBOSE[20197] pbx.c:     -- Executing [2@disa:6] �[1;36;40mDISA�[0;37;40m("�[1;35;40mLocal/xxxxxxxx@from-internal-0aa3;1�[0;37;40m", "�[1;35;40mno-password,disa-dial�[0;37;40m") in new stack
[Jun 14 12:26:29] DEBUG[20197] app_disa.c: Digittimeout: 5000
[Jun 14 12:26:29] DEBUG[20197] app_disa.c: Responsetimeout: 10000
[Jun 14 12:26:29] DEBUG[20197] app_disa.c: Mailbox:
[Jun 14 12:26:29] DEBUG[20197] app_disa.c: Context: disa-dial
[Jun 14 12:26:29] DEBUG[20197] app_disa.c: DISA no-password login success
[Jun 14 12:26:29] DEBUG[20197] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
[Jun 14 12:26:29] DEBUG[20197] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=30)
[Jun 14 12:26:29] DEBUG[20197] channel.c: Generator got voice, switching to phase locked mode
[Jun 14 12:26:29] DEBUG[20197] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Jun 14 12:26:29] DEBUG[20197] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=30)
[Jun 14 12:26:29] DEBUG[20197] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=30)
[Jun 14 12:26:29] DEBUG[20195] chan_mobile.c: *** mbl_write
[Jun 14 12:26:29] DEBUG[20195] chan_mobile.c: sco_write()
[Jun 14 12:26:29] DEBUG[20195] chan_mobile.c: *** mbl_write
[Jun 14 12:26:29] DEBUG[20195] chan_mobile.c: sco_write()
[Jun 14 12:26:29] DEBUG[20195] chan_mobile.c: *** mbl_write
[Jun 14 12:26:29] DEBUG[20195] chan_mobile.c: sco_write()
[Jun 14 12:26:29] DEBUG[20195] chan_mobile.c: *** mbl_read()
[Jun 14 12:26:29] DEBUG[20195] channel.c: Planning to masquerade channel Mobile/TRUNK-b86c into the structure of Local/xxxxxxxx@from-internal-0aa3;1
[Jun 14 12:26:29] DEBUG[20195] channel.c: Done planning to masquerade channel Mobile/TRUNK-b86c into the structure of Local/xxxxxxxx@from-internal-0aa3;1
[Jun 14 12:26:29] DEBUG[20195] chan_local.c: Not posting to queue since already masked on 'Local/xxxxxxxx@from-internal-0aa3;2'
[Jun 14 12:26:29] DEBUG[20195] chan_mobile.c: *** mbl_read()
[Jun 14 12:26:29] DEBUG[20195] chan_local.c: Not posting to queue since already masked on 'Local/xxxxxxxx@from-internal-0aa3;2'
[Jun 14 12:26:29] DEBUG[20195] chan_mobile.c: *** mbl_read()
[Jun 14 12:26:29] DEBUG[20195] chan_local.c: Not posting to queue since already masked on 'Local/xxxxxxxx@from-internal-0aa3;2'
[Jun 14 12:26:29] DEBUG[20195] chan_mobile.c: *** mbl_read()
[Jun 14 12:26:29] DEBUG[20195] chan_local.c: Not posting to queue since already masked on 'Local/xxxxxxxx@from-internal-0aa3;2'
[Jun 14 12:26:29] DEBUG[20197] channel.c: Actually Masquerading Mobile/TRUNK-b86c(6) into the structure of Local/xxxxxxxx@from-internal-0aa3;1(6)
[Jun 14 12:26:29] DEBUG[20197] channel.c: Got clone lock for masquerade on 'Mobile/TRUNK-b86c' at 0xa180090
[Jun 14 12:26:29] DEBUG[20197] channel.c: Putting channel Mobile/TRUNK-b86c in 64/64 formats
[Jun 14 12:26:29] DEBUG[20197] chan_mobile.c: fixup failed, no pvt on oldchan
[Jun 14 12:26:29] WARNING[20197] channel.c: Channel for type 'Mobile' could not fixup channel Mobile/TRUNK-b86c
[Jun 14 12:26:29] WARNING[20197] channel.c: Failed to perform masquerade
[Jun 14 12:26:29] DEBUG[20197] pbx.c: Spawn extension (disa,2,6) exited non-zero on 'Mobile/TRUNK-b86c'
[Jun 14 12:26:29] VERBOSE[20197] pbx.c:   == Spawn extension (disa, 2, 6) exited non-zero on 'Mobile/TRUNK-b86c'
[Jun 14 12:26:29] DEBUG[20195] channel.c: Didn't get a frame from channel: Local/xxxxxxxx@from-internal-0aa3;2
[Jun 14 12:26:29] DEBUG[20195] channel.c: Bridge stops bridging channels Local/xxxxxxxx@from-internal-0aa3;2 and Local/xxxxxxxx@from-internal-0aa3;1<ZOMBIE>
[Jun 14 12:26:29] DEBUG[20195] pbx.c: Launching 'Macro'
[Jun 14 12:26:29] VERBOSE[20195] pbx.c:     -- Executing [h@macro-dialout-trunk:1] �[1;36;40mMacro�[0;37;40m("�[1;35;40mLocal/xxxxxxxx@from-internal-0aa3;2�[0;37;40m", "�[1;35;40mhangupcall,�[0;37;40m") in new stack
[Jun 14 12:26:29] DEBUG[20195] pbx.c: Launching 'ResetCDR'
[Jun 14 12:26:29] VERBOSE[20195] pbx.c:     -- Executing [s@macro-hangupcall:1] �[1;36;40mResetCDR�[0;37;40m("�[1;35;40mLocal/xxxxxxxx@from-internal-0aa3;2�[0;37;40m", "�[1;35;40mvw�[0;37;40m") in new stack
[Jun 14 12:26:29] DEBUG[20197] channel.c: Soft-Hanging up channel 'Mobile/TRUNK-b86c'
[Jun 14 12:26:29] DEBUG[20197] channel.c: Hanging up channel 'Mobile/TRUNK-b86c'
[Jun 14 12:26:29] DEBUG[20197] chan_mobile.c: [TRUNK] hanging up device
[Jun 14 12:26:29] DEBUG[20197] chan_mobile.c: rfcomm_write() (14) [AT+CHUP
]
[Jun 14 12:26:29] DEBUG[11320] devicestate.c: No provider found, checking channel drivers for Mobile - TRUNK
[Jun 14 12:26:29] DEBUG[11320] chan_mobile.c: Checking device state for device TRUNK
[Jun 14 12:26:29] DEBUG[11320] devicestate.c: Changing state for Mobile/TRUNK - state 1 (Not in use)
[Jun 14 12:26:29] DEBUG[11320] devicestate.c: device 'Mobile/TRUNK' state '1'
[Jun 14 12:26:29] DEBUG[11328] app_queue.c: Device 'Mobile/TRUNK' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
Comments:By: Matthew Nicholson (mnicholson) 2009-07-10 15:57:38

This is fixed in addons 1.6.2 and beyond.