寫一下工作上的東西吧!不然好像我都在混一樣 @ dreamer :: 隨意窩 Xuite日誌
  • 關鍵字
    1. 沒有新回應!





  • Powered by Xuite
    200701091848寫一下工作上的東西吧!不然好像我都在混一樣
    今天遇到一個難題,要在SER/SEMS上加入一個功能,當A使用者call B使用者時,B使用者return了496 BUSY時必需redirect到B使用者指定的號碼,找了一下網路資料,終於有線索
    When using SER to perform serial-forking, the TM module does not properly process negative replies. Below is a SIP message log that shows an INVITE being sent to another SIP phone that has call forwarding enabled. Call forwarding is implemented in the failure_route[] of the ser.cfg file using avp_pushto(), append_branch(), and t_relay().

    When the busy SIP UA replies with a "486 Busy" message, SER enters the failure_route[] and serially forks the call. It then sends a new INVITE to the forwarded destination. After the new call leg is cancelled the "486 Busy" that was recieved prior to forking the call is magically sent back to the calling SIP UA, but this is after all other messages are processed.
    還有這 http://siprouter.onsip.org/doc/gettingstarted/ch10.html
    但能不能成功還是要靠老天幫忙了
    沒有上一則|日誌首頁|沒有下一則
    回應