[Asterisk-Users] Has anyone tried using a Sipura-3000 as an FXO device for *?
Rich Adamson
radamson at routers.com
Sat Jul 31 16:17:56 MST 2004
> Wolfgang S. Rupprecht [list+asterisk-users at lists.wsrcc.com] wrote:
> > radamson at routers.com (Rich Adamson) writes:
> > > Like *, it also has an internal dialplan, however understanding the
> > > various interactions requires some experimentation, as each of the
> > > interfaces seem to be considered a "gateway", and part of the dialplan
> > > directs calls to gw0, gw1, gw2 (etc) which correspond to physical
> > > interfaces in most cases.
> > >
> > I felt some pangs of guilt turning all that stuff off, but I couldn't
> > think of any time I'd want two dialplans in series.
> >
> It saves having to wait for an inter-digit timeout to expire when
> dialling via the FXS port. The SPA-[123]000 dialplan will recognise
> your dial string and send it immediately to Asterisk (if so configured).
> Asterisk will take it from there.
>
> You can apparently use the SPA-3000 dialplan to specify that the
> call should go via its FXO port, without going via Asterisk. This
> could be useful for emergency services. I don't have a SPA-3000 yet,
> so I can't say what happens if you try to route an emergency call via
> the FXO port and that port is in use. Perhaps it sends the call to
> Asterisk instead. I'll find out when I get mine and play with it.
Yes, the dialplan for the fxs line can look like:
(*xx|[34569]11<:@gw0>|0|00|[2-9]xxxxxx<:@gw0>|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)
where 911 is sent to gw0 (the fxo port),
calls to Nxxxxxx (local calls) go to gw0,
and 1+ calls (long distance) go to a voip box (* in my case)
The above is from a test spa3000 that is not in production, so the
actual dialplan is not complete as yet. The fxs dialplan is limited
to a single line, and can only have a limited number of characters
in that line.
There are an additional 8 dialplans that appear to be oriented
around how to deal with incoming pstn calls, and routing those
to * (or whatever). Haven't played with these at all as yet.
The doc suggests these 8 dialplans can also be tied in with user
assigned pin numbers, allowing a user to call into the spa3000
via the pstn, enter their pin, and be routed to * (or different
voip providers).
Rather sophisticated little box. :)
Rich
More information about the asterisk-users
mailing list