Can not hear the busy tone on rejected outbound call

By testing with a simple dialplan custom extension I managed to figure out that I can not hear the busy tone on rejected outbound calls because the call is being terminated to early

How do I configure the delay at the end of an outbound call ?

exten => 1010,1,Answer()
exten => s,n,Playtones(busy)
exten => s,n,Wait(5)
exten => s,n,Hangup()

in this example if I remove the exten => s,n,Wait(5) line the call is terminated and I cant hear the busy sound any more.


You don’t answer the call and use Busy() rather than playtones. If you do answer the call, you must wait for as long as you want the tone to play.

In the first case, the network or the calling phone sources the busy tone

In [macro-dialout-trunk] for the busy case we have the following lines

exten => s-BUSY,1,Noop(Dial failed due to trunk reporting BUSY - giving up)
exten => s-BUSY,n,Playtones(busy)
exten => s-BUSY,n,Busy(20)

I noticed that when placing Wait(5) before Busy(20) I can hear the busy tone and when placing Wait(5) after Busy(20) the call gets dropped immediately and I can not hear the busy tone

the client I am using is sip.js UserAgent

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.