Re: [asterisk-users] Asterisk not using common codec between (SIP) endpoints

2019-10-03 Thread Andreas Wehrmann
On 03/10/2019 16:24, Joshua C. Colp wrote: In PJSIP there is the PJSIP_MEDIA_OFFER dialplan function[1] but ultimately codec negotiation is not written or implemented in the way you need. There are some hints provided internally for outgoing legs but the result is still ultimately

Re: [asterisk-users] Error compile dahdi 3 on CentOS 7.7

2019-10-03 Thread Shaun Ruffell
On Thu, Oct 03, 2019 at 09:53:40AM -0400, Jerry Geis wrote: > >although it looks like the dahdi-linux-complete tarball has not been > >updated since the final 3.1.0 was released) > > This works - when will the tar be updated ? Unfortunately, I do not have any specific insight that would allow me

Re: [asterisk-users] Asterisk not using common codec between (SIP) endpoints

2019-10-03 Thread Joshua C. Colp
On Thu, Oct 3, 2019, at 11:10 AM, Andreas Wehrmann wrote: > > On 03.10.19 15:08, Administrator TOOTAI wrote: > > > Before calling the gatreway add > > > > same = n,set(SIP_CODEC=alaw) > > > > [...] > > > > Hey there, > > that doesn't work as it seems to be implemented for chan_sip only; > I'm

Re: [asterisk-users] Asterisk not using common codec between (SIP) endpoints

2019-10-03 Thread Andreas Wehrmann
On 03.10.19 15:08, Administrator TOOTAI wrote: Before calling the gatreway add same = n,set(SIP_CODEC=alaw) [...] Hey there, that doesn't work as it seems to be implemented for chan_sip only; I'm using chan_pjsip; sorry if I didn't explain myself properly. Anyway, in my case that would

Re: [asterisk-users] Error compile dahdi 3 on CentOS 7.7

2019-10-03 Thread Jerry Geis
>although it looks like the dahdi-linux-complete tarball has not been >updated since the final 3.1.0 was released) This works - when will the tar be updated ? Thanks, Jerry -- _ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] Error compile dahdi 3 on CentOS 7.7

2019-10-03 Thread Shaun Ruffell
On Thu, Oct 03, 2019 at 08:59:29AM -0400, Jerry Geis wrote: > What should I do about the below error? Compiling from source. CentOS 7.7 > is fully updated. > > Thanks > > Jerry > > In file included from > digium/dahdi-linux-complete-3.0.0+3.0.0/linux/drivers/dahdi/dahdi-base.c:68:0: >

Re: [asterisk-users] Asterisk not using common codec between (SIP) endpoints

2019-10-03 Thread Administrator TOOTAI
Hi Le 03/10/2019 à 13:13, Andreas Wehrmann a écrit : [...] - Even if direct_media is disabled: Is there a way to make Asterisk always use a common codec between SIP endpoints,   so it doesn't need to transcode? Before calling the gatreway add same = n,set(SIP_CODEC=alaw) [...] --

[asterisk-users] Error compile dahdi 3 on CentOS 7.7

2019-10-03 Thread Jerry Geis
What should I do about the below error? Compiling from source. CentOS 7.7 is fully updated. Thanks Jerry In file included from digium/dahdi-linux-complete-3.0.0+3.0.0/linux/drivers/dahdi/dahdi-base.c:68:0: digium/dahdi-linux-complete-3.0.0+3.0.0/linux/include/dahdi/kernel.h:1422:1: error:

[asterisk-users] Asterisk not using common codec between (SIP) endpoints

2019-10-03 Thread Andreas Wehrmann
Hello people, I've ran into two problem that I can't seem to be able to solve on my own. Here's my scenario (running Asterisk 13.28.1): In short: - Asterisk behaves unexpectedly (at least to me) when negotiating between endpoints     that have a different but intersecting set of codecs