Enable debug and do svn update. I suspect you don't have sctp.

You can also run sangoma_prid directly to see the output in stdout/stderr

# export LD_LIBRARY_PATH=/usr/lib/sangoma_prid
# sangoma_prid

If there is no output in /var/log may be is because /etc/syslog.conf is missing something like this:

# Sangoma Media Gateway log
local2.*                /var/log/sangoma_mgd.log


# Sangoma BRI Daemon (smg_bri)  log
local3.*                /var/log/sangoma_bri.log


On Mon, Mar 15, 2010 at 2:52 AM, Tzury Bar Yochay <tzury.by@reguluslabs.com> wrote:
Hi,

Owe to an hardware failure I have had to reinstall my server.
Originally I have had the combination of FreeSWITCH/Sangoma/LibPRI/OpenZap

Getting recommendation to try the new sangoma prid I tried to follow the instructions found at http://wiki.sangoma.com/wanpipe-freeswitch-install

Being unable to make it work, I search through the mailing-list and saw the specific versions which should be used.
Followed these instruction as well, yet, it is not working.

probing hardware shows all goos indications.

When I try to originate from within the FreeSWITCH's CLI I get

freeswitch@snaptrunk-02> originate openzap/smg_prid/a/0525133399 XML public
2010-03-14 16:09:14.575286 [CRIT] ozmod_sangoma_boost.c:254 SPAN is not online.

-ERR NORMAL_CIRCUIT_CONGESTION

2010-03-14 16:09:14.575286 [ERR] switch_ivr_originate.c:2422 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION]
freeswitch@snaptrunk-02>


when I try to run #smg_ctrl start
I get:

smg_ctrl: sangoma_prid failed to start
smg_ctrl: check /var/log/sangoma_mgd.log for errors

However, that file ( /var/log/sangoma_mgd.log) is empty.

I pastebin all relevant files at http://gist.github.com/332589

I am using the latest freeswitch (svn trunk)

I tried the smg with these versions (from ftp://ftp.sangoma.com/linux/custom/DavidYS/)
  • wanpipe-3.5.10.smg_pri.1.tgz
  • wanpipe-3.5.10.3.smg_pri-v1.58.tgz




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Moises Silva
Senior Software Engineer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada
t. 1 905 474 1990 x 128 | e. moy@sangoma.com