Re: [asterisk-users] h264 recording

2018-03-26 Thread Antony Stone
On Monday 26 March 2018 at 23:16:07, Benjamin Marty wrote:

> 2018-03-26 23:01 GMT+02:00 Antony Stone:
> > That sounds like a pretty big challenge for Asterisk.
> 
> As far as it at least claim to record some sort of h264 it doesn't sound as
> a to big challenge for me. My plan is to use e.g. ffmpeg to convert the
> h264 media stream to an image
> 
> > I'm impressed that you get a test.h264 file, given that you asked the
> > Record function to create a test.wav file for you...
> 
> That's how the Asterisk record application works. You have to give it the
> Audio filename and it creates in addition a video file with the
> approperiate extension if video is there in the call.
> 
> > What does the "file" command tell you it seems to contain?
> 
> # file test.h264
> test.h264: data

Okay, then I defer to someone with more expertise / experience than I in 
getting Asterisk to record video to hopefully help out further.


Antony.

-- 
"If I've told you once, I've told you a million times - stop exaggerating!"

   Please reply to the list;
 please *don't* CC me.

-- 
_
-- 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] h264 recording

2018-03-26 Thread Benjamin Marty
2018-03-26 23:01 GMT+02:00 Antony Stone <
antony.st...@asterisk.open.source.it>:

> That sounds like a pretty big challenge for Asterisk.
>

As far as it at least claim to record some sort of h264 it doesn't sound as
a to big challenge for me. My plan is to use e.g. ffmpeg to convert the
h264 media stream to an image


> I'm impressed that you get a test.h264 file, given that you asked the
> Record
> function to create a test.wav file for you...
>

That's how the Asterisk record application works. You have to give it the
Audio filename and it creates in addition a video file with the
approperiate extension if video is there in the call.

>
> What does the "file" command tell you it seems to contain?
>

# file test.h264
test.h264: data
-- 
_
-- 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] h264 recording

2018-03-26 Thread Antony Stone
On Monday 26 March 2018 at 22:33:25, Benjamin Marty wrote:

>  Hi,
> 
> I'm using the Record dialplan Application in an Context. My goal is to get
> a single screenshot of the h264 media stream per call.

That sounds like a pretty big challenge for Asterisk.

> same => n,Record(/tmp/test.wav,0,10,qk)
> 
> I nicely get a File test.h264.

I'm impressed that you get a test.h264 file, given that you asked the Record 
function to create a test.wav file for you...

> Is there a way to Playback this h264 video file on my computer or convert it
> somehow? VLC can't take it somehow.

What does the "file" command tell you it seems to contain?


Antony.

-- 
3 logicians walk into a bar. The bartender asks "Do you all want a drink?"
The first logician says "I don't know."
The second logician says "I don't know."
The third logician says "Yes!"

   Please reply to the list;
 please *don't* CC me.

-- 
_
-- 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] h264 recording

2018-03-26 Thread Benjamin Marty
 Hi,

I'm using the Record dialplan Application in an Context. My goal is to get
a single screenshot of the h264 media stream per call.

 same => n,Record(/tmp/test.wav,0,10,qk)

I nicely get a File test.h264. Is there a way to Playback this h264 video
file on my computer or convert it somehow? VLC can't take it somehow.

Regards,

Benjamin
-- 
_
-- 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] Audio Dropouts During Call

2018-03-26 Thread Bertrand LUPART - Linkeo.com
Hello,


> Only one of the servers has the drop-out issues.  This location has a network 
> switch on the main desk due to wiring limitations, but several
> of the other non-problematic offices do as well.


I run some offices with similar asterisk configurations, only one experiencing 
drop-out calls as well.

Just visited the impacted office today, discovering their phones are 
daisy-chained. Still investigating, but i'm pretty confident correctly wiring 
them on a decent switch will correct the issue.

Also double-check the phone are correctly wired (LAN on LAN port and not on 
computer port)

OTOH

-- 
Bertrand LUPART-- 
_
-- 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] Client Asterisks can't connect when main Asterisk reboot

2018-03-26 Thread Administrator TOOTAI

Le 26/03/2018 à 11:08, Antony Stone a écrit :

On Monday 26 March 2018 at 10:58:01, Administrator TOOTAI wrote:


Hi all,

we are running some Asteriks (version 13 on Debian Stretch) as VM/kvm in
datacenter and have trunks with other Asterisk (v1.8 11 or 13) instances
behind FW. Problem we face is that when we reboot the DC Asterisks, the
trunks (SIP or IAX) become alive from DC Asterisks to clients ones but
UNAVAILABLE the other way.

In clients logs we see

Registration for 'XXX@ourDCAsteriks' timed out, trying again (Attempt
#5550)

or UNREACHABLE in case of no registration or IAX

Sometimes a restart from client Asterisks is enough (SIP or IAX reload
has no effect) to recover the full trunk, but in most cases we have to
reboot the client server :(

If we use a VPN (OpenVPN) between Asterisks, no problem.

What can be the problem ?


Are you doing NAT between the two servers?  Your comment about using a VPN
makes me think you probably are.


Yes, NAT is involved.



In that case I suggest the problem is with stale connection tracking table
entries on the machine which is doing the NAT.


OK, effectively the clients having problems are behind ISP boxes which 
means poor NAT level :( Others behind linux boxes (except one behind 
Sophos UTM) doesn't have this problem.


Thanks for your enlightenment.

Daniel

--
_
-- 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] Client Asterisks can't connect when main Asterisk reboot

2018-03-26 Thread Antony Stone
On Monday 26 March 2018 at 10:58:01, Administrator TOOTAI wrote:

> Hi all,
> 
> we are running some Asteriks (version 13 on Debian Stretch) as VM/kvm in
> datacenter and have trunks with other Asterisk (v1.8 11 or 13) instances
> behind FW. Problem we face is that when we reboot the DC Asterisks, the
> trunks (SIP or IAX) become alive from DC Asterisks to clients ones but
> UNAVAILABLE the other way.
> 
> In clients logs we see
> 
> Registration for 'XXX@ourDCAsteriks' timed out, trying again (Attempt
> #5550)
> 
> or UNREACHABLE in case of no registration or IAX
> 
> Sometimes a restart from client Asterisks is enough (SIP or IAX reload
> has no effect) to recover the full trunk, but in most cases we have to
> reboot the client server :(
> 
> If we use a VPN (OpenVPN) between Asterisks, no problem.
> 
> What can be the problem ?

Are you doing NAT between the two servers?  Your comment about using a VPN 
makes me think you probably are.

In that case I suggest the problem is with stale connection tracking table 
entries on the machine which is doing the NAT.


Regards,


Antony.

-- 
I thought I had type A blood, but it turned out to be a typo.

   Please reply to the list;
 please *don't* CC me.

-- 
_
-- 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] Client Asterisks can't connect when main Asterisk reboot

2018-03-26 Thread Administrator TOOTAI

Hi all,

we are running some Asteriks (version 13 on Debian Stretch) as VM/kvm in 
datacenter and have trunks with other Asterisk (v1.8 11 or 13) instances 
behind FW. Problem we face is that when we reboot the DC Asterisks, the 
trunks (SIP or IAX) become alive from DC Asterisks to clients ones but 
UNAVAILABLE the other way.


In clients logs we see

Registration for 'XXX@ourDCAsteriks' timed out, trying again (Attempt #5550)

or UNREACHABLE in case of no registration or IAX

Sometimes a restart from client Asterisks is enough (SIP or IAX reload 
has no effect) to recover the full trunk, but in most cases we have to 
reboot the client server :(


If we use a VPN (OpenVPN) between Asterisks, no problem.

What can be the problem ?

--
Daniel

--
_
-- 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