<p></p>
Thanks a lot.<br>
In sip register: Request-URI: sip:ims.mnc001.mcc310.3gppnetwork.org , sip register is ok.In sip invite: Request-URI: tel:310010120073501;phone-context=ims.mnc001.mcc310.3gppnetwork.org, return 478 Unresolvable destination .Should i modified kamailio.cfg such as bellows ??? I don't know how modified the kamailio.cfg .if (is_method("INVITE")) {$ru = "sip:ims.mnc008.mcc460.3gppnetwork.org"; # rewrite the "Request-URI"$du= "sip:ims.mnc008.mcc310.3gppnetwork.org"; }<br>
----- 原始邮件 -----<br>
发件人:Henning Westerholt <notifications@github.com><br>
收件人:kamailio/kamailio <kamailio@noreply.github.com><br>
抄送人:lglhust <lgl_hust@sina.com>,  Author <author@noreply.github.com><br>
主题:Re: [kamailio/kamailio] unsupported sip invite request-uri format (#2646)<br>
日期:2021年02月23日 16点02分<br>
<br>

<br>
Kamailio will return 478 if it can not resolve the destination e.g. by DNS. Please check your routing script that you end up with a proper request URI that contains a hostname/domain part (or set $du etc..) that Kamailio can route the request accordingly.
<br>
Please discuss the details of your issue on the sr-users list, as the issues are used for tracking issues in the code or more concrete feature requests.
<br>

<br>
—<br>
You are receiving this because you authored the thread.<br>
Reply to this email directly, view it on GitHub, or unsubscribe.

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2646#issuecomment-784118081">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMF242WLNUA5VTWOTTTAODOJANCNFSM4YB7LVUQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZNJF62OKBKHPBUAOBTTAODOJA5CNFSM4YB7LVU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF26LCQI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2646#issuecomment-784118081",
"url": "https://github.com/kamailio/kamailio/issues/2646#issuecomment-784118081",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>