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: Thu, 30 Mar 2006 09:32:53 -0500
User-agent: Thunderbird 1.5 (X11/20060313)

You need 1.2.1, where I fixed the sdp negotiation fully and think
finally correctly,  to examine the rtpmap of the remote's attributes.  I
have also considered changes to allow Bayonne to support and negotiate
sessions for which it has no direct codec.  After all, Bayonne need not
know the audio data to play and record prompts.  Hence, it could then
potentially record and playback a g729 audio file even if it cannot know
what it is recording and playing :).  To do that, I need to define
additional audio formats in ccaudio even without matching codecs, and
then add them to the sdp negotiation code in Bayonne.

Alexandre BOULANGER wrote:
> Hi,
>
> I was working well with a SIP IVR, running Bayonne2 1.2.0
> My VoIP provider has suddenly changed the codecs used on its PSTN/VoIP
> gateway, adding g729 and g729a, so my IVR cannot be joined anymore.
>
>
> Here's what the gateway is sending me for SIP INVITE 
>
> ------8<---
> v=0
> o=- 1004590400007376 1 IN IP4 xx.xx.xx.xx
> s=-
> c=IN IP4 xx.xx.xx.xx
> t=0 0
> m=audio 4010 RTP/AVP 18 18 8 0
> a=rtpmap:18 G729/8000
> a=ptime:20
> a=rtpmap:18 G729A/8000
> a=ptime:20
> a=rtpmap:8 PCMA/8000
> a=ptime:20
> a=rtpmap:0 PCMU/8000
> a=ptime:20
> a=sendrecv
> m=image 4012 udptl t38
> ------8<---
>
> Then I get 
>
> IVR -> GW   SIP/2.0 100 Trying
> IVR -> GW   SIP/2.0 101 Dialog Establishement
> IVR -> GW   SIP/2.0 415 Unsupported Media Type
> GW  -> IVR  ACK
>
>
>
> I know ccAudio supports gsm, g.711 and g.723 codecs
> I've tried to change audio encoding format in driver.conf
> (mulaw,alaw,gsm) but there was no significant result:
>
>
> Mar 30 08:30:26 bayonne[20741]: sip: adding sdp encoding 0 PCMU/8000
> Mar 30 08:30:26 bayonne[20741]: sip: bound to port 5060
> Mar 30 08:30:46 bayonne[20741]: sip: got bye for non-existant call
>
> Mar 30 08:32:26 bayonne[20771]: sip: adding sdp encoding 3 GSM/8000
> Mar 30 08:32:26 bayonne[20771]: sip: bound to port 5060
> Mar 30 08:32:52 bayonne[20771]: sip: got bye for non-existant call
>
> Mar 30 08:33:41 bayonne[20796]: sip: adding sdp encoding 8 PCMA/8000
> Mar 30 08:33:41 bayonne[20796]: sip: bound to port 5060
> Mar 30 08:33:59 bayonne[20741]: sip: got bye for non-existant call
>
>
> I should at least match the PCM* encodings..
> Does someone have a clue on what's going wrong?
>
> TIA
>
>   

reply via email to

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