はじめに
Jabber で通話しているユーザのプレゼンス ステータスが橙色・「通話中」(On a call)と表示される動作があります。
他ステータスの仕組みおよび必須設定が異なるので、本ドキュメントで「通話中」のステータスについて説明します。
Jabber Windows を利用した場合の「通話中」ステータス
|
Jabber Mobile(Android, iPhone) を利用した場合の「通話中」ステータス
|
仕組み
「応答可能」や「退席中」のステータスは Jabber クライアントで設定した場合、Jabber が直接 IM&P サーバへ送信した XMPP メッセージで制御されていますが、「通話中」のステータスを表示させるには Unified CM も動作します。
SIP PUBLISH ※1
Jabber が通話中であることを CUCM から IM&P へ通知します。
16630242.001 |15:10:48.119 |AppInfo |SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 10.1.1.1 on port 5070 index 140837 [1105076,NET] PUBLISH sip:test1@10.1.1.1:5070 SIP/2.0 Via: SIP/2.0/TCP 10.1.1.2:5065;branch=z9hG4bK4afc93c56afa9 From: <sip:test1@10.1.1.2>;tag=968632656 To: <sip:test1@10.1.1.1> Call-ID: 2bf8e980-1ee1bb43-4afb9-99e6470a@10.1.1.2 CSeq: 101 PUBLISH Max-Forwards: 70 Date: Thu, 26 Jan 2023 06:10:48 GMT User-Agent: Cisco-CUCM12.5 Event: presence Expires: 3600 SIP-If-Match: 312ab34b-8486-44b3-84db-c75713611ed2 Content-Type: application/pidf+xml Content-Length: 924
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <presence xmlns="urn:ietf:params:xml:ns:pidf" entity="test1@10.1.1.2" xmlns:r="urn:ietf:params:xml:ns:pidf:status:rpid" xmlns:ce="urn:cisco:params:xml:ns:pidf:rpid" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:so="urn:cisco:params:xml:ns:pidf:source" xmlns:sc="urn:ietf:params:xml:ns:pidf:servcaps"> <tuple id="790b10c3-fcdb-bf49-20da-8c066f04ba18-452bdd8d-ad94-ab3f-a84c-7c1750965c53"> <status> <basic>closed</basic> </status> <r:activities><r:busy/></r:activities> <sc:servcaps> <sc:audio>true</sc:audio> </sc:servcaps> <contact priority="0.8">sip:2299@10.1.1.2:5065;dpkid=452bdd8d-ad94-ab3f-a84c-7c1750965c53;npkid=790b10c3-fcdb-bf49-20da-8c066f04ba18</contact> <model>Cisco-SOUNDWAVE</model> <deviceID>BBFC933A8F2F</deviceID> <timestamp>2023-01-26T06:10:48Z</timestamp> </tuple> </presence>
|
SIP PUBLISH ※2
Jabber が通話しなくなったことを CUCM から IM&P へ通知します。
16630338.001 |15:10:58.724 |AppInfo |SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 10.1.1.1 on port 5070 index 140837 [1105085,NET] PUBLISH sip:test1@10.1.1.1:5070 SIP/2.0 Via: SIP/2.0/TCP 10.1.1.2:5065;branch=z9hG4bK4afcb4cba9dd5 From: <sip:test1@10.1.1.2>;tag=1682907822 To: <sip:test1@10.1.1.1> Call-ID: 31eeca80-1ee1bb43-4afbb-99e6470a@10.1.1.2 CSeq: 101 PUBLISH Max-Forwards: 70 Date: Thu, 26 Jan 2023 06:10:58 GMT User-Agent: Cisco-CUCM12.5 Event: presence Expires: 3600 SIP-If-Match: ba2ec935-9bad-45be-9c3a-2c54f323f457 Content-Type: application/pidf+xml Content-Length: 879
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <presence xmlns="urn:ietf:params:xml:ns:pidf" entity="test1@10.1.1.2" xmlns:r="urn:ietf:params:xml:ns:pidf:status:rpid" xmlns:ce="urn:cisco:params:xml:ns:pidf:rpid" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:so="urn:cisco:params:xml:ns:pidf:source" xmlns:sc="urn:ietf:params:xml:ns:pidf:servcaps"> <tuple id="790b10c3-fcdb-bf49-20da-8c066f04ba18-452bdd8d-ad94-ab3f-a84c-7c1750965c53"> <status> <basic>open</basic> </status> <sc:servcaps> <sc:audio>true</sc:audio> </sc:servcaps> <contact priority="0.8">sip:2299@10.1.1.2:5065;dpkid=452bdd8d-ad94-ab3f-a84c-7c1750965c53;npkid=790b10c3-fcdb-bf49-20da-8c066f04ba18</contact> <model>Cisco-SOUNDWAVE</model> <deviceID>BBFC933A8F2F</deviceID> <timestamp>2023-01-26T06:10:58Z</timestamp> </tuple> </presence>
|
必須設定
Jabber の「通話中」ステータスが正常に動作されるには、以下の設定が必須です。
詳細は本ドキュメントの「参考情報」に記載されているページから確認できます。
1. SIP トランク セキュリティ プロファイル
Unified CM 管理 > システム > セキュリティ > SIP トランク セキュリティ プロファイルで検索をクリックし、[Non Secure SIP Trunk Profile(非セキュアな SIP トランク プロファイル)] をクリックし、[Copy] をクリックします。以下のように設定します。
![Screenshot 2023-01-26 at 16.44.16.png Screenshot 2023-01-26 at 16.44.16.png](https://community.cisco.com/t5/image/serverpage/image-id/174522iB83B7AD43FF4107D/image-dimensions/623x739?v=v2)
2. IM and Presence サービスの SIP トランクの設定
Unified CM 管理 > デバイス > トランクで新規のトランクを作成します。以下のように IM&P サーバの IP アドレスおよび SIP トランク セキュリティ プロファイル(ステップ 1 で作成したプロファイル)を設定します。
![Screenshot 2023-01-26 at 16.47.00.png Screenshot 2023-01-26 at 16.47.00.png](https://community.cisco.com/t5/image/serverpage/image-id/174531i68D4A1321A715970/image-dimensions/634x279?v=v2)
3. SIP パブリッシュ トランクの設定
IM&P 管理 > プレゼンス > 設定 > 標準設定で CUCM IM and Presence パブリッシュ トランクを選択します。ステップ 2 で作成したトランクにします。
![Screenshot 2023-01-26 at 16.54.50.png Screenshot 2023-01-26 at 16.54.50.png](https://community.cisco.com/t5/image/serverpage/image-id/174534iA62E8E554BA9F13E/image-dimensions/742x631?v=v2)
4. エンド ユーザとデバイスの関連付け + ライン アピアランスの関連付け
Unified CM 管理 > [ユーザの管理(User Management)] > [エンド ユーザ(End User)] で検索し、対象の Jabber ユーザを選択します。[デバイス情報(Device Information)] 領域にデバイスがない場合は、[デバイスの割り当て(Device Associations)] ボタンをクリックし、対象の Jabber 端末を選択し、保存します。
![Screenshot 2023-01-26 at 17.00.15.png Screenshot 2023-01-26 at 17.00.15.png](https://community.cisco.com/t5/image/serverpage/image-id/174536i2C3EE228FE62B4D8/image-dimensions/652x79?v=v2)
![Screenshot 2023-01-26 at 17.07.00.png Screenshot 2023-01-26 at 17.07.00.png](https://community.cisco.com/t5/image/serverpage/image-id/174538i0AF70AA4E5B0A9E1/image-dimensions/672x225?v=v2)
エンド ユーザのページに戻り、[デバイス情報(Device Information)] 領域の [ライン アピアランスのプレゼンスとの関連付け(Line Appearance Association for Presence)] ボタンをクリックし、対象の回線番号にチェックを入れ、保存します。
![Screenshot 2023-01-26 at 16.59.40.png Screenshot 2023-01-26 at 16.59.40.png](https://community.cisco.com/t5/image/serverpage/image-id/174540i857D26C6A0DD9290/image-dimensions/658x97?v=v2)
![Screenshot 2023-01-26 at 17.01.07.png Screenshot 2023-01-26 at 17.01.07.png](https://community.cisco.com/t5/image/serverpage/image-id/174539iCB7E363A6A4D5584/image-dimensions/652x150?v=v2)
最後にエンド ユーザ ページで保存します。
参考情報
Cisco Unified Communications Manager の SIP トランク設定(IM and Presence Service 設定および管理、リリース 12.5(1))
エンド ユーザとデバイスの関連付け(System Configuration Guide for Cisco Unified Communications Manager, リリース 12.5(1))