diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-04-28 14:46:57 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-04-28 14:46:57 +0000 |
commit | 74e48f1aa4f7620cd85b5f6180d1a1485f092e6e (patch) | |
tree | 3bc853a0a4832095215565c540ebc0102159fd61 | |
parent | d42352bba64829b9178c3beeae6a59f9a7137f9e (diff) |
Fixed compatibility problem (missing From tag) with RFC 2543 compliant UAs
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@416 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjsip/src/pjsip/sip_ua_layer.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pjsip/src/pjsip/sip_ua_layer.c b/pjsip/src/pjsip/sip_ua_layer.c index 1cebea78..a38825eb 100644 --- a/pjsip/src/pjsip/sip_ua_layer.c +++ b/pjsip/src/pjsip/sip_ua_layer.c @@ -287,9 +287,9 @@ PJ_DEF(pj_status_t) pjsip_ua_register_dlg( pjsip_user_agent *ua, dlg->local.tag_hval != 0, PJ_EBUG); /* For UAS dialog, remote tag (inc hash) must have been initialized. */ - PJ_ASSERT_RETURN(dlg->role==PJSIP_ROLE_UAC || - (dlg->role==PJSIP_ROLE_UAS && dlg->remote.info->tag.slen - && dlg->remote.tag_hval != 0), PJ_EBUG); + //PJ_ASSERT_RETURN(dlg->role==PJSIP_ROLE_UAC || + // (dlg->role==PJSIP_ROLE_UAS && dlg->remote.info->tag.slen + // && dlg->remote.tag_hval != 0), PJ_EBUG); /* Lock the user agent. */ pj_mutex_lock(mod_ua.mutex); @@ -511,7 +511,8 @@ static pj_bool_t mod_ua_on_rx_request(pjsip_rx_data *rdata) } /* Dialog set has been found. - * Find the dialog in the dialog set based on the content of the From tag. + * Find the dialog in the dialog set based on the content of the remote + * tag. */ from_tag = &rdata->msg_info.from->tag; dlg = dlg_set->dlg_list.next; |