when i dial in this works, connects me to the sip server and i get audio
-- Executing Dial("Zap/18-1", "SIP/siptest|20") in new stack
-- Accepting call from '613(removed)' to '6260' on channel 0/18, span 1
-- Called siptest
-- SIP/siptest-4950 is ringing
-- SIP/siptest-4950 answered Zap/18-1
-- Channel 0/18, span 1 got hangup
== Spawn extension (sip, 6260, 1) exited non-zero on 'Zap/18-1'
-- Hungup 'Zap/18-1'
i just changed to this
exten => 6261,1,Answer()
exten => 6261,2,Wait(30)
exten => 6261,3,Background(ivrmenu)
exten => 6261,4,Wait(30)
and now i get
-- Executing Answer("Zap/19-1", "") in new stack
-- Accepting call from '6138286056' to '6261' on channel 0/19, span 1
-- Executing Wait("Zap/19-1", "30") in new stack
-- Channel 0/19, span 1 got hangup
== Spawn extension (sip, 6261, 2) exited non-zero on 'Zap/19-1'
-- Hungup 'Zap/19-1'
so its just hanging up after so many seconds has nothing to do with the play