heres the pri log -- Accepting call from '6138286056' to '6261' on channel 0/22, span 1 localhost*CLI> > [ 02 01 a2 d0 08 02 80 4b 07 18 03 a9 83 96 ] localhost*CLI> > Informational frame: > SAPI: 00 C/R: 1 EA: 0 > TEI: 000 EA: 1 > N(S): 081 0: 0 > N(R): 104 P: 0 > 10 bytes of data T_200 timer already going (2) > Protocol Discriminator: Q.931 (8) len=10 > Call Ref: len= 2 (reference 32843/0x804B) (Terminator) > Message type: CONNECT (7) > [18 03 a9 83 96] > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 > ChanSel: Reserved > Ext: 1 Coding: 0 Number Specified Channel Type: 3 > Ext: 1 Channel: 22 ] localhost*CLI> < [ 02 01 01 a2 ] < Supervisory frame: < SAPI: 00 C/R: 1 EA: 0 < TEI: 000 EA: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ] < N(R): 081 P/F: 0 < 0 bytes of data -- ACKing all packets from 79 to (but not including) 81 -- ACKing packet 80, new txqueue is 81 (-1 means empty) -- Something left to transmit (81), restarting T200 counter localhost*CLI> < [ 00 01 d0 a2 08 02 00 4b 7d 08 02 80 e5 14 01 01 ] < Informational frame: < SAPI: 00 C/R: 0 EA: 0 < TEI: 000 EA: 1 < N(S): 104 0: 0 < N(R): 081 P: 0 < 12 bytes of data -- ACKing all packets from 80 to (but not including) 81 -- Something left to transmit (81), restarting T200 counter < Protocol Discriminator: Q.931 (8) len=12 < Call Ref: len= 2 (reference 75/0x4B) (Originator) < Message type: STATUS (125) < [08 02 80 e5] < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Cause: Message not compatible with call state (101), class = Protocol Error (6) ] < [14 01 01] < Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Call Initiated (1) Sending Receiver Ready (105) > [ 00 01 01 d2 ] > Supervisory frame: > SAPI: 00 C/R: 0 EA: 0 > TEI: 000 EA: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ] > N(R): 105 P/F: 0 > 0 bytes of data localhost*CLI> < [ 02 01 01 a4 ] < Supervisory frame: < SAPI: 00 C/R: 1 EA: 0 < TEI: 000 EA: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ] < N(R): 082 P/F: 0 < 0 bytes of data -- ACKing all packets from 80 to (but not including) 82 -- ACKing packet 81, new txqueue is -1 (-1 means empty) -- Since there was nothing left, stopping T200 counter -- Nothing left, starting T203 counter -- Restarting T203 counter localhost*CLI> < [ 00 01 d2 a4 08 02 00 4b 7d 08 02 80 e5 14 01 01 ] < Informational frame: < SAPI: 00 C/R: 0 EA: 0 < TEI: 000 EA: 1 < N(S): 105 0: 0 < N(R): 082 P: 0 < 12 bytes of data -- ACKing all packets from 81 to (but not including) 82 -- Since there was nothing left, stopping T200 counter -- Stopping T203 counter since we got an ACK -- Nothing left, starting T203 counter < Protocol Discriminator: Q.931 (8) len=12 < Call Ref: len= 2 (reference 75/0x4B) (Originator) < Message type: STATUS (125) < [08 02 80 e5] < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Cause: Message not compatible with call state (101), class = Protocol Error (6) ] < [14 01 01] < Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Call Initiated (1) Sending Receiver Ready (106) > [ 00 01 01 d4 ] > Supervisory frame: > SAPI: 00 C/R: 0 EA: 0 > TEI: 000 EA: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ] > N(R): 106 P/F: 0 > 0 bytes of data -- Restarting T203 counter -- Restarting T203 counter localhost*CLI> < [ 00 01 d4 a4 08 02 00 4b 05 04 03 80 90 a2 18 03 a9 83 96 6c 0c 21 80 36 31 33 38 32 38 36 30 35 36 70 05 81 36 32 36 31 ] < Informational frame: < SAPI: 00 C/R: 0 EA: 0 < TEI: 000 EA: 1 < N(S): 106 0: 0 < N(R): 082 P: 0 < 36 bytes of data -- ACKing all packets from 81 to (but not including) 82 -- Since there was nothing left, stopping T200 counter -- Stopping T203 counter since we got an ACK -- Nothing left, starting T203 counter < Protocol Discriminator: Q.931 (8) len=36 < Call Ref: len= 2 (reference 75/0x4B) (Originator) < Message type: SETUP (5) < [04 03 80 90 a2] < Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0) < Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) < Ext: 1 User information layer 1: u-Law (34) < [18 03 a9 83 96] < Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 < ChanSel: Reserved < Ext: 1 Coding: 0 Number Specified Channel Type: 3 < Ext: 1 Channel: 22 ] < [6c 0c 21 80 36 31 33 38 32 38 36 30 35 36] < Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) < Presentation: Presentation permitted, user number not screened (0) '6138286056' ] < [70 05 81 36 32 36 31] < Called Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '6261' ] Sending Receiver Ready (107) > [ 00 01 01 d6 ] > Supervisory frame: > SAPI: 00 C/R: 0 EA: 0 > TEI: 000 EA: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ] > N(R): 107 P/F: 0 > 0 bytes of data -- Restarting T203 counter -- Restarting T203 counter T203 counter expired, sending RR and scheduling T203 again Sending Receiver Ready (107) > [ 02 01 01 d7 ] > Supervisory frame: > SAPI: 00 C/R: 1 EA: 0 > TEI: 000 EA: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ] > N(R): 107 P/F: 1 > 0 bytes of data -- Restarting T203 counter localhost*CLI> < [ 02 01 01 a5 ] < Supervisory frame: < SAPI: 00 C/R: 1 EA: 0 < TEI: 000 EA: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ] < N(R): 082 P/F: 1 < 0 bytes of data -- ACKing all packets from 81 to (but not including) 82 -- Since there was nothing left, stopping T200 counter -- Stopping T203 counter since we got an ACK -- Nothing left, starting T203 counter -- Got RR response to our frame -- Restarting T203 counter localhost*CLI> < [ 00 01 d6 a4 08 02 00 4b 4d 08 02 80 9f ] < Informational frame: < SAPI: 00 C/R: 0 EA: 0 < TEI: 000 EA: 1 < N(S): 107 0: 0 < N(R): 082 P: 0 < 9 bytes of data -- ACKing all packets from 81 to (but not including) 82 -- Since there was nothing left, stopping T200 counter -- Stopping T203 counter since we got an ACK -- Nothing left, starting T203 counter < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 75/0x4B) (Originator) < Message type: RELEASE (77) < [08 02 80 9f] < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Cause: Normal, unspecified (31), class = Normal Event (1) ] Sending Receiver Ready (108) > [ 00 01 01 d8 ] > Supervisory frame: > SAPI: 00 C/R: 0 EA: 0 > TEI: 000 EA: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ] > N(R): 108 P/F: 0 > 0 bytes of data -- Restarting T203 counter -- Restarting T203 counter -- Channel 0/22, span 1 got hangup localhost*CLI> > [ 02 01 a4 d8 08 02 80 4b 5a 08 02 81 90 ] > Informational frame: > SAPI: 00 C/R: 1 EA: 0 > TEI: 000 EA: 1 > N(S): 082 0: 0 > N(R): 108 P: 0 > 9 bytes of data -- Restarting T203 counter Stopping T_203 timer Starting T_200 timer > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 32843/0x804B) (Terminator) > Message type: RELEASE COMPLETE (90) > [08 02 81 90] > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] -- Hungup 'Zap/22-1' localhost*CLI> < [ 02 01 01 a6 ] < Supervisory frame: < SAPI: 00 C/R: 1 EA: 0 < TEI: 000 EA: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ] < N(R): 083 P/F: 0 < 0 bytes of data -- ACKing all packets from 81 to (but not including) 83 -- ACKing packet 82, new txqueue is -1 (-1 means empty) -- Since there was nothing left, stopping T200 counter -- Nothing left, starting T203 counter -- Restarting T203 counter T203 counter expired, sending RR and scheduling T203 again Sending Receiver Ready (108) > [ 02 01 01 d9 ] > Supervisory frame: > SAPI: 00 C/R: 1 EA: 0 > TEI: 000 EA: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ] > N(R): 108 P/F: 1 > 0 bytes of data -- Restarting T203 counter localhost*CLI> < [ 02 01 01 a7 ] < Supervisory frame: < SAPI: 00 C/R: 1 EA: 0 < TEI: 000 EA: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ] < N(R): 083 P/F: 1 < 0 bytes of data -- ACKing all packets from 82 to (but not including) 83 -- Since there was nothing left, stopping T200 counter -- Stopping T203 counter since we got an ACK -- Nothing left, starting T203 counter -- Got RR response to our frame -- Restarting T203 counter T203 counter expired, sending RR and scheduling T203 again Sending Receiver Ready (108) > [ 02 01 01 d9 ] > Supervisory frame: > SAPI: 00 C/R: 1 EA: 0 > TEI: 000 EA: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ] > N(R): 108 P/F: 1 > 0 bytes of data -- Restarting T203 counter localhost*CLI> < [ 02 01 01 a7 ] < Supervisory frame: < SAPI: 00 C/R: 1 EA: 0 < TEI: 000 EA: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ] < N(R): 083 P/F: 1 < 0 bytes of data -- ACKing all packets from 82 to (but not including) 83 -- Since there was nothing left, stopping T200 counter -- Stopping T203 counter since we got an ACK -- Nothing left, starting T203 counter -- Got RR response to our frame -- Restarting T203 counter T203 counter expired, sending RR and scheduling T203 again Sending Receiver Ready (108) > [ 02 01 01 d9 ] > Supervisory frame: > SAPI: 00 C/R: 1 EA: 0 > TEI: 000 EA: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ] > N(R): 108 P/F: 1 > 0 bytes of data -- Restarting T203 counter localhost*CLI> < [ 02 01 01 a7 ] < Supervisory frame: < SAPI: 00 C/R: 1 EA: 0 < TEI: 000 EA: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ] < N(R): 083 P/F: 1 < 0 bytes of data -- ACKing all packets from 82 to (but not including) 83 -- Since there was nothing left, stopping T200 counter -- Stopping T203 counter since we got an ACK -- Nothing left, starting T203 counter -- Got RR response to our frame -- Restarting T203 counter localhost*CLI> 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