[asterisk-dev] [Code Review] fix for problem when using t38 gateway, one of two fax sessions of a call gets stuck and dont go away

schmidts reviewboard at asterisk.org
Wed Nov 21 19:57:42 CST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2205/
-----------------------------------------------------------

Review request for Asterisk Developers.


Summary
-------

I have noticed when using t38 gateway function i allways have one stuck fax session of two sessions for each call in "fax show sessions" when the gateway is used.

by digging into code i have found that the original session object is linked into the faxregistry.container but then will be reused. this stuck session wasnt a real object cause it was used on the second session but it was still hanging around in the container.


Diffs
-----

  branches/10/res/res_fax.c 376583 

Diff: https://reviewboard.asterisk.org/r/2205/diff


Testing
-------

t38 gateway tested by sending several fax from an asterisk 1.2 with hylafax and got t38 on the other side. Fax sessions are empty when the call is finished and also only one session is shown during a call.


Thanks,

schmidts

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20121122/28b51a3d/attachment.htm>


More information about the asterisk-dev mailing list