[asterisk-bugs] [JIRA] (ASTERISK-21737) [patch] - Crash during transfer from DAHDI/SIP to SIP/SIP in ast_format_cap_append called from remote bridge loop

Alec Davis (JIRA) noreply at issues.asterisk.org
Fri Mar 28 16:33:18 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=216106#comment-216106 ] 

Alec Davis edited comment on ASTERISK-21737 at 3/28/14 4:31 PM:
----------------------------------------------------------------

crash again, after applying patch 'ASTERISK-21737-11.diff', and removing my original patches.

{noformat}
[2014-03-05 14:25:32.600013] DEBUG[32457][C-000013b1] chan_sip.c: SIP transfer: Four channels to handle
[2014-03-05 14:25:32.600061] VERBOSE[32457][C-000013b1] res_musiconhold.c:     -- Stopped music on hold on DAHDI/i1/272763329-90c
[2014-03-05 14:25:32.600157] DEBUG[32457][C-000013b1] channel.c: Set channel DAHDI/i1/272763329-90c to write format alaw
[2014-03-05 14:25:32.600167] DEBUG[29189][C-000013b4] res_rtp_asterisk.c: Remote address is null, most likely RTP has been stopped
[2014-03-05 14:25:32.600195] DEBUG[32457][C-000013b1] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[2014-03-05 14:25:32.600273] VERBOSE[32457][C-000013b1] res_musiconhold.c:     -- Stopped music on hold on SIP/GXP0028-000015e9
[2014-03-05 14:25:32.600352] DEBUG[32457][C-000013b1] channel.c: Set channel SIP/GXP0028-000015e9 to write format alaw
[2014-03-05 14:25:32.600382] DEBUG[32457][C-000013b1] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[2014-03-05 14:25:32.600425] DEBUG[32457][C-000013b1] channel.c: Planning to masquerade channel DAHDI/i1/272763329-90c into the structure of SIP/GXP0013-000015e8
[2014-03-05 14:25:32.600491] DEBUG[32457][C-000013b1] channel.c: Done planning to masquerade channel DAHDI/i1/272763329-90c into the structure of SIP/GXP0013-000015e8
[2014-03-05 14:25:32.600605] DEBUG[32457][C-000013b1] chan_sip.c: Trying to put 'NOTIFY sip:' onto UDP socket destined for 192.168.3.112:5060
[2014-03-05 14:25:32.601025] DEBUG[32457][C-000013b1] res_config_mysql.c: MySQL RealTime: Connection okay.
[2014-03-05 14:25:32.601189] DEBUG[32457][C-000013b1] res_config_mysql.c: MySQL RealTime: Insert SQL: INSERT INTO queue_log (`time`, `callid`, `queuename`, `agent`, `event`, `data1`, `data2`, `data3`, `data4`, `data5`) VALUES ('2014-03-05 14:25:32.600896', '1393982652.9197', 'cs_queue1', 'SIP/GXP0013', 'TRANSFER', 's', 'macro-procexten', '5', '46', '1')
[2014-03-05 14:25:32.602483] DEBUG[32457][C-000013b1] res_config_mysql.c: MySQL RealTime: row inserted on table: queue_log, id: 7186371
[2014-03-05 14:25:32.602988] DEBUG[32457][C-000013b1] channel.c: Putting channel DAHDI/i1/272763329-90c in alaw/alaw formats
<b>[2014-03-05 14:29:48.691160] Asterisk SVN-branch-11-r385594M built by root @ astrid on a i686 running Linux on 2013-04-17 23:19:24 UTC</b>
{noformat}


was (Author: alecdavis):
crash again, after applying patch, for asterisk-11, and removing my original patches.

{noformat}
[2014-03-05 14:25:32.600013] DEBUG[32457][C-000013b1] chan_sip.c: SIP transfer: Four channels to handle
[2014-03-05 14:25:32.600061] VERBOSE[32457][C-000013b1] res_musiconhold.c:     -- Stopped music on hold on DAHDI/i1/272763329-90c
[2014-03-05 14:25:32.600157] DEBUG[32457][C-000013b1] channel.c: Set channel DAHDI/i1/272763329-90c to write format alaw
[2014-03-05 14:25:32.600167] DEBUG[29189][C-000013b4] res_rtp_asterisk.c: Remote address is null, most likely RTP has been stopped
[2014-03-05 14:25:32.600195] DEBUG[32457][C-000013b1] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[2014-03-05 14:25:32.600273] VERBOSE[32457][C-000013b1] res_musiconhold.c:     -- Stopped music on hold on SIP/GXP0028-000015e9
[2014-03-05 14:25:32.600352] DEBUG[32457][C-000013b1] channel.c: Set channel SIP/GXP0028-000015e9 to write format alaw
[2014-03-05 14:25:32.600382] DEBUG[32457][C-000013b1] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[2014-03-05 14:25:32.600425] DEBUG[32457][C-000013b1] channel.c: Planning to masquerade channel DAHDI/i1/272763329-90c into the structure of SIP/GXP0013-000015e8
[2014-03-05 14:25:32.600491] DEBUG[32457][C-000013b1] channel.c: Done planning to masquerade channel DAHDI/i1/272763329-90c into the structure of SIP/GXP0013-000015e8
[2014-03-05 14:25:32.600605] DEBUG[32457][C-000013b1] chan_sip.c: Trying to put 'NOTIFY sip:' onto UDP socket destined for 192.168.3.112:5060
[2014-03-05 14:25:32.601025] DEBUG[32457][C-000013b1] res_config_mysql.c: MySQL RealTime: Connection okay.
[2014-03-05 14:25:32.601189] DEBUG[32457][C-000013b1] res_config_mysql.c: MySQL RealTime: Insert SQL: INSERT INTO queue_log (`time`, `callid`, `queuename`, `agent`, `event`, `data1`, `data2`, `data3`, `data4`, `data5`) VALUES ('2014-03-05 14:25:32.600896', '1393982652.9197', 'cs_queue1', 'SIP/GXP0013', 'TRANSFER', 's', 'macro-procexten', '5', '46', '1')
[2014-03-05 14:25:32.602483] DEBUG[32457][C-000013b1] res_config_mysql.c: MySQL RealTime: row inserted on table: queue_log, id: 7186371
[2014-03-05 14:25:32.602988] DEBUG[32457][C-000013b1] channel.c: Putting channel DAHDI/i1/272763329-90c in alaw/alaw formats
<b>[2014-03-05 14:29:48.691160] Asterisk SVN-branch-11-r385594M built by root @ astrid on a i686 running Linux on 2013-04-17 23:19:24 UTC</b>
{noformat}

> [patch] - Crash during transfer from DAHDI/SIP to SIP/SIP in ast_format_cap_append called from remote bridge loop
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21737
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21737
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Transfers, Core/Bridging
>         Environment: Asterisk SVN-branch-11-r385594 
>            Reporter: Alec Davis
>         Attachments: ASTERISK-21737-11.diff, ASTERISK-21737-1.8.diff, bug_apr30.diff.txt, gdb-apr30.txt, GDB_output_sample_10_01_2014.txt, gdb.txt
>
>
> DAHDI call into queue.
> SIP agent answers, then transfer to SIP0007.
>  
> Crashed just after/during a transfer.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list