mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_pjsip_multihomed: Remove change for testing fix.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@410510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -112,7 +112,7 @@ static pj_status_t multihomed_on_tx_message(pjsip_tx_data *tdata)
|
||||
|
||||
/* If the message needs to be updated with new address do so */
|
||||
if (tdata->msg->type == PJSIP_REQUEST_MSG || !(cseq = pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CSEQ, NULL)) ||
|
||||
!pj_strcmp2(&cseq->method.name, "REGISTER")) {
|
||||
pj_strcmp2(&cseq->method.name, "REGISTER")) {
|
||||
pjsip_contact_hdr *contact = pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CONTACT, NULL);
|
||||
if (contact && (PJSIP_URI_SCHEME_IS_SIP(contact->uri) || PJSIP_URI_SCHEME_IS_SIPS(contact->uri))) {
|
||||
pjsip_sip_uri *uri = pjsip_uri_get_uri(contact->uri);
|
||||
|
Reference in New Issue
Block a user