Module: sip-router
Branch: ez/uac
Commit: 41228074f548442cf69a39dcd84ba530189972df
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=41228074f548442cf69a39dcd84ba530189972df

Author: Konstantin Mosesov <[email protected]>
Committer: Konstantin Mosesov <[email protected]>
Date:   Sat May 11 21:50:10 2013 +0300

modules/tm: added handling Call-Id change for uac

---

 modules/tm/uac.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/tm/uac.c b/modules/tm/uac.c
index 38ead71..483495d 100644
--- a/modules/tm/uac.c
+++ b/modules/tm/uac.c
@@ -763,9 +763,13 @@ int request(uac_req_t *uac_r, str* ruri, str* to, str* 
from, str *next_hop)
        if (check_params(uac_r, to, from) < 0) goto err;
 
        if (uac_r->callid == NULL || uac_r->callid->len <= 0)
+       {
            generate_callid(&callid);
+       }
        else
+       {
            callid = *uac_r->callid;
+       }
        generate_fromtag(&fromtag, &callid);
 
        if (new_dlg_uac(&callid, &fromtag, DEFAULT_CSEQ, from, to, &dialog) < 
0) {


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to