Re: [asterisk-users] Funky IAX behavior between 1.4 and 1.8

2010-11-08 Thread Danny Nicholas
  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tim Panton
Sent: Saturday, November 06, 2010 1:54 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Funky IAX behavior between 1.4 and 1.8

 

 

On 5 Nov 2010, at 15:04, Danny Nicholas wrote:





Hi Gang,

 My production box with my DAHDI cards is a 1.4.26 build.  I
have 3 test machines that I do IAX communication with.

Machine 1 is a real Dell POWEREDGE 1500 running CENTOS running 1.4.30.
Machine 2 is a SUSE 11.1 VM running 1.4.30.  Machine 3 is another SUSE 11.1
VM running 1.8.0.   I can SIP into all 4 machines and life is great.  When I
try to IAX from the live machine to Machine 3, I get lags/pauses on
Background/Playback commands.  I play files and groups of files that last
from 1-45 seconds, so I can press keys and proceed, but I don't expect my
end-users to know to do this.  Any clues?  Do I need to open a tracker issue
on this one?

 

Thanks

Danny Nicholas

-- 

 

There is an open bug on this - or something very like it -
https://issues.asterisk.org/view.php?id=18110

The work around seems to be to set

 

internal_timing = yes 

 

 in asterisk.conf

 

and 

 

noload = res_timing_dahdi.so

;noload = res_timing_pthread.so

noload = res_timing_timerfd.so

 

in modules.conf

 

Which forces asterisk to use the (older less efficient/accurate) pthreads
timer.

 

The bug looks to be being worked on, so I'm optimistic it will be fixed
soon.

 

Tim.

 

 

 

Tim Panton - Web/VoIP consultant and implementor

www.westhawk.co.uk

 

Thanks Tim,

This workaround has worked for all of my testing this morning.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Funky IAX behavior between 1.4 and 1.8

2010-11-06 Thread Tim Panton

On 5 Nov 2010, at 15:04, Danny Nicholas wrote:

 Hi Gang,
  My production box with my DAHDI cards is a 1.4.26 build.  I have 
 3 test machines that I do IAX communication with.
 Machine 1 is a real Dell POWEREDGE 1500 running CENTOS running 1.4.30.  
 Machine 2 is a SUSE 11.1 VM running 1.4.30.  Machine 3 is another SUSE 11.1 
 VM running 1.8.0.   I can SIP into all 4 machines and life is great.  When I 
 try to IAX from the live machine to Machine 3, I get lags/pauses on 
 Background/Playback commands.  I play files and groups of files that last 
 from 1-45 seconds, so I can press keys and proceed, but I don’t expect my 
 end-users to know to do this.  Any clues?  Do I need to open a tracker issue 
 on this one?
  
 Thanks
 Danny Nicholas
 -- 

There is an open bug on this - or something very like it - 
https://issues.asterisk.org/view.php?id=18110
The work around seems to be to set

internal_timing = yes 

 in asterisk.conf

and 

noload = res_timing_dahdi.so
;noload = res_timing_pthread.so
noload = res_timing_timerfd.so

in modules.conf

Which forces asterisk to use the (older less efficient/accurate) pthreads timer.

The bug looks to be being worked on, so I'm optimistic it will be fixed soon.

Tim.


 

Tim Panton - Web/VoIP consultant and implementor
www.westhawk.co.uk



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] Funky IAX behavior between 1.4 and 1.8

2010-11-05 Thread Danny Nicholas
Hi Gang,

 My production box with my DAHDI cards is a 1.4.26 build.  I
have 3 test machines that I do IAX communication with.

Machine 1 is a real Dell POWEREDGE 1500 running CENTOS running 1.4.30.
Machine 2 is a SUSE 11.1 VM running 1.4.30.  Machine 3 is another SUSE 11.1
VM running 1.8.0.   I can SIP into all 4 machines and life is great.  When I
try to IAX from the live machine to Machine 3, I get lags/pauses on
Background/Playback commands.  I play files and groups of files that last
from 1-45 seconds, so I can press keys and proceed, but I don't expect my
end-users to know to do this.  Any clues?  Do I need to open a tracker issue
on this one?

 

Thanks

Danny Nicholas

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Funky IAX behavior between 1.4 and 1.8

2010-11-05 Thread Mark Deneen
On Fri, Nov 5, 2010 at 11:04 AM, Danny Nicholas da...@debsinc.com wrote:
 Hi Gang,

  My production box with my DAHDI cards is a 1.4.26 build.  I
 have 3 test machines that I do IAX communication with.

 Machine 1 is a real Dell POWEREDGE 1500 running CENTOS running 1.4.30.
 Machine 2 is a SUSE 11.1 VM running 1.4.30.  Machine 3 is another SUSE 11.1
 VM running 1.8.0.   I can SIP into all 4 machines and life is great.  When I
 try to IAX from the live machine to Machine 3, I get lags/pauses on
 Background/Playback commands.  I play files and groups of files that last
 from 1-45 seconds, so I can press keys and proceed, but I don’t expect my
 end-users to know to do this.  Any clues?  Do I need to open a tracker issue
 on this one?



 Thanks

 Danny Nicholas

https://issues.asterisk.org/view.php?id=18105

From my testing, I have seen it happen in both inside a VM and outside
a VM... but it happens far more reliably in a VM.  I added some debug
code to chan_iax2.c, but I haven't been able to find anything useful
yet besides a better idea of how IAX2 works.  :)

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Funky IAX behavior between 1.4 and 1.8

2010-11-05 Thread Warren Selby
On Fri, Nov 5, 2010 at 10:34 AM, Mark Deneen mden...@gmail.com wrote:

 On Fri, Nov 5, 2010 at 11:04 AM, Danny Nicholas da...@debsinc.com wrote:
  Hi Gang,
 
   My production box with my DAHDI cards is a 1.4.26 build.  I
  have 3 test machines that I do IAX communication with.
 
  Machine 1 is a real Dell POWEREDGE 1500 running CENTOS running 1.4.30.
  Machine 2 is a SUSE 11.1 VM running 1.4.30.  Machine 3 is another SUSE
 11.1
  VM running 1.8.0.


Danny,

Do you have any kind of timing on the VM's, or are you running DAHDI_DUMMY?
I'm pretty sure IAX requires some kind of internal timing to function
properly...

-- 
Thanks,
--Warren Selby, dCAP
http://www.selbytech.com
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Funky IAX behavior between 1.4 and 1.8

2010-11-05 Thread Danny Nicholas
  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Warren Selby
Sent: Friday, November 05, 2010 4:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Funky IAX behavior between 1.4 and 1.8

 

On Fri, Nov 5, 2010 at 10:34 AM, Mark Deneen mden...@gmail.com wrote:

On Fri, Nov 5, 2010 at 11:04 AM, Danny Nicholas da...@debsinc.com wrote:
 Hi Gang,

  My production box with my DAHDI cards is a 1.4.26 build.  I
 have 3 test machines that I do IAX communication with.

 Machine 1 is a real Dell POWEREDGE 1500 running CENTOS running 1.4.30.
 Machine 2 is a SUSE 11.1 VM running 1.4.30.  Machine 3 is another SUSE
11.1
 VM running 1.8.0.



Danny,

Do you have any kind of timing on the VM's, or are you running DAHDI_DUMMY?
I'm pretty sure IAX requires some kind of internal timing to function
properly...

I added DAHDI so I would have DAHDI_DUMMY available, but the problem still
occurs, just a little less.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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