[asterisk-users] Treating T1 as trunk in/out, not individual lines

Doug Lytle support at drdos.info
Sat Oct 27 08:44:14 CDT 2007


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."





More information about the asterisk-users mailing list