[Asterisk-Users] ZapRAS with BRI

2005-01-06 Thread Niksa Baldun
Hello,

I am using * with latest bristuff. I tried to make use of ZapRAS
application (with the little or no documentation available), but I get
the following error when trying to establish RAS connection:

app_zapras.c:149 run_ras: wait4 returned -1: No child processes

Anyone has an idea what this means?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ZapRAS with BRI

2005-01-06 Thread Steven Critchfield
On Thu, 2005-01-06 at 18:10 +, Niksa Baldun wrote:
 Hello,
 
 I am using * with latest bristuff. I tried to make use of ZapRAS
 application (with the little or no documentation available), but I get
 the following error when trying to establish RAS connection:
 
 app_zapras.c:149 run_ras: wait4 returned -1: No child processes
 
 Anyone has an idea what this means?

My guess is that you are having trouble with the PPP daemon. If you
patched and installed your own PPPD like I remember the limited docs
saying to do, it may not be in /usr/sbin/pppd like is compiled into the
app. It is likely it is in /usr/local/sbin/pppd.

Just to help out also, here was the line we used when testing and
actually brought it up with an ISDN Ascend Pipeline router calling into
asterisk.

;exten = 
9022,1,ZapRas(debug|64000|noauth|netmask|255.255.255.0|192.168.10.1:192.168.10.2)


-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ZapRAS with BRI

2005-01-06 Thread Niksa Baldun




Thanks, that was it. Now I can accept incoming RAS connections. But,
what about outgoing connections? Is it possible to make * behave like
ISDN router, i.e. have it establish a connection when someone on the
LAN requests specific IP address?

Thanks again.

Steven Critchfield wrote:

  On Thu, 2005-01-06 at 18:10 +, Niksa Baldun wrote:
  
  
Hello,

I am using * with latest bristuff. I tried to make use of ZapRAS
application (with the little or no documentation available), but I get
the following error when trying to establish RAS connection:

app_zapras.c:149 run_ras: wait4 returned -1: No child processes

Anyone has an idea what this means?

  
  
My guess is that you are having trouble with the PPP daemon. If you
patched and installed your own PPPD like I remember the limited docs
saying to do, it may not be in /usr/sbin/pppd like is compiled into the
app. It is likely it is in /usr/local/sbin/pppd.

Just to help out also, here was the line we used when testing and
actually brought it up with an ISDN Ascend Pipeline router calling into
asterisk.

;exten = 9022,1,ZapRas(debug|64000|noauth|netmask|255.255.255.0|192.168.10.1:192.168.10.2)


  




___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] ZapRAS with BRI

2005-01-06 Thread Steven Critchfield
On Thu, 2005-01-06 at 22:05 +, Niksa Baldun wrote:
 Thanks, that was it. Now I can accept incoming RAS connections. But,
 what about outgoing connections? Is it possible to make * behave like
 ISDN router, i.e. have it establish a connection when someone on the
 LAN requests specific IP address?

This would be a bit harder. Start with detecting when the route is down
and the specific IP needs to come up. If you can detect that, then you
just need to drop an appropriate .call file and it will dial out and
connect. 

I'm assuming this is all in an attempt to do dial on demand out to
remote locations. I'm not sure how to do the detect you need to route so
fire a script.

-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ZapRAS with BRI

2005-01-06 Thread Niksa Baldun




I figured it would be something like that. Well, at least I have
something to work on.

Thanks again.


Steven Critchfield wrote:

  On Thu, 2005-01-06 at 22:05 +, Niksa Baldun wrote:
  
  
Thanks, that was it. Now I can accept incoming RAS connections. But,
what about outgoing connections? Is it possible to make * behave like
ISDN router, i.e. have it establish a connection when someone on the
LAN requests specific IP address?

  
  
This would be a bit harder. Start with detecting when the route is down
and the specific IP needs to come up. If you can detect that, then you
just need to drop an appropriate .call file and it will dial out and
connect. 

I'm assuming this is all in an attempt to do dial on demand out to
remote locations. I'm not sure how to do the detect you need to route so
fire a script.

  




___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users