Shamus,

Great description, I think you have a finger on the problem.  I'm not sure 
NVFaxDetect() is the problem, but definitely is in the path.

Do you understand why your Dial(IAX2/iaxmodem) is failing with BUSY?

If you can, disable the iaxmodem call
exten => fax,1,Hangup

and see if the segfaults go away.

Lonnie


On Jan 17, 2011, at 8:08 PM, Shamus Rask wrote:

> I got another segfault error and had a chance to try what you've suggested:
> -> there are no read/write errors in messages, so confirmed CF card
> should still be good
> -> I do have CURL() in extensions.conf, however that context had not
> been called at the time of the error
> -> I was able to restart Asterisk from the Network tab (thanks for the tip!)
> 
> So, on my last error, I pulled the following lines from /var/log/messages:
> Jan 17 10:25:27 pbx daemon.info ntpd[1619]: synchronized to LOCAL(0), stratum 
> 5
> Jan 17 10:26:32 pbx daemon.info ntpd[1619]: synchronized to
> 209.139.209.82, stratum 2
> Jan 17 20:21:52 pbx user.info kernel: asterisk[1720]: segfault at
> 61313737 ip 400a5625 sp be9fb49c error 4 in
> libuClibc-0.9.28.so[4006e000+44000]
> 
> With the ~10h difference between the last message and the sefault, I
> don't think they're related.
> 
> I was also able to see the following in /var/log/asterisk/messages
> [Jan 17 20:21:51] NOTICE[2310] app_nv_faxdetect.c: Redirecting
> IAX2/outbound-unlimitel-6560 to fax extension
> [Jan 17 20:21:51] NOTICE[2310] channel.c: Dropping incompatible voice
> frame on IAX2/outbound-unlimitel-6560 of format slin since our native
> format has changed to 0x4 (ulaw)
> [Jan 17 20:21:51] WARNING[1837] chan_iax2.c: Call rejected by 192.168.2.3: 
> Busy
> 
> This is making me think I'm being "spam faxed" and it is NVfaxDetect
> causing the problems.
> 
> Background:
> I have a single IAX2 trunk. I use this for both voice and fax. For an
> incoming call, I don't ring the internal extensions for 4s but use
> NVfaxdetect to see if it is a fax; if it is, the fax is passed to a
> second server running hylafax:
> exten => xxxxxxxx,n,Answer
> exten => xxxxxxxx,n,NVFaxDetect(4|t)
> exten => 
> xxxxxxxx,n,Dial(${7941_C}&${9133_K}&${GIGA1}&${IPHONE}&${ZAP1}&${MOBILE},20,okt)
> exten => xxxxxxxx,n,VoiceMail(u501@default)
> 
> exten => fax,1,Dial(IAX2/iaxmodem)
> 
> 
> I'm assuming the second message in /var/log/asterisk/messages is
> causing the problem? In iax.conf I do have the following statement:
> disallow=all
> allow=ulaw
> 
> Am I missing something else?


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to