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

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




Note: forwarded message attached.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--- Begin Message ---
SipMessage msg;

msg.header(h_ReferTo).uri().user() = "12486802059";
msg.header(h_ReferTo).uri().host() = "67.105.166.34";
msg.header(h_ReferTo).uri().port() = 5060;
msg.header(h_ReferTo).uri().embedded().header(h_Replaces).value() =
"000785ff-75110084-7bafcb46-06779379%40172.18.2.248%3Bto-tg%3D5E0C6394-10F6%3Bfrom-tag%3D000785ff751100b7328fc586-01ea60e";

PS. Can you post this response to the mailing list?

On 6/28/05, Jyotshna Cherukuri <jcherukuri_necc@xxxxxxxxx> wrote:
> Dear Jason, 
>   
> I am trying to add Replaces header in the Refer-To field in resiprocate and
> the URI which I should generate should be in the following order:
> 
>   Refer-To:
> <sip:12486802059@xxxxxxxxxxxxx:5060?Replaces=000785ff-
> 75110084-7bafcb4
> 6-06779379%40172 .18.2.248%3Bto-t 
> ag%3D5E0C6394-10F6%3Bfrom-tag%3D000785ff751100b7
> 328fc586-01ea60e
>  
> Could you please guide me how to add    ?Replaces=.......    in the Uri
> class. 
>   
> I appreciate your help. 
>   
> Thanks 
> Jyotshna
> 
> Fischl jason <jason.fischl@xxxxxxxxx> wrote: 
> To modify the branch, 
> 
> SipMessage reinvite;
> // populate sdp and other headers
> invite.header(h_Vias).front().param(p_branch).reset();
> 
> 
> On 6/25/05, Jyotshna Cherukuri wrote:
> > Dear Jason, 
> > 
> > Thankyou for helping me and I tried the way you explained me, but I need
> to
> > have different branch-Id when I make a Re-INVITE request. 
> > 
> > With the one you explained , I am able to send a re-invite but with the
> same
> > branch-Id...Hence if you can explain me in further detail , I would be
> more
> > grateful. 
> > 
> > Thanks and I appreciate your help 
> > 
> > Thanks 
> > Jyotshna
> > 
> > Fischl jason wrote: 
> > If you have the original INVITE that you sent, it is also quite easy. 
> > 
> > SipStack stack; // created elsewhere
> > SipMessage invite; // assigned elsewhere
> > 
> > SdpContents holdSdp; 
> > // fill in holdSdp
> > 
> > invite.setContents(&holdSdp);
> > stack.send(invite);
> > 
> > //...
> > 
> > 
> > On 6/24/05, Jyotshna Cherukuri wrote:
> > > Dear Jason, 
> > > 
> > > Thank you very much for giving me the information. I am using Helper.cxx
> > and
> > > DeprcatedDialog.cxx to make all the request and response messages right
> > now
> > > and I was not using the dum library... 
> > > I appreciate your time and help. 
> > > 
> > > Thanks 
> > > Jyotshna 
> > > 
> > > 
> > > Fischl jason wrote: 
> > > 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 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
> > > > 
> > > >
> > > 
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam protection around 
> > > http://mail.yahoo.com
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around 
> > http://mail.yahoo.com
> 
> 
>  ________________________________
> Yahoo! Sports
>  Rekindle the Rivalries. Sign up for Fantasy Football 
> 
>

--- End Message ---