Hi,
I am testing Asterisk version 11.0.1 as a T.38 gateay, and I found that some fax gateway sessions continue after the call has ended.
The scenario is as follows:
[size=85]FAXMACHINE —SPA 2102—(sip)-----Asterisk_11—(sip)----Asterisk_1.6—ss7----PROVIDER-- POTS–FaxMachine[/size]
the rtp between Asterisk 11 and Asterisk 1.6 is always G711
the rtp between SPA 2102 is G729 and, of course, T.38
here is extensions.conf:
exten => _X.,1,NoOp()
exten => _X.,n,Set(FAXOPT(gateway)=yes)
exten => _X.,n,Set(_SIP_CODEC_OUTBOUND=alaw)
exten => _X.,n,Dial(SIP/${EXTEN}@127.0.0.1:55082)
exten => _X.,n,Hangup()
Fax is working perfectly well, but I found that some fax sessions get “hanged” after call has ended:
[code]tomateCLI> core show calls
1 active call
142 calls processed
tomateCLI> fax show sessions
Current FAX Sessions:
Channel Tech FAXID Type Operation State File(s)
SIP/200.13.42.5-0000 Spandsp 181 none gateway Active
SIP/200.13.42.13-000 Spandsp 312 none gateway Active
SIP/200.13.42.5-0000 Spandsp 175 none gateway Active
SIP/200.13.42.13-000 Spandsp 275 none gateway Active
SIP/200.13.42.13-000 Spandsp 306 none gateway Active
SIP/200.13.42.7-0000 Spandsp 335 none V.21 Active
SIP/200.13.42.7-0000 Spandsp 336 none V.21 Active
SIP/200.13.42.12-000 Spandsp 49 none gateway Active
SIP/200.13.42.13-000 Spandsp 279 none gateway Active
SIP/200.13.42.7-0000 Spandsp 70 none gateway Active
10 FAX sessions[/code]
The only truly active sessions in the list above are the ones that are in Oeration V.21.
fax show session in one of the hanged sessions show no output:
[code]tomate*CLI> fax show session 70
FAX Session Details:
[/code]
I’ve been seen this error:
I think it might be related to the hanged sessions, though the ERROR ocurrence is more frequent than the session hang.
Any help is highly appreciated!