I think you must use something like

<recv response="200" crlf="true" timeout="xxxxxx" 
ontimeout="BYE_AND_DEREGISTER">

Where xxxxxx stands for the number of milliseconds you want to wait for the 200 
OK Mresponse

Best regards
[cid:image001.png@01D600F1.AD83C260]<http://altice.pt/>

Alberto Valente
DEO/EFV - Core Network and Service platforms Engineering

+351 963288480 / +351 215000290
alberto.r.vale...@telecom.pt<mailto:alberto.r.vale...@telecom.pt>
Rua Tomás Ribeiro Nº2
1050-229 LISBOA
altice.pt<http://altice.pt>

[facebook]<https://www.facebook.com/alticeportugal>[linkedin]<https://www.linkedin.com/company/altice-portugal/>[twitter]<http://twitter.com/altice_portugal>[sapovideos]<http://videos.sapo.pt/alticeportugal>[youtube]<http://www.youtube.com/alticeportugal>

AVISO DE CONFIDENCIALIDADE
Esta mensagem e quaisquer ficheiros anexos a ela contêm informação 
confidencial, propriedade da Altice Portugal e/ou das demais sociedades que com 
ela se encontrem em relação de domínio, Fundação Altice Portugal e ACS, 
destinando-se ao uso exclusivo do destinatário. Se não for o destinatário 
pretendido, não deve usar, distribuir, imprimir ou copiar este e-mail. Se 
recebeu esta mensagem por engano, por favor informe o emissor e elimine-a 
imediatamente.
Obrigado

From: sshark wsk [mailto:sshark...@gmail.com]
Sent: sábado, 21 de março de 2020 04:17
To: sipp-users@lists.sourceforge.net
Subject: [Sipp-users] ontimeout label does not work - sipp 3.6

Dear Users,

I have sipp version - SIPp v3.6-dev-112-g8c0e358-TLS-PCAP-RTPSTREAM

I have prepared a UAC scenario where
1. User sends SIP registration
2. Gets 401/200 OK and registers
3. Sends INVITE
3. Waits for 100/180/200
4. Sends ACK
5. Pauses for 4s and sends BYE
6. De-register the user

In step 3, I would like to timeout if User B does not answer (not receiving 200 
OK within a certain time) with below
<recv response="200" ontimeout="BYE_AND_DEREGISTER">
 Unfortunately above does not work

I run SIPp with below flags
./sipp 192.168.1.1 -bind_local -i 10.10.10.1 -mp 50000 -t u1 -p 5060 
-recv_timeout 3200 -sf register_and_call.xml -inf USER_A.csv -m 1 -trace_msg

Hope you can assist me

Thank You
sshark


_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to