bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bayonne-devel] Unsupported Media Type, Bayonne2


From: David Sugar
Subject: Re: [Bayonne-devel] Unsupported Media Type, Bayonne2
Date: Tue, 11 Apr 2006 10:22:41 -0400
User-agent: Thunderbird 1.5 (X11/20051201)

The sdp negotiation is all in sip/driver.cpp.

At 1506:

while(!osip_list_eol(remote_media->a_attributes$ { attr = (sdp_attribute_t *)osip_list_get$ if(!attr)
                                                continue;
                                        tmp = attr->a_att_value;
                                        if(!tmp)
                                                continue;

if(stricmp(attr->a_att_field, "rtpmap")) continue;

                                        adp = tmp;



It parses the remote attributes looking for rtpmap entries.

at 1528, it sees if the map is for telephone-events (2833).

At 1533, it sees if the current map entry matches the media type bayonne is looking for (stored in "data_rtpmap"). So if data_rtpmap has invalid values, or doesn't match the way the entry is as presented by the remote, it will fail to match. This is where I would suggest looking first.

Alexandre BOULANGER wrote:
Le mardi 11 avril 2006 à 08:18 -0400, David Sugar a écrit :
What I am looking for and don't see is the Bayonne reply SDP. Hmm...in the "register" statement, do you have an encoding= statement? You can do that now and specify encoding per sip registration entity....

Try encoding=alaw in your register statement. You can also force the payload map both globally and in the register statement. Hence, maybe "encoding=alaw payload=8", though it is supposed to parse the attributes to match the rtpmap.


Thanks for your answer,


Well, I've first of all upgraded to 1.5.0, and the latest cc*
components.

Then I've tried adding encoding=alaw in my register statement, and
encoding=alaw in driver.conf, nothing changed.
Same issue with encoding=mulaw, and with the encoding commented in
driver.conf

Bayonne still replies a 415 Unsupported Media Type right after sending a
101 Dialog Establishment


payload overridein the register statement does not seem to be
recognized:

register.sip: invalid keywords for sip, use uri, timeout, proxy, userid,
secret, port

So I've set it up in driver.conf, but there's still no chance.


Is there a way to increase debug in some component to see what's the
result of the negociation?

TIA



_______________________________________________
Bayonne-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bayonne-devel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]