[Asterisk-Users] ZapRAS from both sides
Ulexus
ulexus at lifelabs.net
Fri Oct 22 18:39:13 MST 2004
Okay, it turns out I was being stupid. ZapRAS does not automatically
answer the channel, so, the PRI_NET side below should have read:
PRI_NET side
--------------
extensions.conf:
[incoming]
exten => 6999,1,Answer
exten =>
6999,2,ZapRas(debug|64000|noauth|multilink|netmask|255.255.255.0|192.168.10.2:192.168.10.1)
I have added this as a note to the Wiki:
http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+ZapRAS
Ulexus wrote:
> I am flailing around here trying to make ZapRAS function reliably with
> an asterisk box on both sides. My interpretation of the documentation
> and the wiki is as follows:
>
> PRI_CPE side
> ---------------
> zapata.conf:
> minunused=2
> minidle=1
> idledial=6999
> idleext=6999 at idle
>
> extensions.conf:
> [idle]
> exten => 6999,1,ZapRas(debug|64000|noauth|multilink|
> netmask|255.255.255.0|192.168.10.1:192.168.10.2)
>
>
> PRI_NET side
> --------------
> extensions.conf:
> [incoming]
> exten => 6999,1,ZapRas(debug|64000|noauth|multilink|
> netmask|255.255.255.0|192.168.10.2:192.168.10.1)
>
>
> This would seem to be reasonable: The cpe side dials out 6999 on the
> PRI, which goes to 6999 on the net side, which starts pppd on the net
> side. Then, cpe side sends the call to 6999 at idle, where pppd is started
> on the cpe side.
>
> The only problem is, this doesn't work. The cpe side never starts pppd.
> I can see the net side starting it for every channel that the cpe
> calls, but it eventually times out, receiving no packets from the cpe side.
>
> This does not seem to be a fluke of configuration, since, if I change
> nothing but the side with the idledial,minused,minidle,idleext stuff,
> the same things happens in reverse.
>
> Even more frustratingly, if I configure both sides identically (except
> for the IP addresses reversed, of course), it sometimes works. Most of
> the time in this scenario, though, I get what appears to be a race
> condition (as I would expect), and the D channel goes up and down,
> ZapRAS spews calls everywhere, and nothing connects. However, this is
> the only configuration I have yet tried that at least _sometimes_ works.
>
>
> Can anyone shed any light on this process?
>
> Thanks,
>
> --
> Ulexus
> ulexus at lifelabs.net
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
More information about the asterisk-users
mailing list