Browser-Phone
Browser-Phone copied to clipboard
Patch to show diversion-via information on incoming call
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
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
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.
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.