Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: frifri on July 15, 2010, 09:41:43 AM
-
Hi Jeff,
I installed asterisk (1.4.33.1) as per the wiki (from source) and SAIL-2.5.1-14 on SME 7.5.1. I had problems with the asterisk-1.4.29-dependency in the SAIL-rpm but solved it by installing dependencies (nmap, perl-Bit-Vector, perl-Date-Calc, sox) separate, like suggested in this discussion : http://forums.contribs.org/index.php/topic,46146.msg225794.html#msg225794 (http://forums.contribs.org/index.php/topic,46146.msg225794.html#msg225794). Now, extensions are registrating well, but i get an error when calling to another extension :
[root@sme ~]# asterisk -rvvvvvvvvvvvvvvvv
Asterisk 1.4.33.1, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.33.1 currently running on sme (pid = 12216)
Verbosity was 0 and is now 16
-- Executing [5007@internal:1] AGI("SIP/5006-00000000", "selintra|OutCos|5007") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
== selintra|OutCos|5007: Failed to execute '/var/lib/asterisk/agi-bin/selintra': No such file or directory
[Jul 15 09:30:53] ERROR[12311]: utils.c:968 ast_carefulwrite: write() returned error: Broken pipe
== Auto fallthrough, channel 'SIP/5006-00000000' status is 'UNKNOWN'
-- Executing [h@internal:1] Hangup("SIP/5006-00000000", "") in new stack
== Spawn extension (internal, h, 1) exited non-zero on 'SIP/5006-00000000'
-- Saved useragent "Aastra 9112i/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45" for peer 5007
-- Saved useragent "Aastra312w (SW-Version=1.0.10)" for peer 5006
-
Ok, got it working by copy /usr/share/asterisk/agi-bin/selintra to /var/lib/asterisk/agi-bin/selintra.
Is it better to change the path 'astagidir => /var/lib/asterisk/agi-bin' in asterisk.conf ?
F.
-
Had that too.
http://forums.contribs.org/index.php/topic,45998.msg226115.html#msg226115
Better to adjust asterisk.conf to avoid multiple copies and confusion...
-
HF is correct
In these later editions of asterisk the default agi-bin is in /usr/share
So... you are better to change astagidir
Kind regards
S