[asterisk-bugs] [JIRA] (ASTERISK-21329) chan_alsa: hangup when device busy
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Thu Mar 28 12:18:01 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-21329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rusty Newton updated ASTERISK-21329:
------------------------------------
Attachment: (was: chan_alsa.patch)
> chan_alsa: hangup when device busy
> ----------------------------------
>
> Key: ASTERISK-21329
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-21329
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_alsa
> Affects Versions: SVN
> Environment: fedora 16 x86_64
> ThinkPad T420
> Reporter: Keiichiro Kawasaki
> Severity: Critical
> Attachments: full.log
>
>
> if asterisk's PC is called when not ready or any have error for audio device[1], asterisk is core dump.
> extensions.conf:
> [DialPlan6000]
> exten => 10,1,Dial(console/dsp,20,)
> exten => 10,n,Hangup()
> full:
> [Mar 28 22:45:39] DEBUG[7648][C-00000000]: chan_sip.c:28304 handle_incoming: **** Received INVITE (5) - Command in SIP INVITE
> [Mar 28 22:45:39] DEBUG[7648][C-00000000]: sip/reqresp_parser.c:1603 parse_sip_options: Begin: parsing SIP "Supported: 100rel,replaces"
> [Mar 28 22:45:39] DEBUG[7648][C-00000000]: sip/reqresp_parser.c:1619 parse_sip_options: Found SIP option: -100rel-
> [Mar 28 22:45:39] DEBUG[7648][C-00000000]: sip/reqresp_parser.c:1627 parse_sip_options: Matched SIP option: 100rel
> [Mar 28 22:45:39] DEBUG[7648][C-00000000]: sip/reqresp_parser.c:1619 parse_sip_options: Found SIP option: -replaces-
> [Mar 28 22:45:39] DEBUG[7648][C-00000000]: sip/reqresp_parser.c:1627 parse_sip_options: Matched SIP option: replaces
> .....
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: pbx.c:4695 pbx_extension_helper: Launching 'Dial'
> -- Executing [10 at DialPlan6000:1] Dial("SIP/6000-00000000", "console/dsp,20,") in new stack
> [Mar 28 22:45:39] DEBUG[7630]: threadpool.c:506 grow: Increasing threadpool stasis-core's size by 1
> [Mar 28 22:45:39] DEBUG[7630]: threadpool.c:506 grow: Increasing threadpool stasis-core's size by 1
> [Mar 28 22:45:39] DEBUG[7630]: threadpool.c:506 grow: Increasing threadpool stasis-core's size by 1
> [Mar 28 22:45:39] DEBUG[7630]: threadpool.c:506 grow: Increasing threadpool stasis-core's size by 1
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: rtp_engine.c:1633 ast_rtp_instance_early_bridge_make_compatible: Can't find native functions for channel 'ALSA/default'
> << Call placed to 'dsp' on console >>
> << Auto-answered >>
> -- Called console/dsp
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: channel.c:5473 set_format: Set channel ALSA/default to read format slin
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: channel.c:5473 set_format: Set channel SIP/6000-00000000 to write format slin
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: channel.c:5473 set_format: Set channel SIP/6000-00000000 to read format slin
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: channel.c:5473 set_format: Set channel ALSA/default to write format slin
> [Mar 28 22:45:39] DEBUG[7635]: devicestate.c:344 _ast_device_state: No provider found, checking channel drivers for ALSA - default
> -- ALSA/default answered SIP/6000-00000000
> .....
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: chan_sip.c:13151 add_sdp: ** Our capability: (ulaw) Video flag: True Text flag: True
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: chan_sip.c:13152 add_sdp: ** Our prefcodec: (nothing)
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: chan_sip.c:13290 add_sdp: -- Done with adding codecs to SDP
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: chan_sip.c:13488 add_sdp: Done building SDP. Settling with this capability: (ulaw)
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: chan_sip.c:3924 __sip_xmit: Trying to put 'SIP/2.0 200' onto UDP socket destined for 192.168.1.208:5060
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: features.c:4476 ast_bridge_call: bridge answer set, chan answer set
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: features.c:4270 clear_dialed_interfaces: Removing dialed interfaces datastore on ALSA/default since we're bridging
> [Mar 28 22:45:39] DEBUG[7670][C-00000000]: res_rtp_asterisk.c:2123 ast_rtp_update_source: Setting the marker bit due to a source update
> [Mar 28 22:45:39] DEBUG[7668]: app_queue.c:1809 handle_statechange: Device 'SIP/6000' changed to state '2' (In use) but we don't care because they're not a member of any
> queue.
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailable
> [Mar 28 22:45:39] ERROR[7670][C-00000000]: chan_alsa.c:484 alsa_read: Read error: Resource temporarily unavailablezsh: segmentation fault asterisk -c
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list