Summary:ASTERISK-17887: SendFax does not work probably as it keeps sending INVITES
Reporter:spriebe (spriebe)Labels:
Date Opened:2011-05-19 07:19:54Date Closed:2011-08-10 16:21:59
Versions:1.8.4 Frequency of
Environment:Attachments:( 0) fax.tcpdump.log
( 1) full
( 2) log.txt

i'm trying to setup SendFax (ReceiveFax is working fine) but when the other side initiates T.38 Asterisk keeps sending INVITES instead of accepting T.38.

Comments:By: spriebe (spriebe) 2011-05-19 13:28:46

I've now also attached a tcpdump and a full debug log. Hope that helps to fix that error.

By: spriebe (spriebe) 2011-05-19 15:06:41

This happens also with

By: spriebe (spriebe) 2011-05-20 02:04:19

Any idea what this could be? I could perhaps then check the sourcecode.

By: Gregory Hinton Nietsky (irroot) 2011-05-21 11:05:27

Ok cant be 100% certain but this looks like it could be the bug i fixed in trunk where sip never "rejects" the failed T.38 it goes back to "unknown" this could explain it ...

By: Matthew Nicholson (mnicholson) 2011-05-25 11:16:06

I suspect this is caused because chan_sip responds to the remote host's T.38 request with the m=audio SDP block first then the m=image block, but the request had the m=image first and m=audio second.  IIRC each m= in the response should correspond to an m= in the request (i.e. they should be in the same order).

By: Matthew Nicholson (mnicholson) 2011-05-25 11:17:04

I should also note that the remote host seems to be periodically sending a sip message containing only the text "hello" to asterisk.  That is odd.

By: Matthew Nicholson (mnicholson) 2011-05-25 11:24:34

In that log.txt file I don't see asterisk repeatedly sending INVITE messages.  There appear to be two calls, and in both of them the remote side sends a T.38 reINVITE and we respond with a 200 OK which is then ACKed.  Please upload a sip debug of the problem you describe.

By: spriebe (spriebe) 2011-05-25 11:35:48

I could fix this by allowing incoming UDP connections from 4000 up to 4900.

By: Matthew Nicholson (mnicholson) 2011-07-26 14:58:05.448-0500

Are you still experiencing this issue? If so please upload the requested debugging information.

By: Leif Madsen (lmadsen) 2011-08-10 16:21:52.836-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines