[Asterisk-Users] Need help with getting EXTEN from pstn hunt group

Jim Freeze asterisk at freeze.org
Sat Apr 22 18:39:50 MST 2006


Hi

I have a TDM card with 4 lines on a hunt group coming in.
I can answer the phones with

exten => s,1,Answer()
exten => s,n,Dial(Zap....&Zap....)
...

The problem is I don't know how to find out what extension
was originally dialed. And, trying to match on the extension
always fails. E.g.

exten => 1234567,1,Answer()  # never gets here

I thought I could get the extension on the 's' extensions above,
but, no, the extension is 's'.

Is there something special that needs to be done with pstn hunt
groups to get the extension?

Thanks

--
Jim Freeze






More information about the asterisk-users mailing list