跳到主要內容
Mobily 整合

將 Mobily SIP 中繼連接到 Wixzel Voice

若要在 Mobily 號碼上執行 AI 語音代理,請將 Mobily SIP Trunk 連接到 Wixzel Voice:將中繼回傳的 platform_ip 加入 trusted peers on the SBC that holds your Mobily link,讓外撥通話被接受,並將 SBC route for inbound Mobily calls 設為 它的 origination_uri,讓來電能夠抵達。Mobily 會繼續以您的費率向您收取線路費用;Wixzel Voice 則從預付餘額中按秒收取語音引擎的費用。

最後更新於

發布於

Mobily 是電信業者;Wixzel Voice 是在其上執行代理的語音 AI API。兩者透過標準 SIP 協同運作。Mobily 是其所有者的商標,Wixzel Voice 與 Mobily 沒有關聯,也未獲得 Mobily 的背書。

Mobily
Wixzel Voice
您的代理

開始之前需要準備什麼?

  • 具備 SIP Trunk 的 Mobily 帳號,以及中繼的主機和憑證。
  • 一個您在 Mobily 擁有的電話號碼,並已附加到該中繼。Wixzel Voice 不販售號碼,也不提供號碼移轉。
  • 一把 Wixzel Voice API 金鑰和一些預付點數。最低儲值金額為 $5;沒有免費方案。
  • Wixzel Voice 預設每個帳號可同時進行 5 通通話,可依需求提高;網頁和應用程式工作階段也計入同一個上限。

如何在 Wixzel Voice 中建立 Mobily 中繼?

The public address of your own SBC or PBX, the box that sits on the Mobily link. Mobily delivers the trunk over a private link to your site, so there is no Mobily address to put here.

cURL
curl https://api.voice.wixzel.com/v1/sip-trunks \
  -H "Authorization: Bearer $WIXZEL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Mobily",
    "host": "<your SBC public IP>",
    "transport": "udp",
    "send_plus": false
  }'

如果 Mobily 以憑證而非 IP 進行驗證,請在 body 中加入 username 和 password。密碼會加密儲存,API 之後也不會再回傳。回應中包含 platform_ip 和 origination_uri:下一步需要這兩個值。

要在 Mobily 設定什麼?

設定Mobily 的名稱值
允許來自 Wixzel Voice 的通話trusted peers on the SBC that holds your Mobily link187.126.120.231
將來電送到 Wixzel VoiceSBC route for inbound Mobily callssip:187.126.120.231:5090

尚未驗證。 No Mobily trunk has been tested end to end with Wixzel Voice. These settings come from Cisco's 2020 interop note for Mobily SIP Trunk; ask Mobily to confirm them for your link.

兩個值都以當下為準:請從 GET /v1/sip-trunks 讀取 platform_ip 和 origination_uri,不要從頁面上複製。接著用 POST /v1/phone-numbers 將每個號碼註冊到中繼,並設定 inbound_agent_id,讓代理接聽。 AI 電話通話 API 逐步說明中有這些請求,Mobily 的完整設定步驟則逐一說明主控台中的每個欄位。

在 Mobily 上會出什麼問題?

  • Mobily cuts calls, inbound and outbound, at one hour. A long call that drops at exactly 60 minutes is the carrier, not the agent.
  • Calls arriving from Mobily offer G.711 A-law and never G.729. An SBC that only allows G.729 toward Mobily fails every inbound call.
  • A re-INVITE that puts the call on hold (sendonly or inactive) can drop the call on Mobily. Have the SBC rewrite it to sendrecv.

為什麼透過 Mobily 的通話沒有接通?

被 Mobily 拒絕的通話會帶有 status: "failed"、failure_code(電信業者回傳的 Q.850 原因碼),以及說明該怎麼處理的 failure_reason,而且不會產生任何費用。 所有失敗代碼、所有拒絕原因,以及如何為中繼除錯都在電信業者頁面上。

透過 Mobily 的 AI 通話費用是多少?

Mobily 以您的費率向您收取線路費用;Wixzel Voice 只收取語音引擎的費用,依實際用量按秒計費,從 gemini-live 的每接通分鐘 $0.0491,到 deepgram-agent 的 $0.1851。 每個引擎的價格。

常見問題

Can I connect Mobily in one step from the console?

No. Mobily has no API for trunks or numbers, so there is nothing to connect with keys. Order SIP Trunk from Mobily Business, then add the trunk by hand with your SBC's public IP as the host.

Why do I need an SBC for Mobily?

Mobily delivers its SIP trunk over a private link to your site and trusts your side by IP, so the platform cannot reach Mobily directly. An SBC or PBX on that link, with a public IP, relays calls between Mobily and Wixzel Voice.

其他電信業者

建立您的第一個語音代理