I have a vender B2BUA machine, they handle the BYE
process like this:
....
1. OUA -> BYE -> B2BUA
2. B2BUA -> 200 -> OUA
3. B2BUA -> INVITE (Cseq:2 INVITE) -> TUA
4. TUA -> 200 -> B2BUA
5. B2BUA -> ACK -> TUA
6. B2BUA -> BYE -> TUA
7. TUA -> 200 -> B2BUA
In my stress testing, some of the calls will get
BYE(#6) before ACK (#5), in that case, I can't use the
[last_via:] to response the BYE on the 200OK, because
of the branch tag in the Via header is not matched.
Any possible to get the branch tag in this kind case?

Thanks,
Joseph

For example
 <action>
    <ereg regexp="BYE (.*)" search_in="msg"
regexp=(.*) search_in="hdr" header="Via:"
check_it="true" assign_to="1" /> 
    </action>
BYE sip:[EMAIL PROTECTED]:5060 SIP/2.0
Via: SIP/2.0/UDP 2.2.2.2:5060;branch=abc123


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to