SIPP. generate auto answer when call was attached to specified extension

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:

  1. Generate call
  2. Send DTMF signals
  3. Wait for attaching call to extension
  4. Make auto answer when call was attached to extension
  5. Wait 10 second and Send BYE
<?xml version="1.0" encoding="ISO-8859-1" ?> <![CDATA[
  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


]]>

Out of my dumb curiosity… totally unrelated to the answer to the problem as I have none… what is the use case for calling an extension, having it answer then wait 10 seconds and hang up?

case as follows:
on the server are some endpoints(extensions) , and the status of one or two endpoints is online (can receive calls)

SIPP tool will generate SIP calls to Server and when the generated call attaches to the endpoint, I need to implement answer for that call , then wait x seconds and hangup the call

and because i am new , I don’t know, in general is it possible or not with SIPP ((

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.