asterisk - Forward incoming call to free extension -


i have configured asterisk , dahdi in centos 7.

my incoming , outgoing calls working good.

but have 1 problem configuring extensions.conf incoming.

i have code in extensions.conf incoming

[from-pstn] exten => _x.,1,noop(incoming call "from pstn") same =>   n,dial(sip/206) same =>   n,hangup() 

it forwarding incoming calls on extension 206, want forward extension not on call time.

any idea/help appericiated

lets have extensions 201, 202, 203, 204, 205, , 206.

the dial command let call more 1 device @ once. so, this:

[from-pstn] exten => _x.,1,noop(incoming call "from pstn") same =>   n,dial(sip/201&sip/202&sip/203&sip/204&sip/205&sip/206) same =>   n,hangup() 

alternately, , effective, use asterisk's call queues / acd system. see link below.

further reading:


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -