Ahh, I read first the initial email and already I responded to it, so ignore that one -- anyhow, there should be good hints for someone facing similar situation.

Cheers,
Daniel


On 09.04.17 03:28, Colin Morelli wrote:
Apologies for the false alarm here - Kamailio was not to blame.

There was a code change in a recent version of PJSIP that resulted in the second Via header not including the src port that the request originated from. Effectively this meant that the Via header was not an exact match for the invite, which caused the transaction to not match. Through some configuration changes in PJSIP I was able to work around this.

Best,
Colin

On Sat, Apr 8, 2017 at 7:56 PM, Colin Morelli <colin.morelli@gmail.com> wrote:
Hey all,

Trying to debug an issue with canceling an invite. I have two different types of clients. On one client, canceling an invite works correctly. With the other client, it t_check_trans fails.

Both clients show the same request/responses:

On Client A:
-> INVITE
<- 183
-> PRACK
<- 200
-> UPDATE (from successful STUN binding)
<- 200
-> CANCEL
<- 200

On Client B:
-> INVITE
<- 183
-> PRACK
<- 200
-> UPDATE (from successful STUN binding)
<- 200
-> CANCEL
<- 481 (this is sent from my kamailio script when t_check_trans fails)

I can't see much that's different between the leading requests/responses of each. They seem to be virtually identical (with the exception of IP addresses and tag values, of course). This makes sense, since they're both based on PJSIP (albeit different versions of PJSIP, but not off by much)

Is there anything in particular I should be looking out for that might be obvious? I could provide more detailed logs and traces if required.

Best,
Colin



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com