I receive an INVITE/SDP containing:
m=audio 11310 RTP/AVP 3 0 101
which I interpret as gsm, ulaw, rfc2833.
and I reply with an OK/SDP containing:
m=audio 15884 RTP/AVP 0 3 101
which I interpret as ulaw, gsm, rfc2833.
How can I tell which codec was actually used for the call?
We're having an odd issue with codec negotiation from one of our SIP providers.
Here's the basic situation.
We receive an invite from them advertising support for G711, G729, and G723. In
our response, we send back that we support G711 and G729. In about half the
cases, this results in no probl
On Thu, May 10, 2018 at 11:44:14AM -0700, Steve Edwards wrote:
> I receive an INVITE/SDP containing:
>
> m=audio 11310 RTP/AVP 3 0 101
>
> which I interpret as gsm, ulaw, rfc2833.
>
> and I reply with an OK/SDP containing:
>
> m=audio 15884 RTP/AVP 0 3 101
>
> which I interpret as
On Thu, May 10, 2018 at 11:44:14AM -0700, Steve Edwards wrote:
I receive an INVITE/SDP containing:
m=audio 11310 RTP/AVP 3 0 101
which I interpret as gsm, ulaw, rfc2833.
and I reply with an OK/SDP containing:
m=audio 15884 RTP/AVP 0 3 101
which I interpret as ulaw, gsm, rfc
On Fri, May 11, 2018, at 10:07 AM, Steve Edwards wrote:
>
> So, without examining the RTP, you cannot tell which codec was actually
> used?
>From an Asterisk perspective "core show channel" will also show you what is
>currently flowing.
> In the above example, even though the INVITE/SDP say
On Fri, 11 May 2018, Joshua Colp wrote:
In the above example, even though the INVITE/SDP says they prefer gsm
over ulaw and the OK/SDP says I prefer ulaw over gsm, they can choose
to use gsm or ulaw?
Yes.
Can it be asymmetrical? They send gsm and I send ulaw?
Technically, yes. In practice
On Fri, May 11, 2018, at 10:36 AM, Steve Edwards wrote:
> On Fri, 11 May 2018, Joshua Colp wrote:
>
> >> In the above example, even though the INVITE/SDP says they prefer gsm
> >> over ulaw and the OK/SDP says I prefer ulaw over gsm, they can choose
> >> to use gsm or ulaw?
> >
> > Yes.
> >
> >>
The unwritten rule of SDP is that if possible you use the first codec of a
type listed, but you don’t have to. If the sender says he can do
something, he had better be prepared to handle media of that type no matter
in what order it was listed.
So when you send OK with ulaw as first priority and
On Fri, May 11, 2018, at 10:36 AM, Steve Edwards wrote:
So, Asterisk will defer it's choice of codec to match the codec it detects
in the incoming stream?
On Fri, 11 May 2018, Joshua Colp wrote:
It depends on the channel driver and configuration. The chan_sip module
always matching outgoing
- "Kevin Sandy" escreveu:
> We're having an odd issue with codec negotiation from one of our SIP
> providers. Here's the basic situation.
>
> We receive an invite from them advertising support for G711, G729, and
> G723. In our response, we send back that we support G711 and G729. In
> about
2010/3/17 Vinícius Fontes
> - "Kevin Sandy" escreveu:
>
> > We're having an odd issue with codec negotiation from one of our SIP
> > providers. Here's the basic situation.
> >
> > We receive an invite from them advertising support for G711, G729, and
> > G723. In our response, we send back t
Steve-
> 2010/3/17 Vinícius Fontes
>
>> - "Kevin Sandy" escreveu:
>>
>> > We're having an odd issue with codec negotiation from one of our SIP
>> > providers. Here's the basic situation.
>> >
>> > We receive an invite from them advertising support for G711, G729, and
>> > G723. In our respon
Steve-
> On Wed, Mar 17, 2010 at 6:02 PM, Jeff Brower wrote:
>
> Steve-
>
> > 2010/3/17 Vin¨ªcius Fontes
> >
> >> - "Kevin Sandy" escreveu:
> >>
> >> > We're having an odd issue with codec negotiation from one of our SIP
>
> >> > providers. Here's the bas
On 3/17/2010 6:25 PM, Jeff Brower wrote:
> Steve-
>
> On Wed, Mar 17, 2010 at 6:02 PM, Jeff Brower
> mailto:jbro...@signalogic.com>> wrote:
> Steve-
>
>> 2010/3/17 Vinícius Fontes
>> mailto:vinic...@canall.com.br>>
>>
>>> - "Kevin Sandy" mailto:kevin.sa...@snohio.net>>
>>> escreveu:
>>>
>
17 mar 2010 kl. 16.37 skrev Kevin Sandy:
> We're having an odd issue with codec negotiation from one of our SIP
> providers. Here's the basic situation.
>
> We receive an invite from them advertising support for G711, G729, and G723.
> In our response, we send back that we support G711 and G72
On 3/21/2010 4:05 AM, Olle E. Johansson wrote:
>
> 17 mar 2010 kl. 16.37 skrev Kevin Sandy:
>
>> We're having an odd issue with codec negotiation from one of our
>> SIP providers. Here's the basic situation.
>>
>> We receive an invite from them advertising support for G711, G729,
>> and G723.
22 mar 2010 kl. 14.54 skrev Kevin Sandy:
>
>
> On 3/21/2010 4:05 AM, Olle E. Johansson wrote:
>>
>
>> 17 mar 2010 kl. 16.37 skrev Kevin Sandy:
>>
>>> We're having an odd issue with codec negotiation from one of our
>>> SIP providers. Here's the basic situation.
>>>
>>> We receive an invite
17 matches
Mail list logo