I’m trying to get live codec re-negotiation during the call using PJSIP on both Caller and Callee channel.
I’ve found, that running command PJSIP_SEND_SESSION_REFRESH() on Callee channel that is already bridged is possible with Dial command with U option.
But how to invoke same command for Caller channel when it’s got bridged?
Thing I tried it’s Dial with G option, but I failed to bridge channels after, as after transferring em to some location I’m not able to correlate ChannelID’s, means cannot find from Caller channel info Callee channel.
Can you please advice what could be done in this case?
Thanks in advance!
Thanks, I’ve managed to run commands separately on both legs, but unfortunately cannot set codec list to renegotiate on established channel.
Seems, if I invoke this commands on caller channel