[asterisk-users] Treating T1 as trunk in/out, not individual lines
Michelle Dupuis
support at ocg.ca
Sat Oct 27 10:09:58 CDT 2007
Ok - that's great. I see how the destination number will match to the exten
value, but how do I access the from number '248xxxxxxx'?
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> Doug Lytle
> Sent: Saturday, October 27, 2007 9:44 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Treating T1 as trunk in/out,
> not individual lines
>
> Michelle Dupuis wrote:
> > Ok..so how would the CALLED and CALLERID ID be presented to
> Asterisk
> > when using PRI signaling.
> >
>
> When you are using a PRI, you'll see something like:
>
> Accepting call from '248xxxxxxx' to '734xxxxxxx' on channel
> 0/1, span 1
>
> So, for the inbound, you'd have an entry that would match against 734.
> I have the following in my PRI context:
>
> exten => _734XXXXXXX,1,Gosub(check_blacklist,s,1)
> exten => _734XXXXXXX,2,NoOP(Caller not blacklisted) exten =>
> _734XXXXXXX,3,Gosub(get_name,s,1) exten =>
> _734XXXXXXX,4,Goto(incoming,s,1)
>
>
> Doug
>
> --
>
> Ben Franklin quote:
>
> "Those who would give up Essential Liberty to purchase a
> little Temporary Safety, deserve neither Liberty nor Safety."
>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.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