[asterisk-bugs] [Asterisk 0013405]: [patch] T38 gateway

Asterisk Bug Tracker noreply at bugs.digium.com
Sun May 15 23:38:55 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13405 
====================================================================== 
Reported By:                dafe_von_cetin
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   13405
Category:                   Applications/app_fax
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                       SWP-115 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/459/ 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 140548 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-30 16:44 CDT
Last Modified:              2011-05-15 23:38 CDT
====================================================================== 
Summary:                    [patch] T38 gateway
Description: 
Hi all,

I'm sending you patch containing new application app_faxgateway.c
("FaxGateway") which is able to mediate T30 to T38 and vice versa.
Feature is using spands library (I used spandsp-0.0.4pre18 and
spandsp-0.0.5pre4).

Best regards
Daniel.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018889 [patch] T.38 state should be unavailabl...
related to          0019251 [patch] Framehooks ast_indicate_data In...
====================================================================== 

---------------------------------------------------------------------- 
 (0134953) sles (reporter) - 2011-05-15 23:38
 https://issues.asterisk.org/view.php?id=13405#c134953 
---------------------------------------------------------------------- 
irroot, thank you! I had not res_fax.

But, now, asterisk segfaults right after fax on far side accept call:

    -- DAHDI/i1/5308-1 is proceeding passing it to
OOH323/192.168.22.253-9
    -- DAHDI/i1/5308-1 is making progress passing it to
OOH323/192.168.22.253-9
    -- DAHDI/i1/5308-1 is ringing

and then segfault.

Program terminated with signal 11, Segmentation fault.
https://issues.asterisk.org/view.php?id=0  0x00000000004ccd8a in ast_frame_free
(frame=0x1, cache=1) at
frame.c:377
377		     frame = next, next = frame ? AST_LIST_NEXT(frame, frame_list) :
NULL) {
(gdb) bt
https://issues.asterisk.org/view.php?id=0  0x00000000004ccd8a in ast_frame_free
(frame=0x1, cache=1) at
frame.c:377
https://issues.asterisk.org/view.php?id=1  0x0000000000474ec6 in
ast_indicate_data (chan=0x1854cb58,
_condition=22, data=0x1854d788, datalen=55) at channel.c:4421
https://issues.asterisk.org/view.php?id=2  0x00002aaac333091c in wait_for_answer
(in=0x1854cb58,
outgoing=0x18542810, to=0x418d5fd4, peerflags=0x418d6470,
opt_args=0x418d5720, pa=0x418d57e0, 
    num_in=0x418d5fb0, result=0x418d57dc, dtmf_progress=0x0, ignore_cc=1)
at app_dial.c:1261
https://issues.asterisk.org/view.php?id=3  0x00002aaac33369d9 in dial_exec_full
(chan=0x1854cb58, data=0x418d86c0
"DAHDI/g1/5308", peerflags=0x418d6470, continue_exec=0x0) at
app_dial.c:2246
https://issues.asterisk.org/view.php?id=4  0x00002aaac333947e in dial_exec
(chan=0x1854cb58, data=0x418d86c0
"DAHDI/g1/5308") at app_dial.c:2753
https://issues.asterisk.org/view.php?id=5  0x000000000050076b in pbx_exec
(c=0x1854cb58, app=0x18419cd0,
data=0x418d86c0 "DAHDI/g1/5308") at pbx.c:1406
https://issues.asterisk.org/view.php?id=6  0x000000000050a718 in
pbx_extension_helper (c=0x1854cb58, con=0x0,
context=0x1854d0b0 "h323", exten=0x1854d100 "4406", priority=2, label=0x0,

    callerid=0x1855ddc0 "6401", action=E_SPAWN, found=0x418dae90,
combined_find_spawn=1) at pbx.c:4085
https://issues.asterisk.org/view.php?id=7  0x000000000050c079 in
ast_spawn_extension (c=0x1854cb58,
context=0x1854d0b0 "h323", exten=0x1854d100 "4406", priority=2,
callerid=0x1855ddc0 "6401", 
    found=0x418dae90, combined_find_spawn=1) at pbx.c:4608
https://issues.asterisk.org/view.php?id=8  0x000000000050cb0a in __ast_pbx_run
(c=0x1854cb58, args=0x0) at
pbx.c:4706
https://issues.asterisk.org/view.php?id=9  0x000000000050e7d0 in pbx_thread
(data=0x1854cb58) at pbx.c:5017
https://issues.asterisk.org/view.php?id=10 0x0000000000563635 in dummy_start
(data=0x1853a130) at utils.c:973
https://issues.asterisk.org/view.php?id=11 0x0000003f93a0673d in start_thread ()
from /lib64/libpthread.so.0
https://issues.asterisk.org/view.php?id=12 0x0000003f92ed44bd in clone () from
/lib64/libc.so.6


If I remove exten => 4406,1,SET(FAXOPT(t38gateway)=yes) all is OK.

btw, this is centos 5.6 on x86-64. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-15 23:38 sles           Note Added: 0134953                          
======================================================================




More information about the asterisk-bugs mailing list