Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the Provider method for creating dialogs?

0
Posted

What is the Provider method for creating dialogs?

0

One of the new features added to JSIP-1.2 is to allow applications the ability to have control over dialog creation. To enable, you have to set AUTOMATIC_DIALOG_SUPPORT=”off” when you create the stack. You may also disable automatic dialog support on a per-provider basis. Then use the method. SipProvider.getNewDialog(tansaction) to create a dialog. Under the stack configuration parameter, AUTOMATIC_DIALOG_SUPPORT=”on” , Dialog creation and destruction is managed by the stack. When the client transcaction is created, a Dialog is associated with it but not mapped (its state is null). When you complete the transaction successfully it actually gets mapped and a valid state is assigned to it. On the server side, when you get the request, provided the method of the request has the ability to create a Dialog, you can elect to create a Dialog by creating a new Server Transaction at which point the stack automatically creates a Dialog for transaction but defers actually mapping it until a final

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123