百科全書
2026-09-15 16:15:35

SIP防爆電話已註冊卻無法通話:故障排查指南

已註冊的SIP防爆電話仍可能在呼叫或音訊傳輸時失敗。診斷應分開檢查訊令、SDP/RTP與本地音訊,並確認路由、NAT、安全維護及服務恢復。

貝克電信

SIP防爆電話已註冊卻無法通話:故障排查指南

SIP防爆電話即使顯示「已註冊」,仍可能出現呼叫不響鈴、接通後無聲或接聽後斷線。註冊、呼叫建立、媒體傳輸與實體音訊路徑需要分別檢查。更改設定或更換電話之前,應先找出最早失敗的階段。

應從遠端日誌與經核准的測試通話開始。危險場所的實體檢查需要合格人員、現場許可、能源隔離及遵循設備說明。未採取必要管制措施時,不得開啟帶電外殼,也不得在危險場所連接一般筆記型電腦或測試儀器。網路診斷不能證明防爆保護的完整性。

註冊能證明什麼,又有哪些項目尚未測試

成功的REGISTER交易確認註冊伺服器已接受註冊請求;應檢查Contact綁定及到期時間,以理解結果。認證很常見,但200 OK本身並不能證明已進行認證。畫面狀態可能反映先前的更新,而非目前的可達性。

通話仍需INVITE抵達正確目的地、可接受的工作階段描述,以及正常的音訊路徑。終端的Contact、PBX路由、閘道器或SBC,以及媒體目的地,可能涉及不同地址與政策。經FXS閘道器連接的類比防爆電話,必須連同該閘道器診斷;電話本身並非原生SIP終端。

工業電話旁列出REGISTER、INVITE與RTP狀態符號的示意圖
註冊只是一個檢查點;示意圖將它與呼叫建立及語音傳送分開。

更改設定前先分類症狀

觀察到的症狀首先蒐集的證據
不響鈴或立即報錯送出的INVITE、目的地、最終回應與PBX路由。
已接通但無聲或只有單向語音SDP地址與連接埠,接著確認各方向媒體是否抵達。
接聽後通話斷線ACK是否送達、誰送出BYE、交易計時器與平台日誌。
語音破碎或間歇中斷RTP序號缺口、抖動、鏈路負載及本地音訊表現。

應記錄時間、主叫與被叫號碼、方向、韌體、拓樸和近期變更。檢查內線、外線、調度及廣播目的地是否以相同方式失敗。特定路由的故障不同於影響所有通話的故障;重新啟動或編輯設定前,應先保留失敗追蹤資料。

步驟1:沿著訊令追查第一個失敗點

將撥出號碼與實際Request-URI及PBX撥號計畫比對。檢查前綴、號碼轉換、外撥權限,以及通往目標分機或中繼的路由。對來電失敗,應確認目前註冊的Contact,以及來電INVITE是否抵達電話。

回應碼是證據,不是完整診斷。首次401或407可能只是正常認證質詢;應調查重複循環或帶認證重試遭拒的情況。403表示拒絕,404表示找不到所指向的使用者或網域,408表示逾時,480表示暫時無法使用。488可拒絕的工作階段特性不只限於簡單的編解碼器不相容。應閱讀回應細節及產生該回應的系統日誌。

若PBX完全沒有收到INVITE,應比對DNS結果、VLAN、閘道器、傳輸方式、目的連接埠及存取規則。若收到請求卻未轉送,應檢查平台路由與政策。對已獲應答的INVITE,應確認相關通話段的200 OK與ACK;僅顯示已接通,並不證明每項交換均已完成。

SIP常用連接埠5060,TLS常用5061,但實際部署也可能使用其他連接埠。應檢查設定的傳輸方式與監聽服務,而非開放假設的連接埠範圍。使用TLS時,一般網路擷取無法顯示加密的SIP內容;應使用經授權的終端或伺服器診斷。

對比呼叫建立失敗與接通後無聲或單向語音的電話示意圖
先將訊令失敗與媒體或本地音訊故障分開,再蒐集相關階段的證據。

步驟2:比對SDP與實際媒體路徑

應檢查協商後的SDP,包括c=、m=、a=rtpmap,以及a=sendrecv等方向屬性。確認工作階段層級與媒體層級的連線資訊、接受的格式,以及被拒絕或停用的串流。提議/應答可能出現在不同的SIP訊息中,不能假設INVITE與200 OK總是包含完整協商。

應驗證每個宣告的媒體地址與連接埠在實際拓樸中都可達。私有地址的問題在於對端無法路由至該地址,而不是僅僅因為它是私有地址。比對防火牆或NAT邊界兩側的封包,找出某個方向在哪裡中斷。應允許已設定的媒體流量;並不存在適用於所有電話的通用RTP連接埠範圍。

SBC在相應設定下可以錨定媒體。STUN、TURN與ICE的作用不同,且需要終端與平台相容支援;沒有一項是修復NAT的萬用勾選項。變更SIP ALG或防火牆行為前,應先檢查設計並保留回復途徑。

應逐段比對接受的負載類型、編解碼器參數、封包化及RTP/SRTP要求。閘道器或PBX只有在支援並啟用相關功能時才能轉碼。SDP應答可能接受多種格式,不能認為每個應答都恰好選擇一種編解碼器。也不能根據防爆外殼或其他型號推斷支援的編解碼器。

若保留、轉接或re-INVITE後媒體停止,應將新的SDP地址、連接埠及方向與原始工作階段比較。對固定時間後斷線的情況,應先檢查釋放訊息與日誌,再判定是否為工作階段計時器或NAT逾時所致。RTP遺失與抖動描述的是傳輸表現,均不能證明麥克風正產生可用語音。

工業電話與呼叫建立檢查清單示意圖,檢查項目為號碼、權限和SIP回應
呼叫建立檢查清單示意圖

步驟3:驗證本地音訊鏈與必要服務

媒體抵達正確終端後,應依核准程序檢查靜音、增益、話筒、麥克風、揚聲器及選定音訊輸出。雙向封包也可能承載靜音或無法解碼的負載。應與已知正常的通話及終端比較,但不能認為替換就證明硬體故障;憑證、韌體、交換器連接埠與網路設定也可能不同。

如有配備,應分別測試話筒、免持與外部廣播輸出。話筒正常不能證明外部功率放大器、號角迴路或廣播繼電器正常。除非特定終端明確實作,調度位置顯示、錄音、優先權與警報連動都屬於平台或整合功能。

應在合適且經核准的位置使用同步擷取,例如終端診斷、交換器鏡像連接埠、PBX或SBC。關聯SIP Call-ID與時間戳記時,須記住SBC可能建立不同通話段。僅擷取所需流量,並保護日誌和錄音。沒有經授權的金鑰資料與適當分析方法,無法從一般擷取聆聽加密SRTP。

進行一項受控變更後,應重測原本失敗的路由與雙向音訊,再檢查受影響的廣播或調度功能,以及計畫性故障切換後的恢復。保存最終設定、追蹤資料參照與結果。較長期的監控和設定管理,可參閱防爆廣播電話的遠端維護。

常見問題

為何內線可通,外線卻失敗?

外線通話增加了中繼路由、權限、號碼轉換及上游政策。應將正常的內線路徑與失敗的中繼通話比較,包括回程訊令與媒體段,而非假設註冊已測試中繼。

是否應把每個無聲故障都視為編解碼器問題?

不應如此。應先確認協商的工作階段,以及媒體是否抵達各終端。路由、NAT、存取規則、SRTP相容性與本地音訊都可能造成無聲。網頁上的編解碼器設定不能證明通話實際協商了什麼。

重新啟動算是修復嗎?

重新啟動可能恢復程序或更新映射,但無法找出原因。可行時應先保留證據,再驗證可重複的恢復結果。記錄任何服務中斷,並在維護期間安排現場的替代通訊方式。

技術參考資料

協定依據:IETF RFC 3261,SIP及IETF RFC 3264,SDP提議/應答。危險場所維護背景:HSE關於潛在爆炸性環境中用電的指引。

推薦產品
目錄
客服 電話
We use cookie to improve your online experience. By continuing to browse this website, you agree to our use of cookie.

Cookies

This Cookie Policy explains how we use cookies and similar technologies when you access or use our website and related services. Please read this Policy together with our Terms and Conditions and Privacy Policy so that you understand how we collect, use, and protect information.

By continuing to access or use our Services, you acknowledge that cookies and similar technologies may be used as described in this Policy, subject to applicable law and your available choices.

Updates to This Cookie Policy

We may revise this Cookie Policy from time to time to reflect changes in legal requirements, technology, or our business practices. When we make updates, the revised version will be posted on this page and will become effective from the date of publication unless otherwise required by law.

Where required, we will provide additional notice or request your consent before applying material changes that affect your rights or choices.

What Are Cookies?

Cookies are small text files placed on your device when you visit a website or interact with certain online content. They help websites recognize your browser or device, remember your preferences, support essential functionality, and improve the overall user experience.

In this Cookie Policy, the term “cookies” also includes similar technologies such as pixels, tags, web beacons, and other tracking tools that perform comparable functions.

Why We Use Cookies

We use cookies to help our website function properly, remember user preferences, enhance website performance, understand how visitors interact with our pages, and support security, analytics, and marketing activities where permitted by law.

We use cookies to keep our website functional, secure, efficient, and more relevant to your browsing experience.

Categories of Cookies We Use

Strictly Necessary Cookies

These cookies are essential for the operation of the website and cannot be disabled in our systems where they are required to provide the service you request. They are typically set in response to actions such as setting privacy preferences, signing in, or submitting forms.

Without these cookies, certain parts of the website may not function correctly.

Functional Cookies

Functional cookies enable enhanced features and personalization, such as remembering your preferences, language settings, or previously selected options. These cookies may be set by us or by third-party providers whose services are integrated into our website.

If you disable these cookies, some services or features may not work as intended.

Performance and Analytics Cookies

These cookies help us understand how visitors use our website by collecting information such as traffic sources, page visits, navigation behavior, and general interaction patterns. In many cases, this information is aggregated and does not directly identify individual users.

We use this information to improve website performance, usability, and content relevance.

Targeting and Advertising Cookies

These cookies may be placed by our advertising or marketing partners to help deliver more relevant ads and measure the effectiveness of campaigns. They may use information about your browsing activity across different websites and services to build a profile of your interests.

These cookies generally do not store directly identifying personal information, but they may identify your browser or device.

First-Party and Third-Party Cookies

Some cookies are set directly by our website and are referred to as first-party cookies. Other cookies are set by third-party services, such as analytics providers, embedded content providers, or advertising partners, and are referred to as third-party cookies.

Third-party providers may use their own cookies in accordance with their own privacy and cookie policies.

Information Collected Through Cookies

Depending on the type of cookie used, the information collected may include browser type, device type, IP address, referring website, pages viewed, time spent on pages, clickstream behavior, and general usage patterns.

This information helps us maintain the website, improve performance, enhance security, and provide a better user experience.

Your Cookie Choices

You can control or disable cookies through your browser settings and, where available, through our cookie consent or preference management tools. Depending on your location, you may also have the right to accept or reject certain categories of cookies, especially those used for analytics, personalization, or advertising purposes.

Please note that blocking or deleting certain cookies may affect the availability, functionality, or performance of some parts of the website.

Restricting cookies may limit certain features and reduce the quality of your experience on the website.

Cookies in Mobile Applications

Where our mobile applications use cookie-like technologies, they are generally limited to those required for core functionality, security, and service delivery. Disabling these essential technologies may affect the normal operation of the application.

We do not use essential mobile application cookies to store unnecessary personal information.

How to Manage Cookies

Most web browsers allow you to manage cookies through browser settings. You can usually choose to block, delete, or receive alerts before cookies are stored. Because browser controls vary, please refer to your browser provider’s support documentation for details on how to manage cookie settings.

Contact Us

If you have any questions about this Cookie Policy or our use of cookies and similar technologies, please contact us at support@becke.cc .