瀏覽代碼

Merge pull request #61 from xkaraman/reply_route

core: Add note about reply route
Xenofon Karamanos 10 月之前
父節點
當前提交
8c8b8c5647
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      docs/cookbooks/devel/core.md

+ 2 - 0
docs/cookbooks/devel/core.md

@@ -5186,6 +5186,8 @@ reply_route {
 }
 }
 ```
 ```
 
 
+🔥**IMPORTANT**: Note: In reply_route, if the last executed function fails, the SIP response processing is considered unsuccessful, and kamailio will not relay the reply. To ensure proper relay of the SIP response, make sure the last command in reply_route is either a **successful** function or a **return** statement.
+
 🔥**IMPORTANT**: Note: for backward compatibility reasons, the main `reply`
 🔥**IMPORTANT**: Note: for backward compatibility reasons, the main `reply`
 routing block can be also identified by `onreply_route {...}` or
 routing block can be also identified by `onreply_route {...}` or
 `onreply_route[0] {...}`.
 `onreply_route[0] {...}`.