[asterisk-users] Problem with ZapRAS and asterisk

Achille.Sogliani at selex-comms.com Achille.Sogliani at selex-comms.com
Thu Nov 30 10:57:44 MST 2006


Hi,

I am trying to use Asterisk cmd ZapRAS
(http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ZapRAS),
I pathed the ppp daemon ftp://ftp.digium.com/pub/zaptel/misc/, but when I
try to use it, I obtain the following error:

   Connected to Asterisk 1.2.4 currently running on TSU-R1 (pid = 7242)
   Verbosity was 0 and is now 44
       -- Accepting call from '123456789' to '9022' on channel 0/1, span 1
       -- Executing Answer("Zap/1-1", "") in new stack
       -- Executing ZapRAS("Zap/1-1",
   "debug|64000|noauth|netmask|255.255.255.0|192.168.10.2:192.168.10.1") in
   new stack
       -- Starting RAS on Zap/1-1
   Nov 30 17:02:03 WARNING[7293]: app_zapras.c:172 run_ras: wait4 returned
   -1: No child processes
       -- RAS on Zap/1-1 terminated with status 0
     == Spawn extension (pri1, 9022, 2) exited non-zero on 'Zap/1-1'
       -- Hungup 'Zap/1-1'

In the /var/log/message I find the following message:

   Nov 30 17:02:03 TSU-R1 pppd[7294]: Plugin zaptel.so loaded.
        Nov 30 17:02:03 TSU-R1 pppd[7294]: Zaptel Plugin Initialized
        Nov 30 17:02:03 TSU-R1 pppd[7294]: no device specified and stdin is
not a tty

In the source code (asterisk) app_zapras.c  before running  pppd demon a
call to dup2 is done to have  the zaptel channel descriptor in the STDIN
descriptor

The patched pppd daemon in /usr/sbin/pppd, I recompiled zaptel and asterisk
and all it seem OK.
Can someone to help me ?

Achille




More information about the asterisk-users mailing list