Custom dialplan for busy outgoing calls

Hello!

Im trying to write custom extension dialplan that would play custom busy sound. Im wondering becuase by default it doesnt. :confused:

So if for example im calling 01234567 and the called number is busy it has to send back to the extension that busy sound.

This is what i have for now:

;exten => _X.,1,Answer ;exten => _X.,n,Dial(${OUTBOUNDTRUNK}/${EXTEN:0} ;exten => _X.,n,Playtones(busy) ;exten => _X.,n,Playback(busy) ;exten => _X.,n,Busy(10) ;exten => _X.,n,Hangup

I really lack of experience in โ€œcustomsโ€ so please be patient with me :stuck_out_tongue:

Thanks

What is a custom. This is not a FreePBX forum.

The most likely reason is that whatever is on the end of the trunk is answering the call and sending in band call progress as normal media. The fix for that lies at the other end of the trunk.