diff --git a/src/modules/ims_dialog/dlg_cb.c b/src/modules/ims_dialog/dlg_cb.c index 070fce337f0..a0169ab9622 100644 --- a/src/modules/ims_dialog/dlg_cb.c +++ b/src/modules/ims_dialog/dlg_cb.c @@ -15,17 +15,17 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * History: * -------- * 2006-04-14 initial version (bogdan) * 2008-04-04 added direction reporting in dlg callbacks (bogdan) - * 2008-04-14 DLGCB_CREATED may be registered before the module + * 2008-04-14 DLGCB_CREATED may be registered before the module * initialization (bogdan) - * 2008-04-15 added new type of callback to be triggered when dialogs are + * 2008-04-15 added new type of callback to be triggered when dialogs are * loaded from DB (bogdan) */ diff --git a/src/modules/ims_dialog/dlg_cb.h b/src/modules/ims_dialog/dlg_cb.h index fa53ed7cdbf..4176bcbe41b 100644 --- a/src/modules/ims_dialog/dlg_cb.h +++ b/src/modules/ims_dialog/dlg_cb.h @@ -13,15 +13,15 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * History: * -------- * 2006-04-11 initial version (bogdan) * 2008-04-04 added direction reporting in dlg callbacks (bogdan) - * 2008-04-14 added new type of callback to be triggered when dialogs are + * 2008-04-14 added new type of callback to be triggered when dialogs are * loaded from DB (bogdan) * 2008-04-17 added new type of callback to be triggered right before the * dialog is destroyed (deleted from memory) (bogdan) diff --git a/src/modules/ims_dialog/dlg_db_handler.h b/src/modules/ims_dialog/dlg_db_handler.h index 94da57509b6..6e8c16d919b 100644 --- a/src/modules/ims_dialog/dlg_db_handler.h +++ b/src/modules/ims_dialog/dlg_db_handler.h @@ -16,8 +16,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * History: diff --git a/src/modules/ims_dialog/dlg_handlers.h b/src/modules/ims_dialog/dlg_handlers.h index 5e5538ebf99..a4686e46dfd 100644 --- a/src/modules/ims_dialog/dlg_handlers.h +++ b/src/modules/ims_dialog/dlg_handlers.h @@ -13,8 +13,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * History: @@ -76,7 +76,7 @@ void destroy_dlg_handlers(void); /*! * \brief Parse SIP message and populate leg informations * - * Parse SIP message and populate leg informations. + * Parse SIP message and populate leg informations. * \param dlg the dialog to add cseq, contact & record_route * \param msg sip message * \param t transaction @@ -113,7 +113,7 @@ void dlg_onreply(struct cell *t, int type, struct tmcb_params *param); /*! * \brief Function that is registered as RR callback for dialog tracking - * + * * Function that is registered as RR callback for dialog tracking. It * sets the appropriate events after the SIP method and run the state * machine to update the dialog state. It updates then the saved diff --git a/src/modules/ims_dialog/dlg_hash.h b/src/modules/ims_dialog/dlg_hash.h index 2c17f71b783..fa853abb96e 100644 --- a/src/modules/ims_dialog/dlg_hash.h +++ b/src/modules/ims_dialog/dlg_hash.h @@ -346,9 +346,9 @@ void dlg_hash_release(str *callid); * \brief Get dialog that correspond to CallId, From Tag and To Tag * * Get dialog that correspond to CallId, From Tag and To Tag. - * See RFC 3261, paragraph 4. Overview of Operation: - * "The combination of the To tag, From tag, and Call-ID completely - * defines a peer-to-peer SIP relationship between [two UAs] and is + * See RFC 3261, paragraph 4. Overview of Operation: + * "The combination of the To tag, From tag, and Call-ID completely + * defines a peer-to-peer SIP relationship between [two UAs] and is * referred to as a dialog." * Note that the caller is responsible for decrementing (or reusing) * the reference counter by one again iff a dialog has been found. diff --git a/src/modules/ims_dialog/dlg_profile.h b/src/modules/ims_dialog/dlg_profile.h index 15e6a9a2139..f13ef6f9bee 100644 --- a/src/modules/ims_dialog/dlg_profile.h +++ b/src/modules/ims_dialog/dlg_profile.h @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * History: diff --git a/src/modules/ims_dialog/dlg_req_within.h b/src/modules/ims_dialog/dlg_req_within.h index f6f5b2c7e62..aee9d32dc7d 100644 --- a/src/modules/ims_dialog/dlg_req_within.h +++ b/src/modules/ims_dialog/dlg_req_within.h @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * History: diff --git a/src/modules/ims_dialog/dlg_timer.c b/src/modules/ims_dialog/dlg_timer.c index b762908abc6..1f0d1699019 100644 --- a/src/modules/ims_dialog/dlg_timer.c +++ b/src/modules/ims_dialog/dlg_timer.c @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * History: diff --git a/src/modules/ims_dialog/dlg_timer.h b/src/modules/ims_dialog/dlg_timer.h index 97b740ac100..24238cd135c 100644 --- a/src/modules/ims_dialog/dlg_timer.h +++ b/src/modules/ims_dialog/dlg_timer.h @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * History: diff --git a/src/modules/ims_dialog/ims_dialog.c b/src/modules/ims_dialog/ims_dialog.c index 23b3160b14e..637f2180e35 100644 --- a/src/modules/ims_dialog/ims_dialog.c +++ b/src/modules/ims_dialog/ims_dialog.c @@ -331,7 +331,7 @@ static int w_dlg_get(struct sip_msg *msg, char *ci, char *ft, char *tt) if(dlg == NULL) return -1; - /* + /* note: we should unref the dlg here (from get_dlg). BUT, because we are setting the current dialog we can ignore the unref... instead of unreffing and reffing again for the set_current_dialog. NB. this function is generally called from the cfg file. If used via API, remember to unref the dlg