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

Re: [reSIProcate] Dialog


I don't know the answer off hand - but why don't you look at what DUM
does?

> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> santosh@xxxxxxxxxxxxx
> Sent: Friday, September 15, 2006 7:02 AM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [reSIProcate] Dialog
> 
> Hi All,
> 
> I am trying to build a UserAgent, I am not using DUM, I have succeeded
> in building the useragent except some minor functionality.
> 
> The problem is when i receive 200 OK i am able to create the Dialog
> like this,
> 
> /**/
> Dialog *dialog = new DeprecatedDialog(contact);
> dialog->createDialogAsUAC(*response_received);
> SipMessage *ack = dialog->makeAck(*response_received);
> sipStack.send(*ack);
> /**/
> 
> This happens when i send an INVITE and when i receive 200 OK and this
> dialog i can use to create BYE Request for terminating the session.
> 
> Now the problem is when i receive an INVITE and send 200 OK, i will
> receive ACK. For sending BYE i need dialog.
> 
> Now my question is where will be the dialog created. Whether i should
> create  a dialog like above or i should access the dialog if it is
> existing, if so how.
> 
> Please help me regarding this. I am stuck up at this point
> 
> Thanks in advance
> Regards
> Santosh
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel