All channels on Asterisk configured as DAHDI channels.After customer make payment I want to transfer the customer to the representative who interact customer before.
I try to make it by Dial() command. This is the dialplan
For example: Call comes to DAHDI/1 after the payment DAHDI/1 dial all channels one them Answer the others Hangup. DAHDI/1 bridge call by with DAHDI/2. However, although Customer and representative close phones, Channels do not Hangup. They stay Busy.
Where do i make mistake. I should hangup call channels or find another way to transfer.
Sorry, i correct the priority mistake. Actually, agi make credit card payment, and after agi complete, two Dahdi make bridge and provide call back to representetive. Howover after conversation, although customer and repretitive hangup their phones channel are kept busy. Dial plan stack at line 4.
Sounds like your PSTN operator doesn’t provide disconnect supervision, or you haven’t configured it properly.
Note, with disconnect supervision working, if the customer hangs up, the all will stop there. I think you have some misunderstanding about what happens, and what you can do, after a caller hangs up.
No. The preferred way of doing disconnect solution is a DC condition on the line (removal of battery voltage). The alternative method supported by Asterisk is to listen for a continuous tone. If the calling network cannot provide either of these, only the callee can clear. You must enable the appropriate one, in dahdi.conf, for it to be used.