I have a SIp trunk and I want to make an outgoing call to a external analog number and play a message when the other side answers it. The problem is that the message be played as soon as it finish dialing the number, without waiting to answer. Between SIP extensions works fine but not for outgoing external calls. Any help?
Details: The call is initiated from the CLI (for simplicity)
CLI> Originate Sip/MySipTrunk/destinationNumber extension 6789@from-sip
in the dial plan:
[from-sip]
ext => 6789.1, answer ()
ext => 6789,n, Playback (demo-congrats)
ext => 6789.n, hangup ()
Thanks....