Shamus,
Does this segfault every time?
The next test would be to comment-out the NVFaxDetect line, and make sure it
isn't something else.
Lonnie
On Jan 19, 2011, at 8:47 PM, Shamus Rask wrote:
> Lonnie,
>
> I modified extensions.conf as suggested, but am still seeing the
> segfault error. Below are snippets from /var/log/messages,
> /var/log/asterisk/messages and the asterisk CLI. To test this, I used
> my own fax machine connected to my WCTDM card and dialed my own
> number.
>
> This leads me to suspect NVFaxDetect again... can you suggest any
> further troubleshooting?
>
> /var/log/messages
> --------------------------
> Jan 19 21:23:26 pbx user.info kernel: asterisk[2659]: segfault at 1bd7
> ip 400a575d sp 9dbff37c error 6 in libuClibc-0.9.28.so[4006e000+44000]
>
>
> /var/log/asterisk/messages
> ---------------------------------------
> [Jan 19 21:22:55] NOTICE[2624] app_nv_faxdetect.c: Redirecting
> IAX2/outbound-unlimitel-5255 to fax extension
>
>
> asterisk CLI
> -----------------
> pbx*CLI>
> -- Starting simple switch on 'DAHDI/2-1'
> -- Executing [XXXXXXXXXX@outbound_fax:1] Set("DAHDI/2-1",
> "CALLERID(all)="S Rask <XXXXXXXXXX>"") in new stack
> -- Executing [XXXXXXXXXX@outbound_fax:2] Dial("DAHDI/2-1",
> "IAX2/outbound-unlimitel/XXXXXXXXXX|100|KT") in new stack
> -- Called outbound-unlimitel/XXXXXXXXXX
> -- Call accepted by XXX.XXX.XXX.XXX (format ulaw)
> -- Format for call is ulaw
> -- Accepting UNAUTHENTICATED call from XXX.XXX.XXX.XXX:
>> requested format = ulaw,
>> requested prefs = (ulaw|g722|g729|ilbc|gsm),
>> actual format = ulaw,
>> host prefs = (ulaw),
>> priority = mine
> -- Executing [XXXXXXXXXX@incoming:1]
> Answer("IAX2/outbound-unlimitel-5255", "") in new stack
> -- Executing [XXXXXXXXXX@incoming:2]
> NVFaxDetect("IAX2/outbound-unlimitel-5255", "4|t") in new stack
> -- IAX2/outbound-unlimitel-7119 is making progress passing it to DAHDI/2-1
> -- IAX2/outbound-unlimitel-7119 answered DAHDI/2-1
> [Jan 19 21:22:55] NOTICE[2624]: app_nv_faxdetect.c:226
> nv_detectfax_exec: Redirecting IAX2/outbound-unlimitel-5255 to fax
> extension
> -- Executing [fax@incoming:1]
> Hangup("IAX2/outbound-unlimitel-5255", "") in new stack
> == Spawn extension (incoming, fax, 1) exited non-zero on
> 'IAX2/outbound-unlimitel-5255'
> -- Hungup 'IAX2/outbound-unlimitel-5255'
> -- Hungup 'IAX2/outbound-unlimitel-7119'
> == Spawn extension (outbound_fax, 7057974880, 2) exited non-zero on
> 'DAHDI/2-1'
> -- Hungup 'DAHDI/2-1'
>
>
>
>> Message: 2
>> Date: Tue, 18 Jan 2011 11:05:01 -0600
>> From: Lonnie Abelbeck <[email protected]>
>> Subject: Re: [Astlinux-users] segfault error
>> To: AstLinux Users Mailing List <[email protected]>
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=us-ascii
>>
>> 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
>
> ------------------------------------------------------------------------------
> 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].
>
>
------------------------------------------------------------------------------
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].