[reSIProcate] Setting specific profile on incoming INVITE dialog handle

Byron Campen bcampen at estacado.net
Tue Mar 11 12:36:11 CDT 2008


	You can set the UserProfile in server InviteSessions (or any other  
server usage for that matter) by using  
AppDialogSet::selectUASUserProfile(). (See http://www.resiprocate.org/ 
DUM_Associating_Application_Data_with_DialogSets_and_Dialogs and  
http://www.resiprocate.org/DUM_Configuration_and_Profiles)

Best regards,
Byron Campen


> Hi!
>
> We are using reSIProcate 1.2 on an IPBX to implement the SIP  
> trunking, and are having a problem in the following case: A SIP  
> trunk subscriber receives an incoming call from the network; the  
> call is answered; then the SIP trunk subscriber hangs up the call.  
> A "BYE" is sent out to the SIP trunk proxy, which replies with "407  
> Proxy Authentication Required". However, the "BYE" is not resent  
> with "Proxy-Authorization" header, causing the call to remain  
> active in the network proxy side.
>
> The problem is due to the fact that the incoming call's invite  
> session handle is created with the default master profile (not  
> containing any specific SIP trunk authentication info) instead of  
> the specific SIP trunk/user profile containing the relevant  
> authentication info.
>
> A possible fix would be to add a new setUserProfile method in some  
> class(es) that allows the application to set the correct trunk/user  
> profile to the dialog handle for incoming INVITE sessions. Is such  
> method already existing in some class(es) that i'm not aware of? Or  
> are there any other more suitable ways to solve this problem?
>
> --Shaofeng
>
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  
> Try it now.
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20080311/613d22e9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2423 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20080311/613d22e9/attachment.bin>


More information about the resiprocate-devel mailing list