Re: [asterisk-users] OT: DMARC enabled domains on this list

2017-06-02 Thread Doug Lytle

>>> On Jun 2, 2017, at 4:19 PM, Daniel Tryba dan...@tryba.nl wrote:

>>> Having enabled a strict DMARC setup I noticed everytime I send a message
>>> here I get all these reports of messages which fail DMARC. Since I don't
>>> want people to miss my wise thoughts maybe the maintainers of this list
>>> could look into DKIM signing (or any of the other ways to work around
>>> spf and dmarc breaking forwards)

Since I just did this myself a couple days ago, I'll see what I get with this 
reply.

Doug

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] OT: DMARC enabled domains on this list

2017-06-02 Thread Daniel Tryba
Having enabled a strict DMARC setup I noticed everytime I send a message
here I get all these reports of messages which fail DMARC. Since I don't
want people to miss my wise thoughts maybe the maintainers of this list
could look into DKIM signing (or any of the other ways to work around
spf and dmarc breaking forwards)


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Let's encrypt privkey : Specified certificate file could not be used

2017-06-02 Thread Daniel Tryba
On Fri, Jun 02, 2017 at 02:36:38PM +0200, Jonas Kellens wrote:
> [Jun  2 14:29:28]   == DTLS ECDH initialized (secp256r1), faster PFS enabled
> [Jun  2 14:29:28] ERROR[27360][C-0ae5]: res_rtp_asterisk.c:1441
> ast_rtp_dtls_set_configuration: Specified certificate file
> '/etc/letsencrypt/live/ws.mydomain.tld/privkey.pem' for RTP instance
> '0x7f920c538a78' could not be used

What size is the privatekey? There is a script to create cert for
asterisk:
https://github.com/asterisk/asterisk/blob/master/contrib/scripts/ast_tls_cert
It create a 1024b keypair, maybe for a good reason. Certbot its size is
2048 by default. Try adding --rsa-key-size 1024 (our signing a
"handcrafted" key)


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] OT: Want to capture all SIP messages

2017-06-02 Thread Marcelo Terres
You can save individual calls with voipmonitor too, and it save the
info in a mysql db, allowing you to search the pcap files easily.
Marcelo H. Terres 
IM: mhter...@jabber.mundoopensource.com.br
https://www.mundoopensource.com.br
https://twitter.com/mhterres
https://linkedin.com/in/marceloterres


On 2 June 2017 at 17:00, ewieling  wrote:
>
> I use pcapsipdump.  It has the added advantage of splitting the captures
> into individual calls
>
>
>
> On 06/01/2017 06:09 AM, Tony Mountifield wrote:
>>
>> In article ,
>> Steve Edwards  wrote:
>>>
>>> On Wed, 31 May 2017, Steve Edwards wrote:
>>>
 I want to capture all SIP messages.

 I have about 30 hosts in about 6 colos.

 My first thought was dumpcap, but the output file name format bugs me.

 What do you use for long term SIP capture?
>>>
>>> A little more specificity...
>>>
>>> I'd like the capture to be in a series of files that can be 'rotated' or
>>> 'aged out' so that I can always have x days of traffic on hand but not
>>> have to prune the files to keep the storage requirements reasonable.
>>
>> On most of my systems I have a script sip-capture:
>>
>> ---
>> #!/bin/sh
>>
>> DATE=`date '+%Y%m%d-%H%M%S'`
>> FILE=sip-`hostname -s`-$DATE.pkt
>>
>> cd /var/tmp
>>
>> tcpdump -C 8 -i any -n -p -s 0 -w $FILE udp port 5060 > >/dev/null 2>&1 &
>> ---
>>
>> I start it in /etc/rc.d/rc.local for want of anywhere better.
>>
>> Being in /var/tmp, cron.daily/tmpwatch deletes files older than 30 days.
>> I could just have easily put them somewhere else and used the -W option
>> to tcpdump to remove old files on a rolling basis.
>>
>> Cheers
>> Tony
>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>  https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] OT: Want to capture all SIP messages

2017-06-02 Thread ewieling


I use pcapsipdump.  It has the added advantage of splitting the captures 
into individual calls



On 06/01/2017 06:09 AM, Tony Mountifield wrote:

In article ,
Steve Edwards  wrote:

On Wed, 31 May 2017, Steve Edwards wrote:


I want to capture all SIP messages.

I have about 30 hosts in about 6 colos.

My first thought was dumpcap, but the output file name format bugs me.

What do you use for long term SIP capture?

A little more specificity...

I'd like the capture to be in a series of files that can be 'rotated' or
'aged out' so that I can always have x days of traffic on hand but not
have to prune the files to keep the storage requirements reasonable.

On most of my systems I have a script sip-capture:

---
#!/bin/sh

DATE=`date '+%Y%m%d-%H%M%S'`
FILE=sip-`hostname -s`-$DATE.pkt

cd /var/tmp

tcpdump -C 8 -i any -n -p -s 0 -w $FILE udp port 5060 /dev/null 2>&1 
&
---

I start it in /etc/rc.d/rc.local for want of anywhere better.

Being in /var/tmp, cron.daily/tmpwatch deletes files older than 30 days.
I could just have easily put them somewhere else and used the -W option
to tcpdump to remove old files on a rolling basis.

Cheers
Tony



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Let's encrypt privkey : Specified certificate file could not be used

2017-06-02 Thread Jonas Kellens

Hello

I get the following error when using our Let's Encrypt ssl certificate 
for webRTC calls :


[Jun  2 14:29:28]   == DTLS ECDH initialized (secp256r1), faster PFS enabled
[Jun  2 14:29:28] ERROR[27360][C-0ae5]: res_rtp_asterisk.c:1441 
ast_rtp_dtls_set_configuration: Specified certificate file 
'/etc/letsencrypt/live/ws.mydomain.tld/privkey.pem' for RTP instance 
'0x7f920c538a78' could not be used
[Jun  2 14:29:28] ERROR[27360][C-0ae5]: chan_sip.c:5941 
dialog_initialize_dtls_srtp: Attempted to set an invalid DTLS-SRTP 
configuration on RTP instance '0x7f920c538a78'


(ws.mydomain.tld is of course masked)


Any idea why Asterisk has a problem with the certificate ?


Kind regards.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Confbridge or Bridge

2017-06-02 Thread Thomas
Hi,

an agent should wait in an confroom and hear some music or tones.
On an website he should put in an tel number for calling to somebody.
This is working wih phpagi very well.

I have problems with
Agent should hear ringing when callee is called, busy for may be 5 s that 
callee is busy or congestion

I have problem when agent is the leaving before callee, that hangup should 
send to callee channel.

Also habe somebody an source for an soundfile with every 5s an beep that agent 
is hearing when he is the only person in confroom.

thanks 
Thomas



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users