# Custom dialplan for busy outgoing calls

**URL:** <https://community.asterisk.org/t/custom-dialplan-for-busy-outgoing-calls/47392>\
**Category:** Asterisk Support\
**Created:** [October 22, 2014, 5:11pm UTC](https://community.asterisk.org/t/custom-dialplan-for-busy-outgoing-calls/47392 "2014-10-22T17:11:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![minghags](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@minghags](https://community.asterisk.org/u/minghags)\
**Post date:** [October 22, 2014, 5:11pm UTC](https://community.asterisk.org/t/custom-dialplan-for-busy-outgoing-calls/47392/1 "2014-10-22T17:11:26Z")

</div>

Hello!

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

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 😛

Thanks

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [October 22, 2014, 8:31pm UTC](https://community.asterisk.org/t/custom-dialplan-for-busy-outgoing-calls/47392/2 "2014-10-22T20:31:12Z")

</div>

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.
