# RPC Exports for dialog

## dlg.list

Print all dialogs

Returns an array.

## dlg.list_ctx

Print all dialogs with associated context

Returns an array.

## dlg.dlg_list

Print dialog based on callid and optionally fromtag

## dlg.dlg_list_ctx

Print dialog with associated context based on callid and optionally fromtag

## dlg.end_dlg

End a given dialog based on [h_entry] [h_id]

## dlg.profile_get_size

Returns the number of dialogs belonging to a profile

## dlg.profile_list

Lists all the dialogs belonging to a profile

Returns an array.

## dlg.bridge_dlg

Bridge two SIP addresses in a call using INVITE(hold)-REFER-BYE mechanism: to, from, [outbound SIP proxy]

## dlg.terminate_dlg

End a given dialog based on callid