diff -u -r1.510 chan_sip.c --- channels/chan_sip.c 28 Sep 2004 12:55:08 -0000 1.510 +++ channels/chan_sip.c 11 Oct 2004 15:24:40 -0000 @@ -2698,7 +2698,12 @@ sdpLineNum_iterator_init(&iterator); p->novideo = 1; while ((m = get_sdp_iterate(&iterator, req, "m"))[0] != '\0') { - if ((sscanf(m, "audio %d RTP/AVP %n", &x, &len) == 1)) { + int nconversions; + + nconversions = sscanf(m, "audio %d RTP/AVP %n", &x, &len); + if (nconversions < 1) + nconversions = sscanf(m, "audio %d/1 RTP/AVP %n", &x, &len); + if (nconversions == 1) { portno = x; /* Scan through the RTP payload types specified in a "m=" line: */ ast_rtp_pt_clear(p->rtp);