I have configured asterisk and dahdi successfully in Centos 7.
My Incoming and Outgoing calls are working good.
But I have one problem configuring extensions.conf for incoming.
I have this code in extensions.conf for incoming
exten => _X.,1,Noop(Incoming call "from PSTN")
same => n,Dial(SIP/206)
same => n,Hangup()
It is currently forwarding all incoming calls on extension 206, but I want it to forward to those extension which are not on any call this time.
Any idea/help is appericiated