[asterisk-bugs] [JIRA] Commented: (ASTERISK-20288) PhonerLite reports RTP read error when ICE Support Enabled

Michael L. Young (JIRA) noreply at issues.asterisk.org
Tue Sep 4 21:02:07 CDT 2012


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

Michael L. Young commented on ASTERISK-20288:
---------------------------------------------

Richard, here is the error message I am getting with the applied patch.  Yes, with the patch it is a usable message from PJ ICE.

{noformat}
[2012-09-04 21:45:41] WARNING[26756][C-00000000]: res_rtp_asterisk.c:899 __rtp_recvfrom: PJ ICE Rx error status code: 370400 'Bad Request'.
[2012-09-04 21:45:41] WARNING[26756][C-00000000]: res_rtp_asterisk.c:2887 ast_rtp_read: RTP Read error: Invalid or incomplete multibyte or wide character. Hanging up.
{noformat}

If you look at the notes above, I had added these debug messages on my side but didn't post the patch.  So, it is the same error message, 'Bad Request', from PJ_ICE.

If the client doesn't send ice candidates in the initial invite, Asterisk should not be using ice for the session or sending local ice candidates.

Just one comment about patch:

I think 'status' should be of type pj_status_t to match the code in res_rtp_asterisk as well as pj.


> PhonerLite reports RTP read error when ICE Support Enabled
> ----------------------------------------------------------
>
>                 Key: ASTERISK-20288
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20288
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: SVN, 11.0.0-beta1
>         Environment: Linux Ubuntu
>            Reporter: Joern Krebs
>            Assignee: Richard Mudgett
>            Severity: Minor
>         Attachments: debug, debug, jira_asterisk_20288_err_msg.patch, phonerlite-capture-filtered2.pcap, phonerlite-capture-filtered.pcap, tcpdump.log, wireshark.pcap
>
>
> O.K. this is a bit hard to explain for me:
> If I use PhonerLite (and I can only replicate this issue with PhonerLite, but there it happens 100% of the time!) to call asterisk (any number, and any setup, nat, no-nat, etc.) I get the warning:
> RTP Read error: Success. Hanging up
> The "Success" part of the error should be the error message. BUT Success indicates, that there actually is no error.
> So what I did was changing the code and checking if the errno is 0, ignore that line ... and it works.
> I do not get this error with the SVN for Asterisk 10, just with SVN Asterisk 11.
> So basically under some circumstances (I cannot replicate the real issue, ... even the debug log doesn't show any issues at all!)
> the errno is set to 0, instead of whatever it should be...
> Can please someone have a look at this.
> (I would be open to test anything, although my dev capabilities are limited.)
> It really is a show-stopper to me! :-(

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list