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

Re: [reSIProcate] Resiprocate: How to make an INVITE with hold ?


Are you using the dum library? This is very easy if you are. 

If using dum, 

InviteSessionHandle handle; // assigned elsewhere
const SdpContents& original = handle->getLocalSdp();
SdpContents holdSdp(original);  
// modify holdSdp appropriately

handle->provideOffer(sdp); // this will cause the reinvite to go out. 

// InviteSessionHandler::onAnswer will be called when the peer sends 200 OK

// repeat to take off hold
handle->provideOffer(original); // this will cause the reinvite to go out. 

// InviteSessionHandler::onAnswer will be called when the peer sends 200 OK


On 6/24/05, Jyotshna Cherukuri <jcherukuri_necc@xxxxxxxxx> wrote:
>  
>  
> 
> Hi, 
> 
>   
> 
>   
> 
> I am trying to code for Attended Call Transfer using SIP which requires me
> to send an INVITE (with hold) which has same Call-Id and different
> branch-Id. I was just wondering if anyone could help me out to, how to send
> a re-invite with hold using SipStack ? 
> 
>   
> 
> Thanks 
> 
> Jyotshna
> 
> __________________________________________________
> 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
> 
>