As far as I know from the pjsua2 API reference docs it should be the media index: MediaTransportInfo getMedTransportInfo(unsigned med_idx) I also verified that `i == ci.media[i].index` so there isn't a mismatch there either. This call works fine under "normal" circumstances, but when I hit it with 1 SIPp UAC call, it fails the assertion. I'm not sure if it's a race condition because I'm looking up that information outside of the onCallMediaState callback some time later in the main thread? - Brian