… should be easey peasey, right? Well, it works, it answers, multi-cast pages and plays the recording… and… doesn’t hang up. It leaves the calling extension connected to multicast page (which I do not want). I want it to terminate the call… drop the multicast, and drop the call from the originating extension. Why isn’t hangup doing that?
I have only cloud systems so can’t test this, but I’m guessing that either the Dial command is overall ‘answered’ and so doesn’t return, or it isn’t answered and so hangs.
I think that it is executing the hangup, it’s just not hanging up the extension that dialed it.
In this case, the extension I was dialing FROM is 4050 (DECT Handset)
It pages the phone and plays the message… but eventhough it sent a hangup at 13:44:13, it didn’t hang up until I hung up the physical extension. I think perhaps in my dialplan I need to say “Hang up on the CALLER, not just hang up.”
Thank you for your reply, @Stewart1 I’m not sure exactly where/how to do a sip trace, but I will explore further.
I think that since it is opening a multicast stream, I am missing a command (either something to close the stream and hang up, or to tell the system to disconnect the originating caller to hang up)
So, I took out the portion that does the dialing of the multicast stream.
I dialed the extension (9901), it waited exactly 4 seconds, then hung up (as I would expect it to do).
SO… something with the dial string is causing it to not execute any more steps. I wonder if there’s a way to set a timeout on the Dial(MulticastRTP/… portion? So it “times out” after the announcement is played?