[asterisk-users] Config quesiton: all inbound on PRI

C F shmaltz at gmail.com
Mon Aug 14 19:59:34 MST 2006


Yes, if the DIDs are 4 digits long then the following will do:
1. Set context in zapata.conf to inbound.

/etc/asterisk/extensions.conf:
[inbound]
;define known DIDs here
exten => 1234,Dial(whatever)

include => otherinbound
[otherinbound]
exten => _XXXX,1,Set(PRI_CAUSE=1)
exten => _XXXX,2,Hangup()

ref:
http://www.voip-info.org/wiki/index.php?page=Asterisk+variable+PRI_CAUSE


On 8/14/06, Ron Gage <ron at rongage.org> wrote:
>     Hi:
>
> I am configuring an Asterisk server with all inbound only lines on a PRI
> using a T100 card.  The card works and Asterisk sees all the lines.  My
> problem is that Asterisk refuses to answer any of the lines unless there
> is an extension defined for it in extensions.conf.  I want all inbound
> lines to drop into an "inbound" context without having to define each
> DID in extensions.conf.
>
> Can someone please provide me a bit of a clue as to how to set this up?
>
> Thanks!
>
> I am making the extensions.conf and zapata.conf files available at:
> http://www.rongage.org/extensions.conf
> http://www.rongage.org/zapata.conf
>
> Thanks for your help!
>
> Ron Gage
> Westland, MI
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list