Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2021-05-15 Thread Michael Maier
On 21.10.19 at 17:23 Michael Maier wrote: New patchset for Asterisk 18.4. As I don't use other versions of Asterisk any more, I don't have a patchset for those versions. How should it all be used now? If you want to use SIPS and SRTP with Deutsche Telekom AllIP, you have to be sure to enable

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2021-01-15 Thread Michael Maier
On 21.10.19 at 17:23 Michael Maier wrote: Attached are actual patches for Asterisk 16.16.0-rc1, 18.0.1 and 18.2.0-rc1 (one patch for each version). Version 16.16.0-rc1 is only compile tested (16.14.x was the last asterisk 16 version I used myself). 18.2.0-rc1 is used here (as 18.1 and

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-10-21 Thread Michael Maier
Hi! Meanwhile, there is an improved version of the mediasec patch, which adds a switch to enable mediasec headers for each endpoint individually. This patch is thankfully provided by André Valentin (avalen...@marcant.net / https://www.marcant.net/en/). It's the patch

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-09-16 Thread Michael Maier
On 02.09.19 at 19:03 Michael Maier wrote: > On 30.05.19 at 10:24 Michael Maier wrote: >> Hello! >> >> I wrote some code, which adds basic media encryption support to be used with >> Deutsche Telekom. The attached patch is based on Asterisk 16.3 >> and works for me :-) - not fully tested yet. If

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-09-02 Thread Andre Valentin
Hello Michael, i just tested your patch with my tcom setup. I noticed that it works in most cases. On case that leads to a fail is a reinvite because of codec or connect line information change. Take a look: Calls starts: INVITE sip:0191...@tel.t-online.de SIP/2.0 Via: SIP/2.0/TLS

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-09-02 Thread Michael Maier
On 30.05.19 at 10:24 Michael Maier wrote: > Hello! > > I wrote some code, which adds basic media encryption support to be used with > Deutsche Telekom. The attached patch is based on Asterisk 16.3 > and works for me :-) - not fully tested yet. If you want to use it, you have > to enable

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-06-10 Thread Michael Maier
Hello! That's the *complete* patch for Asterisk 16.3 (can be applied to asterisk 16.4, too). Logging has been changed to ast_debug(3,). See previous posts for information about usage. Regards, Michael diff -urN asterisk-16.3.0.orig/res/res_pjsip/pjsip_options.c

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-05-31 Thread Michael Maier
On 31.05.19 at 19:25 Joshua C. Colp wrote: > On Fri, May 31, 2019, at 1:57 PM, Michael Maier wrote: > > > >> >> Thanks Joshua! >> >> I added the attached changes. Afterwards, I could see one SIGSEGV so >> far which I can't understand. I would be very happy, if you could take >> a >> look at

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-05-31 Thread Joshua C. Colp
On Fri, May 31, 2019, at 1:57 PM, Michael Maier wrote: > > Thanks Joshua! > > I added the attached changes. Afterwards, I could see one SIGSEGV so > far which I can't understand. I would be very happy, if you could take > a > look at it - maybe you have an idea? Most probably I'm doing

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-05-31 Thread Michael Maier
On 31.05.19 at 11:34 Joshua C. Colp wrote: On Fri, May 31, 2019, at 3:38 AM, Michael Maier wrote: On 30.05.19 at 10:24 Michael Maier wrote: [...] Another yet missing point is the qualify OPTIONS package. I'm not sure where to add the mediasec headers exactly (which function?). At the moment,

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-05-31 Thread Joshua C. Colp
On Fri, May 31, 2019, at 3:38 AM, Michael Maier wrote: > On 30.05.19 at 10:24 Michael Maier wrote: > [...] > > Another yet missing point is the qualify OPTIONS package. I'm not sure > > where to add the mediasec headers exactly (which function?). At the > > moment, the Response after OPTION

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-05-31 Thread Michael Maier
On 30.05.19 at 10:24 Michael Maier wrote: [...] Another yet missing point is the qualify OPTIONS package. I'm not sure where to add the mediasec headers exactly (which function?). At the moment, the Response after OPTION request is (if already registered): SIP/2.0 494 Security Agreement

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-05-30 Thread Michael Maier
Hello! I wrote some code, which adds basic media encryption support to be used with Deutsche Telekom. The attached patch is based on Asterisk 16.3 and works for me :-) - not fully tested yet. If you want to use it, you have to enable media_encryption=sdes for the extension (and transport tls

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-05-29 Thread Michael Maier
On 28.05.19 at 15:12 Joshua C. Colp wrote: > On Sun, May 26, 2019, at 1:51 PM, Michael Maier wrote: >> On 24.05.19 at 12:45 Joshua C. Colp wrote: >>> On Fri, May 24, 2019, at 3:35 AM, Michael Maier wrote: >> - Is there any possibility in handle_client_registration to check if >> encryption is

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-05-28 Thread Joshua C. Colp
On Sun, May 26, 2019, at 1:51 PM, Michael Maier wrote: > On 24.05.19 at 12:45 Joshua C. Colp wrote: > > On Fri, May 24, 2019, at 3:35 AM, Michael Maier wrote: > >> On 03.02.19 at 12:00 Joshua C. Colp wrote: > >>> On Sun, Feb 3, 2019, at 6:03 AM, Michael Maier wrote: > On 15.01.19 at 20:27

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-05-26 Thread Joshua C. Colp
On Sun, May 26, 2019, at 1:51 PM, Michael Maier wrote: > On 24.05.19 at 12:45 Joshua C. Colp wrote: > > On Fri, May 24, 2019, at 3:35 AM, Michael Maier wrote: > >> On 03.02.19 at 12:00 Joshua C. Colp wrote: > >>> On Sun, Feb 3, 2019, at 6:03 AM, Michael Maier wrote: > On 15.01.19 at 20:27

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-05-26 Thread Michael Maier
On 24.05.19 at 12:45 Joshua C. Colp wrote: > On Fri, May 24, 2019, at 3:35 AM, Michael Maier wrote: >> On 03.02.19 at 12:00 Joshua C. Colp wrote: >>> On Sun, Feb 3, 2019, at 6:03 AM, Michael Maier wrote: On 15.01.19 at 20:27 Joshua C. Colp wrote: [...] In which function should the

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-05-24 Thread Joshua C. Colp
On Fri, May 24, 2019, at 3:35 AM, Michael Maier wrote: > On 03.02.19 at 12:00 Joshua C. Colp wrote: > > On Sun, Feb 3, 2019, at 6:03 AM, Michael Maier wrote: > >> On 15.01.19 at 20:27 Joshua C. Colp wrote: > > > > > > > >> > >> > >> If I wanted to try it myself - what would be the correct

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-05-24 Thread Michael Maier
On 03.02.19 at 12:00 Joshua C. Colp wrote: > On Sun, Feb 3, 2019, at 6:03 AM, Michael Maier wrote: >> On 15.01.19 at 20:27 Joshua C. Colp wrote: > > > >> >> >> If I wanted to try it myself - what would be the correct places to >> implement it? >> >> It shouldn't be that complicated, because it

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-02-03 Thread Joshua C. Colp
On Sun, Feb 3, 2019, at 6:03 AM, Michael Maier wrote: > On 15.01.19 at 20:27 Joshua C. Colp wrote: > > > If I wanted to try it myself - what would be the correct places to > implement it? > > It shouldn't be that complicated, because it seems mostly to be done by > adding some additional

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-02-03 Thread Michael Maier
On 15.01.19 at 20:27 Joshua C. Colp wrote: > > > On Tue, Jan 15, 2019, at 3:23 PM, Michael Maier wrote: >> Hello! >> >> Deutsche Telekom introduced sips and srtp. I tested it and it works >> partly. Partly means: sips is working - but not srtp. srtp doesn't >> work, because of missing

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-01-16 Thread sean darcy
On 1/15/19 1:49 PM, Michael Maier wrote: Hello! Deutsche Telekom introduced sips and srtp. I tested it and it works partly. Partly means: sips is working - but not srtp. srtp doesn't work, because of missing additional headers in the REGISTER and INVITE packages (according an enhancement of

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-01-15 Thread Malcolm Davenport
Howdy, As Asterisk is an open source project, new capabilities are implemented by many different individuals and organizations, each driven by their own self-interests. We at Digium and Sangoma, who do represent a large share of the development contributions to Asterisk, are happy to take any

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-01-15 Thread Michael Maier
On 15.01.19 at 20:27 Joshua C. Colp wrote: > > > On Tue, Jan 15, 2019, at 3:23 PM, Michael Maier wrote: >> Hello! >> >> Deutsche Telekom introduced sips and srtp. I tested it and it works >> partly. Partly means: sips is working - but not srtp. srtp doesn't >> work, because of missing

Re: [asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-01-15 Thread Joshua C. Colp
On Tue, Jan 15, 2019, at 3:23 PM, Michael Maier wrote: > Hello! > > Deutsche Telekom introduced sips and srtp. I tested it and it works > partly. Partly means: sips is working - but not srtp. srtp doesn't > work, because of missing additional > headers in the REGISTER and INVITE packages

[asterisk-dev] pjsip asterisk 13.24: sips / srtp and Deutsche Telekom doesn't work because of missing mediasec parameters

2019-01-15 Thread Michael Maier
Hello! Deutsche Telekom introduced sips and srtp. I tested it and it works partly. Partly means: sips is working - but not srtp. srtp doesn't work, because of missing additional headers in the REGISTER and INVITE packages (according an enhancement of RFC 3329). Example: UAC