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

Re: [reSIProcate] INVITE with Replaces header


Replacing the session is really an application thing - dum provides
everything you should need to implement it.  

If you detect the replaces header in the onNewSession callback, you can:
1.  Use findInviteSession to get the session that should be replaced.  
2.  Perform and application logic required in order to have the call
"replaced" in your application.
3.  Accept the new InviteSession.
4.  Use the looked up invite session handle to end() the replaced
session.

Scott

> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Arthur Moroz
> Sent: Tuesday, October 24, 2006 2:53 PM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [reSIProcate] INVITE with Replaces header
> 
> Hi all,
> 
> I'm interested whether reSIProcate supports processing
> of 'Replaces' header in INVITE? As far as I see in my
> version (not the latest, though) there's
> DialogUsageManager::findInviteSession(CallId replaces)
> method implemented, but it's never called from within
> DUM. So, now I'm getting a call of onNewSession()
> handler when receiving such INVITE. Okay, probably I
> should check if its input message has Replaces header
> and find session to replace, but I don't know how can
> I replace it by means of DUM or whatever.
> 
> Best regards,
> Arthur Moroz
> 3CX Ltd.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel