[OpenSIPS-Users] How to get to-tag from the dialog between the remote and B2B server entity

Li Cai Li.Cai at comtech.com
Wed Feb 7 02:02:57 UTC 2024


Hi,

Pls ignore the previous email, the problem has been solved. Thank you so much.

Best Regards,
Li

From: Li Cai
Sent: Tuesday, February 6, 2024 2:06 PM
To: users at lists.opensips.org
Subject: How to get to-tag from the dialog between the remote and B2B server entity

Hi,

Can anyone help to get the to-tag from the dialog between the remote caller and the B2B server entity? I have tried with these two methods -


  1.  ACK in route{},
route {
    If (is_method("ACK")) {
          -------------------     the code is not reachable even there is ACK came from the remote caller to the B2B server entity
    };
}


  1.  200OK in onreply_route{},
onreply_route() {

----------         the to-tag only came from the dialog between the B2B client entity and the remote callee
}

The OpenSIPs version I'm on is V2.4.6.

Your help is highly appreciated.


Thanks,
Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240207/1e5fe38e/attachment-0001.html>


More information about the Users mailing list