Skip to main content

dialog creation

1 reply [Last post]
laurentschweizer
Offline
Joined: 2008-09-20
Points: 0

hello,

in:
public void onResponseOkEvent(javax.sip.ResponseEvent event, ActivityContextInterface aci) {

I try to do: Dialog dialog = event.getDialog();

to send the ACK with: dialog.sendAck(ackRequest);

my problem is that after: Dialog dialog = event.getDialog(); dialog is null

so I need to know when the dialog is created

Regards

Laurent

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
baranowb
Offline
Joined: 2006-01-08
Points: 0

if automatic dialog is not turned on You have to create it once You create client/server transaction, see sip examples in our repo.
If You do that, and its null, its a bug, if so please post scenario.