Hi everyone ,
I have just started using the SIPP tool for generating SIP calls and I need help.
When call was attached to extension (for example 112233) I need to make auto answer.
How i can make it?
Here is SIPP xml and steps:
- Generate call
- Send DTMF signals
- Wait for attaching call to extension
- Make auto answer when call was attached to extension
- Wait 10 second and Send BYE
INVITE sip:[field2]@[destination]:[destination_port] SIP/2.0
Via: SIP/2.0/UDP [source_ip]:[destination_port]
From: [field0] <sip:[field0]@[source_ip]:[destination_port]>;tag=[field0]
To: [field2] <sip:[field2]@[destination]:[destination_port]>
Call-ID: [call_id]
CSeq: 1 INVITE
Contact: sip:[field0]@[source_ip]:[destination_port]
Max-Forwards: 70
Subject: Performance Test
Content-Type: application/sdp
v=0
o=user1 53655765 2353687637 IN IP4 [source_ip]
s=-
c=IN IP4 [source_ip]
t=0 0
m=audio [destination_port] RTP/AVP 0
a=rtpmap:101 telephone-event/8000
]]>
<![CDATA[
BYE sip:sip@[destination]:[destination_port] SIP/2.0
Via: SIP/2.0/UDP [source_ip]:[destination_port];branch=[branch]
From: [field0] <sip:[field0]@[source_ip]:[destination_port]>;tag=[pid][field0]Tag00[field0]
To: [field2] <sip:[field2]@[destination]:[destination_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: 2 BYE
Contact: sip:[field0]@[source_ip]:[destination_port]
Max-Forwards: 70
Subject: Performance Test
]]>