Module: kamailio Branch: master Commit: ae4087ef615c1de5b67c8406eab8316300282d8b URL: https://github.com/kamailio/kamailio/commit/ae4087ef615c1de5b67c8406eab83163...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2018-12-20T13:14:33+01:00
dialog: only write debug messages in case cseq or contact fields are empty
---
Modified: src/modules/dialog/dlg_handlers.c
---
Diff: https://github.com/kamailio/kamailio/commit/ae4087ef615c1de5b67c8406eab83163... Patch: https://github.com/kamailio/kamailio/commit/ae4087ef615c1de5b67c8406eab83163...
---
diff --git a/src/modules/dialog/dlg_handlers.c b/src/modules/dialog/dlg_handlers.c index 983e82d7dd..96406bde35 100644 --- a/src/modules/dialog/dlg_handlers.c +++ b/src/modules/dialog/dlg_handlers.c @@ -209,8 +209,7 @@ int populate_leg_info( struct dlg_cell *dlg, struct sip_msg *msg, cseq = dlg->cseq[DLG_CALLEE_LEG]; } if ((leg==DLG_CALLER_LEG) && (cseq.s==NULL || cseq.len<=0)) { - LM_ERR("empty CSeq number\n"); - goto error0; + LM_DBG("empty CSeq number (leg: %d)\n", leg); }
/* extract the contact address */ @@ -226,8 +225,7 @@ int populate_leg_info( struct dlg_cell *dlg, struct sip_msg *msg, } contact = ((contact_body_t *)msg->contact->parsed)->contacts->uri; if(contact.s==NULL || contact.len<=0) { - LM_ERR("empty contact uri\n"); - goto error0; + LM_DBG("empty contact uri (leg: %d)\n", leg); }
/* extract the record-route addresses */