Browser-Phone icon indicating copy to clipboard operation
Browser-Phone copied to clipboard

Patch to show diversion-via information on incoming call

Open ArminXG opened this issue 2 years ago • 2 comments

Hello.

the SIP header can have Diversion entries to show the incoming call was diverted. In Asterisk this can be set using the variable REDIRECTING.

This patch

diversion-via.patch.gz

adds the feature to retrieve the diversion (via) information and displays it. And it is logged in stream.

The languange files for other than de and en need to be adapted correctly.

regards Armin

ArminXG avatar Feb 02 '23 09:02 ArminXG

In addition, the patch diversion-via-fix1.patch.gz shows the diversion/via information in active call too. And it fixes a line break in stream display.

ArminXG avatar Feb 02 '23 09:02 ArminXG

Due to another change I made locally for tests, my first patch above did not check if SipSession is already set. Therefore it causes error. The following patch should fix that. diversion-via-fix2.patch.gz

I hope this all makes sense and I did not overlook another case.

ArminXG avatar Feb 02 '23 13:02 ArminXG