Re: [asterisk-users] Sangoma A400 background noise after a while

2011-05-15 Thread Moises Silva
On Wed, May 4, 2011 at 1:01 PM, M Shokuie  wrote:

> Dear folks,
>
> We have recently installed A400D card with 12 FXO modules, the serer is HP
> DL180 G6, cards works fine but after a while all the calls get an awful
> noise, you can not get what each side says. The noise cleares as soon as we
> restart wanrouter but not asterisk (i mean asterisk restart does not solve).
> We previsouly confronted this situation with PRI cards but not analogs,
> wanpipe version is 3.5.18 and zaptel 1.4.12 also tested with recent DAHDI
> with out any help. ifconfig doesnt show any overruns or errors. Once earlier
> we had the same problem and come to the conclusion to change the mainboard
> but this time i got mad as i couldnt change a 3000$ HP server that easy.
>
> Is there a way i could get if there is any problem of interrupts, when i
> check interrupts i could not see any shared interrupts for Snagoma card.
>
> Anyhelp would be highly appreciated.
> --
>

Hello M Shokuie,

This kind of troubleshooting is better addressed by Sangoma technical
support staff. You can send an email to techd...@sangoma.com and you will be
taken care of.

Regards,

Moises Silva
Senior Software Engineer, Software Development Manager
Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6
Canada
t. 1 905 474 1990 x128 | e. m...@sangoma.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

[asterisk-users] Asterisk 1.8 and 1.4 SlackBuilds for Slackware Linux

2011-05-15 Thread Jose P. Espinal

Hello List,

I've been working with a set of SlackBuilds that might be helpful for 
people that want to install Asterisk 1.4/1.8 from source, but, 
maintaining the possibility to easily (painlessly) 
update/upgrade/uninstall/patch/recompile Asterisk.


The Scripts are located here:
https://bitbucket.org/jespinal/slackbuilds/overview

You just need to do:
$ hg clone https://bitbucket.org/jespinal/slackbuilds

And look for instructions on README file.

These scripts might save you some times if you like to maintain your own 
packages and/or are planning to write an automated installation script 
based on customized packages.


I hope this will be useful to some people around here.

Regards,


--
Jose P. Espinal
http://www.eslackware.com
IRC: [OFTC|FreeNode]
Khratos @ #slackware | #asterisk/-doc/-bugs

--
_
-- 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] Alarms Sound files

2011-05-15 Thread amit salunkhe
Dear All

Can anyone let me know where i can free sound file whcih i can use for
system monitoring alrams.

Regards
Amit--
--
_
-- 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] res_timing_timerfd.so Vs res_timing_dahdi.so

2011-05-15 Thread Leif Madsen
On 11-05-13 11:39 AM, isr...@gmail.com wrote:
> I haven't tried with timerfd but with timer pthread 1.8 is very unstable 
> 
> I think I have seen a post to the list from kevin fleming that the same is 
> for timerfd that there is a nasty bug which they haven't found the reason for 
> yet

My experience is that you should pretty much always use res_timing_dahdi unless
you're on a platform on which you can't install DAHDI. You don't need any
hardware to use timing from DAHDI because timing is generated by the kernel.

My order of preference for stability is:

* res_timing_dahdi
* res_timing_timerfd
* res_timing pthread

The timerfd and pthread modules are relatively new, and sometimes people run
into stability problems while using them. If you can use res_timing_dahdi I
recommend you do so.

Leif.

--
_
-- 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] asterisk-users Digest, Vol 82, Issue 52

2011-05-15 Thread mike . lydick
I listened to your Email using DriveCarefully and will respond as soon as 
possible. Download DriveCarefully for FREE from http://www.drivecarefully.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] OT - Which Android handset with Wifi-only ?

2011-05-15 Thread Jonathan Thurman
On Sun, May 15, 2011 at 10:16 AM, sean darcy  wrote:
> anyone actually used this on Android to connect to an asterisk server?

Yes.  I purchased it a while ago from the Marketplace, and had some
issues with sound quality as my specific phone (Motorola Atrix) isn't
officially supported yet.  However, the support people at CounterPath
have been extremely responsive, and the latest version works much
better.  I have not tested the G.729 codec.

It's a good app, but I would buy it from CouterPath directly next time
as their refund policy is longer than 15 minutes and they list the
supported devices.  Hopefully they will add video support soon.

-Jonathan

--
_
-- 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] OT - Which Android handset with Wifi-only ?

2011-05-15 Thread Doug Lytle

sean darcy wrote:

anyone actually used this on Android to connect to an asterisk server?


Well, since I can't find a download to test this on my Droid and I don't 
plan on paying before testing, I haven't.


Doug


--
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety."


--
_
-- 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] OT - Which Android handset with Wifi-only ?

2011-05-15 Thread sean darcy
On Mon, May 9, 2011 at 8:10 AM, Olivier  wrote:
> Hi,
>
> I would be curious to play with an Android phone with Wifi-only capability.
> My plan is to install Bria on it and see if it could be used within a couple
> of WiFi access points, as a high-end wireless phone.
>

This is first reference I've seen to Bria. Interesting web site.  Has
anyone actually used this on Android to connect to an asterisk server?

sean

--
_
-- 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] 1.8 and prematuremedia problem

2011-05-15 Thread Satish Patel

Thanks and I did that and my figure are cross now. Let see

--
Sent from my iPhone

On May 15, 2011, at 8:35 AM, d tbsky  wrote:


hi:
  maybe you can try noload res_timing_timerfd in modules.conf and see
what asterisk pick up for timing.
  in my system, if I disable res_timing_timerfd, then dahdi timing is
selected and system become stable.

Regards,
tbskyd

2011/5/14 satish patel :
You mean say i don't use res_timing_dahdi.so ?  I guess this is  
just timing

module nothing related to Card.

_S


From: tu...@canistec.com
Date: Fri, 13 May 2011 18:30:52 +0200
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] 1.8 and prematuremedia problem

sangoma cards do not use dahdi...

13.5.2011 v 17:16, satish patel :

Thank you so much!! I found following (res_timing_timerfd.so in  
USE). But we
have asterisk dahdi install and sangoma A102D pri  card configured.  
Do you

think i should use res_timing_dahdi.so   ?

campbx1*CLI> module show like timing
Module  
Description  Use

Count
res_timing_pthread.so  pthread Timing Interface
0
res_timing_timerfd.so  Timerfd Timing Interface
1
res_timing_dahdi.soDAHDI Timing Interface
0
3 modules loaded



From: n...@njcolledge.net
To: asterisk-users@lists.digium.com
Date: Fri, 13 May 2011 15:11:19 +
Subject: Re: [asterisk-users] 1.8 and prematuremedia problem

At the asterisk CLI type “module show like timing”



Whichever has a use-count >1 is the one you are using.



Nic.



From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of  
satish patel

Sent: 13 May 2011 16:03
To: tbs...@gmail.com; asterisk-users
Subject: Re: [asterisk-users] 1.8 and prematuremedia problem



Thanks for reply,

How do i find asterisk using which timing res_timing_timerfd  or
res_timing_dahdi ?

-S


Date: Fri, 13 May 2011 22:13:47 +0800
Subject: Re: [asterisk-users] 1.8 and prematuremedia problem
From: tbs...@gmail.com
To: satish...@hotmail.com; asterisk-users@lists.digium.com

hi:
I am using 64bit scientific linux 6 with default kernel. my
loading is quite low, maybe 1~10 concurrent calls. I remember last
time I have unstable problem about timer.
my linux now use HPET clock. and asterisk use res_timing_dahdi  
instead

of the default res_timing_timerfd. I don't know if these are related
to you problem. hope you can find the key point to make a stable
asterisk.

Regards,
tbskyd

2011/5/13 Satish Patel :
Glad you solved it. Now I'm having high CPU load issue. I don't  
know why

but
sometime my asterisk process reached ~150% CPU load and just  
locked no

calls
nothing only solution is kill -9

I've 1000hz preemtive kerenel on ubuntu do you think it's the issue
because
of low through put ?? Which OS are you using?

--
Sent from my iPhone

On May 12, 2011, at 9:31 PM, d tbsky  wrote:


hi:
 sorry. the issue number is 19268. not 19628.
 sorry about that!!

Regards,
tbskyd

2011/5/13 d tbsky :


hi:
  I report my issue as issue 19628.
  it is fixed and I run asterisk 1.8 in production now.
  thanks a lot for your help!

Regards,
tbskyd

2011/5/11 d tbsky :


hi:
 ok I will create a bug report. and I found I still need
"prematuremedia=no" in asterisk 1.6.2.18.
yesterday I was testing at home with zoiper softphone + iax.  
today I
test snom hardware sip phone and found that  
"prematuremedia=no" is

still necessary.

Regards,
tbskyd


2011/5/11 satish patel :


I am sorry about that but its interesting it doesn't work  
with 1.8

SVN

I would say please report this bug so that way you can track  
issue,

And
may
be in future it help us :)

-S


Date: Wed, 11 May 2011 01:31:34 +0800
Subject: Re: [asterisk-users] 1.8 and prematuremedia problem
From: tbs...@gmail.com
To: asterisk-users@lists.digium.com; satish...@hotmail.com

hi:
that issue is marked as fixed, so no more comment can be  
added :(

anyway, I try the following combination:
1.8.3.2 + sig_pri patch
1.8 svn which already has sig_pri patched
1.8.4 + libpri patch (another unofficial patch in issue 18868)

but none works.

finally I downgrade to 1.6.2.18 and I found everything  
works. I

don't
even need to set "prematuremedia" with 1.6.2.18.
so I think I will need to stay with 1.6.2 a little longer...

thanks a lot for your help!!

Regards,
tbskyd

2011/5/10 satish patel :


Also i would say add comment on following issue if after  
patch you

having
issue, That way it help community to fine tune patch.

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

Good luck



From: satish...@hotmail.com
To: tbs...@gmail.com
Subject: Re: [asterisk-users] 1.8 and prematuremedia problem
Date: Tue, 10 May 2011 07:43:47 -0400
CC: asterisk-users@lists.digium.com

I have applied this patch in 1.8 svn branch and it works  
great

for
me.

I have nothing special configuration just simple dial  
command for

outgoing call.

Also check there are progress=ye

Re: [asterisk-users] Asterisk-cpu utilization > 60 %

2011-05-15 Thread Satish Patel


Check this out

http://www.moythreads.com/wordpress/2009/05/06/why-does-asterisk-consume-100-cpu/


--
Sent from my iPhone

On May 15, 2011, at 4:08 AM, Tzafrir Cohen   
wrote:



On Sun, May 15, 2011 at 08:24:08AM +0200, Leandro Dardini wrote:

2011/5/15 RSCL Mumbai 



On Sat, May 14, 2011 at 11:43 AM, Leandro Dardini >wrote:


Check if someone is brute forcing your asterisk accounts. It used  
to
happen to me before I install fail2ban. You can easily check the  
"full" log
of asterisk or with just a "tcpdump -i any -n port 5060 or port  
4569".


Thx for the tcpdump command.

Checked, all looks good.
Packets coming from trusted domains only.

What should be the next step ?

Thx
Sans



Have you tried to restart asterisk?

As last chance, install strace and check what is asterisk doing.  
Get the pid

(PID) of the running asterisk and run:

strace -p PID -f -F &> /tmp/strace.log


Not exactly. Asterisk is multi-threaded. strae traces a specific  
thread.


To see the most active thread, press 'H' (shift-h) in top. Wait for  
the

display to refresh at least twice (on the first time it won't make
sense) and now check to see which is the top thread.

--
  Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

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



--
_
-- 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] 1.8 and prematuremedia problem

2011-05-15 Thread d tbsky
hi:
   maybe you can try noload res_timing_timerfd in modules.conf and see
what asterisk pick up for timing.
   in my system, if I disable res_timing_timerfd, then dahdi timing is
selected and system become stable.

Regards,
tbskyd

2011/5/14 satish patel :
> You mean say i don't use res_timing_dahdi.so ?  I guess this is just timing
> module nothing related to Card.
>
> _S
>
> 
> From: tu...@canistec.com
> Date: Fri, 13 May 2011 18:30:52 +0200
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] 1.8 and prematuremedia problem
>
> sangoma cards do not use dahdi...
>
> 13.5.2011 v 17:16, satish patel :
>
> Thank you so much!! I found following (res_timing_timerfd.so in USE). But we
> have asterisk dahdi install and sangoma A102D pri  card configured. Do you
> think i should use res_timing_dahdi.so   ?
>
> campbx1*CLI> module show like timing
> Module Description  Use
> Count
> res_timing_pthread.so  pthread Timing Interface
> 0
> res_timing_timerfd.so  Timerfd Timing Interface
> 1
> res_timing_dahdi.so    DAHDI Timing Interface
> 0
> 3 modules loaded
>
>
> 
> From: n...@njcolledge.net
> To: asterisk-users@lists.digium.com
> Date: Fri, 13 May 2011 15:11:19 +
> Subject: Re: [asterisk-users] 1.8 and prematuremedia problem
>
> At the asterisk CLI type “module show like timing”
>
>
>
> Whichever has a use-count >1 is the one you are using.
>
>
>
> Nic.
>
>
>
> From: asterisk-users-boun...@lists.digium.com
> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of satish patel
> Sent: 13 May 2011 16:03
> To: tbs...@gmail.com; asterisk-users
> Subject: Re: [asterisk-users] 1.8 and prematuremedia problem
>
>
>
> Thanks for reply,
>
> How do i find asterisk using which timing res_timing_timerfd  or
> res_timing_dahdi ?
>
> -S
>
>> Date: Fri, 13 May 2011 22:13:47 +0800
>> Subject: Re: [asterisk-users] 1.8 and prematuremedia problem
>> From: tbs...@gmail.com
>> To: satish...@hotmail.com; asterisk-users@lists.digium.com
>>
>> hi:
>> I am using 64bit scientific linux 6 with default kernel. my
>> loading is quite low, maybe 1~10 concurrent calls. I remember last
>> time I have unstable problem about timer.
>> my linux now use HPET clock. and asterisk use res_timing_dahdi instead
>> of the default res_timing_timerfd. I don't know if these are related
>> to you problem. hope you can find the key point to make a stable
>> asterisk.
>>
>> Regards,
>> tbskyd
>>
>> 2011/5/13 Satish Patel :
>> > Glad you solved it. Now I'm having high CPU load issue. I don't know why
>> > but
>> > sometime my asterisk process reached ~150% CPU load and just locked no
>> > calls
>> > nothing only solution is kill -9
>> >
>> > I've 1000hz preemtive kerenel on ubuntu do you think it's the issue
>> > because
>> > of low through put ?? Which OS are you using?
>> >
>> > --
>> > Sent from my iPhone
>> >
>> > On May 12, 2011, at 9:31 PM, d tbsky  wrote:
>> >
>> >> hi:
>> >>  sorry. the issue number is 19268. not 19628.
>> >>  sorry about that!!
>> >>
>> >> Regards,
>> >> tbskyd
>> >>
>> >> 2011/5/13 d tbsky :
>> >>>
>> >>> hi:
>> >>>   I report my issue as issue 19628.
>> >>>   it is fixed and I run asterisk 1.8 in production now.
>> >>>   thanks a lot for your help!
>> >>>
>> >>> Regards,
>> >>> tbskyd
>> >>>
>> >>> 2011/5/11 d tbsky :
>> 
>>  hi:
>>   ok I will create a bug report. and I found I still need
>>  "prematuremedia=no" in asterisk 1.6.2.18.
>>  yesterday I was testing at home with zoiper softphone + iax. today I
>>  test snom hardware sip phone and found that "prematuremedia=no" is
>>  still necessary.
>> 
>>  Regards,
>>  tbskyd
>> 
>> 
>>  2011/5/11 satish patel :
>> >
>> > I am sorry about that but its interesting it doesn't work with 1.8
>> > SVN
>> >
>> > I would say please report this bug so that way you can track issue,
>> > And
>> > may
>> > be in future it help us :)
>> >
>> > -S
>> >
>> >> Date: Wed, 11 May 2011 01:31:34 +0800
>> >> Subject: Re: [asterisk-users] 1.8 and prematuremedia problem
>> >> From: tbs...@gmail.com
>> >> To: asterisk-users@lists.digium.com; satish...@hotmail.com
>> >>
>> >> hi:
>> >> that issue is marked as fixed, so no more comment can be added :(
>> >> anyway, I try the following combination:
>> >> 1.8.3.2 + sig_pri patch
>> >> 1.8 svn which already has sig_pri patched
>> >> 1.8.4 + libpri patch (another unofficial patch in issue 18868)
>> >>
>> >> but none works.
>> >>
>> >> finally I downgrade to 1.6.2.18 and I found everything works. I
>> >> don't
>> >> even need to set "prematuremedia" with 1.6.2.18.
>> >> so I think I will need to stay with 1.6.2 a little longer...
>> >>
>> >> thanks a lot for your help!!
>> >>
>> >> Regards,
>> >> tbskyd
>> >>
>> >

Re: [asterisk-users] iptables for Asterisk - Any good guides out there?

2011-05-15 Thread Steve Totaro
On Sat, May 14, 2011 at 7:51 PM, Bruce B  wrote:

> Hi everyone,
>
> I want to issue the command:
>
> iptables -F
>
> and then rebuild everything from the beginning with a very limited scope
> and then without locking myself block all other traffic. Can you suggest
> what I should put in the shell that would get me this:
>
> Allow traffic from subnet 172.16.0.0/24  (my VPN tunnels) - All
> traffic including those of Asterisk and HTTP - I trust this network
> Allow traffic from subnet 192.168.1.0/24(other side of VPN network) -
> All traffic including those of Asterisk and HTTP - I trust this network
> Allow traffic from single IP of DID provider - 5060 TCP/UDP and
> 1-10200 UDP
> Allow VPN access on port 1194 UDP   --- I have that figured out to be 
> (*iptables
> -A INPUT -p udp -m udp --dport 1194 -j ACCEPT*) works for this.
>
> *BLOCK all other traffic <- Important most of all*
>
> Please note that from the subnets I want to allow every single port
> possible and all traffic. I specially have problems with getting a whole
> subnet be able to access everything.
>
> Thanks
>
>
This question is probably better for a security or general Linux forum as it
has very little to do with Asterisk.  You have the the port numbers correct.

You could try "man iptables"

This link should also answer all of your questions, I like the second link
with fail2ban.

Please be sure to be a good community member and come back to post your
results when you are done!

Thanks,
Steve Totaro
--
_
-- 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] undefined symbol: cap_set_proc on several modules after installation from source

2011-05-15 Thread Tzafrir Cohen
On Fri, May 13, 2011 at 09:55:11AM -0400, Jose P. Espinal wrote:
> Tzafrir Cohen wrote:
>
>>>
>>> [May 12 21:36:54] WARNING[15344]: loader.c:434 load_dynamic_module:   
>>> Error loading module 'res_musiconhold.so':   
>>> /usr/lib/asterisk/modules/res_musiconhold.so: undefined symbol:   
>>> cap_set_proc 
>
> Could this be related to having used 'strip' on the binaries?

No. stripping debug symbols does not harm functionality.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

--
_
-- 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] Asterisk-cpu utilization > 60 %

2011-05-15 Thread Tzafrir Cohen
On Sun, May 15, 2011 at 08:24:08AM +0200, Leandro Dardini wrote:
> 2011/5/15 RSCL Mumbai 
> 
> >
> > On Sat, May 14, 2011 at 11:43 AM, Leandro Dardini wrote:
> >
> >> Check if someone is brute forcing your asterisk accounts. It used to
> >> happen to me before I install fail2ban. You can easily check the "full" log
> >> of asterisk or with just a "tcpdump -i any -n port 5060 or port 4569".
> >>
> >> Thx for the tcpdump command.
> > Checked, all looks good.
> > Packets coming from trusted domains only.
> >
> > What should be the next step ?
> >
> > Thx
> > Sans
> >
> >
> Have you tried to restart asterisk?
> 
> As last chance, install strace and check what is asterisk doing. Get the pid
> (PID) of the running asterisk and run:
> 
> strace -p PID -f -F &> /tmp/strace.log

Not exactly. Asterisk is multi-threaded. strae traces a specific thread.

To see the most active thread, press 'H' (shift-h) in top. Wait for the
display to refresh at least twice (on the first time it won't make
sense) and now check to see which is the top thread.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

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