Summary:ASTERISK-09041: process_sdp: Insufficient information for SDP (m = '', c = '')
Reporter:Danilo (simulatorhck)Labels:
Date Opened:2007-03-18 04:30:00Date Closed:2007-03-21 08:42:42
Versions:Frequency of
Environment:Attachments:( 0) verbosedebug.txt
Description:Asterisk embedded in open-wrt: when it starts it's possible to make calls but after i receive first call i get " WARNING[664]: chan_sip.c:3414 process_sdp: Insufficient information for SDP (m = '', c = '')
" and it's no longer possible to receive calls.
Comments:By: Serge Vecher (serge-v) 2007-03-19 09:07:40

You need to reproduce this problem with the latest Asterisk release, which is 1.2.16. Also, as per bug guidelines, you need to attach a SIP debug trace illustrating the problem. Please do the following:
1) Prepare test environment (reduce the amount of unrelated traffic on the server);
2) Make sure your logger.conf has the following line:
  console => notice,warning,error,debug
3) restart Asterisk with the following command:
  'asterisk -Tvvvvvdddddngc | tee /tmp/verbosedebug.txt'
4) Enable SIP transaction logging with the following CLI commands (1.4/trunk commands in parenthesis):
set debug 4 (core set debug 4)
set verbose 4 (core set verbose 4)
sip debug (sip set debug)
5) Reproduce the problem
6) Trim startup information and attach verbosedebug.txt to the issue.

Reopen when ready.

By: Danilo (simulatorhck) 2007-03-19 17:07:07

Here is the verbosedebug.txt

By: Serge Vecher (serge-v) 2007-03-20 08:30:16

ok, they are sending us an invite without any "m=" or "c=" lines, which I believe is not allowed. However, I don't see an attempt in the log to call out, which you claim you can't do after receiving an invite like that.

By: Danilo (simulatorhck) 2007-03-20 16:36:42

Well. I can make calls also after this error. But i cant receive calls...

By: Joshua C. Colp (jcolp) 2007-03-20 22:42:26

Someone is seriously wrong... are these packets going through a proxy that could be mangling the contents? sip debug outputs exactly what comes in from the socket before doing any sort of processing and it quite clearly shows no SDP, despite the message saying there should be and giving a length. I really think this issue is between the two ends... even the 200 OK response to the OPTIONS has proper SDP, just not that INVITE.

By: Danilo (simulatorhck) 2007-03-21 01:44:04

Well i'm quite sure that this problem is not in my config but in the one of Eutelia...I think they changed something...Hardware or software and that's the result...But is possible to apply a patch to accept and process the sdp packets also without "C " and "M"?

By: Serge Vecher (serge-v) 2007-03-21 08:42:30

no, we can't create a patch that will not require an SDP; that's against the standards. The root of the problem lies with your provider: for whatever reason they are sending a malformed INVITE packet without SDP. I advise that you contact their technical support, so they fix it on their end.