本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
在緊急呼叫中使用 PIDF-LO
Amazon Chime SDK Voice Connectors 支援增強型 911 (E911) 呼叫。當您透過語音連接器撥打緊急通話時,您可以透過在 SIP 請求中包含 GEOPRIV 存在資訊資料格式位置物件 (PIDF-LO) 來傳送來電者位置資訊。物件必須包含 Geolocation-Routing
標頭,設定為 Yes
。我們強烈建議驗證地址。如果您不使用地址或路由號碼,可以在 911 呼叫開始時執行地址驗證,以確保它路由到適當的公有安全接聽點 (PSAP),這表示可能需要更長的時間才能到達。
下列範例顯示包含 地址的 PIDF-LO 物件的 SIP 邀請。
INVITE sip:911@
abcdef1ghij2klmno3pqr4
.voiceconnector.chime.aws;transport=TCP SIP/2.0 Via: SIP/2.0/TCP IPaddress:12345
;rport;branch=z9hG4bKKXN2D41yvDUKH
From:+15105186683
><sip:+15105186683@IPaddress:12345>;tag=tag To: <sip:911@abcdef1ghij2klmno3pqr4
.voiceconnector.chime.aws>;transport=TCP Call-ID:12abcdef-3456-7891-012g-h7i8j9k6l0a1
CSeq:43615607
INVITE Contact: <sip:IPaddress
:12345
> Max-Forwards:70
Geolocation-Routing:Yes
Geolocation: <cid:a1ef610291734f98a467b973819e90ed
>;inserted-by=vpc@ng911.test.com Content-Type: multipart/mixed;boundary=unique-boundarystring Content-Length: 271 Accept: application/sdp, application/pidf+xml --unique-boundarystring Content-Type: application/sdp v=0 o=FreeSWITCH1636327400
1636327401
IN IP4 IPaddress s=FreeSWITCH c=IN IP4 IPaddress t=0 0 m=audio 11398 RTP/SAVP 9 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=sendrecv a=ptime:20 --unique-boundarystring Content-Type: application/pidf+xml Content-ID: <pidftest@test.com
> <?xml version="1.0" encoding="utf-8"?> <presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:gp="urn:ietf:params:xml:ns:pidf:geopriv10" xmlns:bp="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy" xmlns:ca="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr" entity="sip:amazontest911@test.com
"> <tuple id="0"> <status> <gp:geopriv> <gp:location-info> <ca:civicAddress> <ca:country>US</ca:country> <ca:A1>WA
</ca:A1> <ca:A3>Seattle
</ca:A3> <ca:HNO>1812
</ca:HNO> <ca:RD>Example
</ca:RD> <ca:STS>Ave</ca:STS> <ca:NAM>Low Flying Turtle
</ca:NAM> <ca:PC>98101
</ca:PC> </ca:civicAddress> </gp:location-info> </gp:geopriv> </status> <timestamp>2021-09-22T13:37:31.03
</timestamp> </tuple> </presence> --unique-boundarystring--