[A*UG] Getting incoming dialed number from a pstn hunt group

Chris Tooley ctooley at unwiredbuyer.com
Sun Apr 23 12:55:27 CDT 2006


If you know the phone number attached to a line (which you don't
necessarily know with PSTN DIDs) you could just make each zap channel
jump to a different context in the dialplan which sets a variable and
then goes to the common context.

I haven't done hard channels in a long time... all of my time is spent
in SIP now.

Chris

On Sun, 2006-04-23 at 11:04 -0500, Jim Freeze wrote:
> Hi
> 
> Is it possible to get numbered dialed from a pstn hunt group
> so I can make decisions from it in my dialplan?
> 
> Here is my setup:
> I have a TDM card with four fxo lines:
> 
> Zap/1-1   234-1000
> Zap/2-1   555-1002
> Zap/3-1   555-1003
> Zap/4-1   555-1004
> 
> The published number is 234-1000. If a call is made to that number, it
> could appear on any of the four zap channels and I want the phones
> at the front desk to ring.
> 
> However, if a call is made to any of the other zap channels 2-4, I want
> to ring a specific phone.
> 
> So, for example, I need a way to distinguish between 555-1002 being
> called directly or when 234-1000 was called and it rolled over to  
> 555-10002.
> 
> Is it possible to do this? And, if so, how?
> 
> Thanks
> 
> --
> Jim Freeze
> 
> 
> 
> _______________________________________________
> Austin-Asterisk-Users-Group mailing list
> Austin-Asterisk-Users-Group at bybent.com
> http://buzzard.onr.com/mailman/listinfo/austin-asterisk-users-group
> AAUG Web Site: http://aaug.bybent.com/
-- 
Chris Tooley
Developer
o 512-646-1507
f 512-305-0704
m 512-659-2498



More information about the Austin-Asterisk-Users-Group mailing list