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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] 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 _______________________________________________ --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