< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate-users] Tying together ServerAuthManager and ServerInviteSessions?


You can inspect the SIP INVITE message in the onNewSession callback.  You can look at the Proxy-Authorization (or WWW-Authorization) headers and pull out the username parameter - or optionally inspect the From header (assuming the authentication user is the INVITE sender).

Scott

On Mon, Oct 3, 2011 at 7:49 PM, Stuart Whelan <stuart@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi Folks,

When it comes to handling an authenticated ServerInviteSession, I can not find a way to see which username was used to authenticate by the server auth manager.

I need to do this so I can look up additional permissions and settings for that user.

Do I use the transaction id? If so, where is the transaction id in the SIS?

Thanks!
Stuart.

_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/