목차

소개

문제

솔루션

소개

PBX에서 Unity Connection을 음성 메일 시스템으로 사용할 수 있도록 하기 위해 T1 TIMG(Media Gateway) 및 PBX IP Media Gateway(PIMG) 디바이스가 사용됩니다. TIMG/PIMG에서 Unity Connection으로의 통신은 SIP(Session Initiation Protocol)를 통해 이루어집니다. PBX에서 Unity Connection으로의 통신은 TDM(시분할 다중 통신)을 통해 이루어집니다.

이 문서에서는 이러한 유형의 통합에서 발생할 수 있는 문제에 대해 설명합니다.

문제

Unity Connection은 PBX와의 통합을 위해 TIMG와 연동하도록 구성됩니다. PBX에 전화를 걸고 응답 없음으로 전화를 걸거나 모두 음성 메일로 통화 착신 전환을 수행하면 음성 메일 인사말이 아닌 인사말 시작 페이지로 통화가 이동합니다.

추적 표시:

참고: 흔적의 일부는 더 보기 쉽도록 재구성되어 있다.

TIMG는 실제 통화를 받았으므로 초대를 작성합니다. 그러나 현재 TIMG는 PBX로부터 어떠한 통화 정보도 받지 못했습니다.

087:57.872 [VoIP      ] Prot     <----INVITE sip:Anonymous@14.48.13.103:5060 SIP/2.0

087:57.872 [VoIP      ] Prot     From:"Anonymous"<sip:Anonymous@14.48.13.115:5060;

user=phone>;vnd.pimg.port=7;tag=42B2324631353641000A6029

087:57.872 [VoIP      ] Prot     To:"Anonymous"<sip:Anonymous@14.48.13.103:5060>

087:57.872 [VoIP      ] Prot     Contact:<sip:14.48.13.115:5060>

087:57.872 [VoIP      ] Prot     Content-Type:application/sdp

087:57.872 [VoIP      ] Prot     Supported:replaces,early-session,100rel

087:57.872 [VoIP      ] Prot     Allow:INVITE,BYE,CANCEL,REFER,NOTIFY,OPTIONS,

REGISTER, INFO,ACK,PRACK

087:57.872 [VoIP      ] Prot     Expires:120

087:57.872 [VoIP      ] Prot     Call-ID:01B22816147E007E00000019@14.48.13.103

087:57.872 [VoIP      ] Prot     CSeq:1 INVITE

087:57.872 [VoIP      ] Prot     Max-Forwards:70

087:57.872 [VoIP      ] Prot     User-Agent:Voice Messaging

087:57.872 [VoIP      ] Prot     Via:SIP/2.0/UDP 14.48.13.115:5060;branch=z9hG4bKC

621E66EBDE4CB89FF423B472071147B

087:57.872 [VoIP      ] Prot     Content-Length:219

087:57.872 [VoIP      ] Prot

087:57.872 [VoIP      ] Prot     v=0

087:57.872 [VoIP      ] Prot     o=phone 3397 20425 IN IP4 14.48.13.115

087:57.872 [VoIP      ] Prot     s=-

087:57.872 [VoIP      ] Prot     c=IN IP4 14.48.13.115

087:57.872 [VoIP      ] Prot     t=0 0

087:57.872 [VoIP      ] Prot     m=audio 18698 RTP/AVP 0 101 13

087:57.872 [VoIP      ] Prot     a=rtpmap:0 PCMU/8000/1

087:57.872 [VoIP      ] Prot     a=ptime:30

087:57.872 [VoIP      ] Prot     a=rtpmap:101 telephone-event/8000

087:57.872 [VoIP      ] Prot     a=fmtp:101 0-15

087:57.872 [VoIP      ] Prot     a=rtpmap:13 CN/8000

087:57.872 [VoIP      ] Prot

087:57.872 [VoIP      ] Prot     ---->SIP/2.0 100 Trying

087:57.872 [VoIP      ] Prot     From: "Anonymous"<sip:Anonymous@14.48.13.115:5060;

user=phone>;vnd.pimg.port=7;tag=42B2324631353641000A6029

087:57.872 [VoIP      ] Prot     To: "Anonymous"<sip:Anonymous@14.48.13.103:5060>;

tag=f0c09771bd2942e7a57794619f8efccd

087:57.872 [VoIP      ] Prot     Via: SIP/2.0/UDP 14.48.13.115:5060;branch=z9hG4bKC

621E66EBDE4CB89FF423B472071147B

087:57.872 [VoIP      ] Prot     Expires: 120

087:57.872 [VoIP      ] Prot     Call-ID: 01B22816147E007E00000019@14.48.13.103

087:57.872 [VoIP      ] Prot     CSeq: 1 INVITE

087:57.872 [VoIP      ] Prot     Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,

REGISTER,SUBSCRIBE

087:57.872 [VoIP      ] Prot     Content-Length: 0

087:57.872 [VoIP      ] Prot

087:57.888 [VoIP      ] Prot

087:57.888 [VoIP      ] Prot     ---->SIP/2.0 180 Ringing

087:57.888 [VoIP      ] Prot     From: "Anonymous"<sip:Anonymous@14.48.13.115:5060;

user=phone>;vnd.pimg.port=7;tag=42B2324631353641000A6029

087:57.888 [VoIP      ] Prot     To: "Anonymous"<sip:Anonymous@14.48.13.103:5060>;

tag=f0c09771bd2942e7a57794619f8efccd

087:57.888 [VoIP      ] Prot     Via: SIP/2.0/UDP 14.48.13.115:5060;branch=z9hG4bKC

621E66EBDE4CB89FF423B472071147B

087:57.888 [VoIP      ] Prot     Expires: 120

087:57.888 [VoIP      ] Prot     Call-ID: 01B22816147E007E00000019@14.48.13.103

087:57.888 [VoIP      ] Prot     CSeq: 1 INVITE

087:57.888 [VoIP      ] Prot     Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,

REGISTER,SUBSCRIBE

087:57.888 [VoIP      ] Prot     Content-Length: 0

087:57.888 [VoIP      ] Prot

087:57.968 [VoIP      ] Prot

087:57.968 [VoIP      ] Prot     ---->SIP/2.0 200 OK

087:57.968 [VoIP      ] Prot     From: "Anonymous"<sip:Anonymous@14.48.13.115:5060;

user=phone>;vnd.pimg.port=7;tag=42B2324631353641000A6029

087:57.968 [VoIP      ] Prot     To: "Anonymous"<sip:Anonymous@14.48.13.103:5060>;

tag=f0c09771bd2942e7a57794619f8efccd

087:57.968 [VoIP      ] Prot     Via: SIP/2.0/UDP 14.48.13.115:5060;branch=z9hG4bKC

621E66EBDE4CB89FF423B472071147B

087:57.968 [VoIP      ] Prot     Contact: <sip:14.48.13.103:5060>

087:57.968 [VoIP      ] Prot     Expires: 120

087:57.968 [VoIP      ] Prot     Call-ID: 01B22816147E007E00000019@14.48.13.103

087:57.968 [VoIP      ] Prot     CSeq: 1 INVITE

087:57.968 [VoIP      ] Prot     Allow-Events: kpml

087:57.968 [VoIP      ] Prot     Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,

REGISTER,SUBSCRIBE

087:57.968 [VoIP      ] Prot     Content-Length: 224

087:57.968 [VoIP      ] Prot     Content-Type: application/sdp

087:57.968 [VoIP      ] Prot

087:57.968 [VoIP      ] Prot     v=0

087:57.968 [VoIP      ] Prot     o=CiscoSystemsUCXN 399280213 399280214 IN IP4 14.

48.13.103

087:57.968 [VoIP      ] Prot     s=No Subject

087:57.968 [VoIP      ] Prot     c=IN IP4 14.48.13.103

087:57.968 [VoIP      ] Prot     t=0 0

087:57.968 [VoIP      ] Prot     m=audio 16716 RTP/AVP 0 101

087:57.968 [VoIP      ] Prot     a=rtpmap:0 PCMU/8000/1

087:57.968 [VoIP      ] Prot     a=ptime:30

087:57.968 [VoIP      ] Prot     a=rtpmap:101 telephone-event/8000

087:57.968 [VoIP      ] Prot     a=fmtp:101 0-15

이 시점에서 통화에 응답하고 발신자가 인사말 열기를 수신합니다.

087:58.448 [VoIP      ] Prot     ---->SIP/2.0 200 OK

087:58.448 [VoIP      ] Prot     From: "Anonymous"<sip:Anonymous@14.48.13.115:5060;

user=phone>;vnd.pimg.port=7;tag=42B2324631353641000A6029

087:58.448 [VoIP      ] Prot     To: "Anonymous"<sip:Anonymous@14.48.13.103:5060>;

tag=f0c09771bd2942e7a57794619f8efccd

087:58.448 [VoIP      ] Prot     Via: SIP/2.0/UDP 14.48.13.115:5060;branch=z9hG4bKC

621E66EBDE4CB89FF423B472071147B

087:58.448 [VoIP      ] Prot     Contact: <sip:14.48.13.103:5060>

087:58.448 [VoIP      ] Prot     Expires: 120

087:58.448 [VoIP      ] Prot     Call-ID: 01B22816147E007E00000019@14.48.13.103

087:58.448 [VoIP      ] Prot     CSeq: 1 INVITE

087:58.448 [VoIP      ] Prot     Allow-Events: kpml

087:58.448 [VoIP      ] Prot     Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,

REGISTER,SUBSCRIBE

087:58.448 [VoIP      ] Prot     Content-Length: 224

087:58.448 [VoIP      ] Prot     Content-Type: application/sdp

087:58.448 [VoIP      ] Prot

087:58.448 [VoIP      ] Prot     v=0

087:58.448 [VoIP      ] Prot     o=CiscoSystemsUCXN 399280213 399280214 IN IP4 14.

48.13.103

087:58.448 [VoIP      ] Prot     s=No Subject

087:58.448 [VoIP      ] Prot     c=IN IP4 14.48.13.103

087:58.448 [VoIP      ] Prot     t=0 0

087:58.448 [VoIP      ] Prot     m=audio 16716 RTP/AVP 0 101

087:58.448 [VoIP      ] Prot     a=rtpmap:0 PCMU/8000/1

087:58.448 [VoIP      ] Prot     a=ptime:30

087:58.448 [VoIP      ] Prot     a=rtpmap:101 telephone-event/8000

087:58.448 [VoIP      ] Prot     a=fmtp:101 0-15

TIMG가 PBX로부터 통화 정보를 수신했습니다. 이 시점에서 통화가 이미 Unity Connection으로 라우팅되었으므로 너무 늦습니다.

087:58.384 [Tel-7     ] Event    Dtmf (#) On

087:58.384 [Tel-7     ] Event    Dtmf (#) Off

087:58.592 [Tel-7     ] Event    Dtmf (0) On

087:58.592 [Tel-7     ] Event    Dtmf (0) Off

087:58.768 [Tel-7     ] Event    Dtmf (2) On

087:58.768 [Tel-7     ] Event    Dtmf (2) Off

087:58.960 [Tel-7     ] Event    Dtmf (#) On

087:58.960 [Tel-7     ] Event    Dtmf (#) Off

087:59.168 [Tel-7     ] Event    Dtmf (5) On

087:59.168 [Tel-7     ] Event    Dtmf (5) Off

087:59.344 [Tel-7     ] Event    Dtmf (2) On

087:59.344 [Tel-7     ] Event    Dtmf (2) Off

087:59.408 [VoIP      ] Prot

087:59.536 [Tel-7     ] Event    Dtmf (8) On

087:59.536 [Tel-7     ] Event    Dtmf (8) Off

087:59.744 [Tel-7     ] Event    Dtmf (6) On

087:59.744 [Tel-7     ] Event    Dtmf (6) Off

087:59.920 [Tel-7     ] Event    Dtmf (#) On

087:59.920 [Tel-7     ] Event    Dtmf (#) Off

088:00.112 [Tel-7     ] Event    Dtmf (5) On

088:00.112 [Tel-7     ] Event    Dtmf (5) Off

088:00.320 [Tel-7     ] Event    Dtmf (5) On

088:00.320 [Tel-7     ] Event    Dtmf (5) Off

088:00.496 [Tel-7     ] Event    Dtmf (8) On

088:00.496 [Tel-7     ] Event    Dtmf (8) Off

088:00.688 [Tel-7     ] Event    Dtmf (8) On

088:00.688 [Tel-7     ] Event    Dtmf (8) Off

088:00.896 [Tel-7     ] Event    Dtmf (#) On

088:00.896 [Tel-7     ] Event    Dtmf (#) Off

088:01.328 [VoIP      ] Prot

087:59.408 [VoIP      ] Prot     ---->SIP/2.0 200 OK

087:59.408 [VoIP      ] Prot     From: "Anonymous"<sip:Anonymous@14.48.13.115:5060;

user=phone>;vnd.pimg.port=7;tag=42B2324631353641000A6029

087:59.408 [VoIP      ] Prot     To: "Anonymous"<sip:Anonymous@14.48.13.103:5060>;

tag=f0c09771bd2942e7a57794619f8efccd

087:59.408 [VoIP      ] Prot     Via: SIP/2.0/UDP 14.48.13.115:5060;branch=z9hG4bKC

621E66EBDE4CB89FF423B472071147B

087:59.408 [VoIP      ] Prot     Contact: <sip:14.48.13.103:5060>

087:59.408 [VoIP      ] Prot     Expires: 120

087:59.408 [VoIP      ] Prot     Call-ID: 01B22816147E007E00000019@14.48.13.103

087:59.408 [VoIP      ] Prot     CSeq: 1 INVITE

087:59.408 [VoIP      ] Prot     Allow-Events: kpml

087:59.408 [VoIP      ] Prot     Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,

REGISTER,SUBSCRIBE

087:59.408 [VoIP      ] Prot     Content-Length: 224

087:59.408 [VoIP      ] Prot     Content-Type: application/sdp

087:59.408 [VoIP      ] Prot

087:59.408 [VoIP      ] Prot     v=0

087:59.408 [VoIP      ] Prot     o=CiscoSystemsUCXN 399280213 399280214 IN IP4 14.48.

13.103

087:59.408 [VoIP      ] Prot     s=No Subject

087:59.408 [VoIP      ] Prot     c=IN IP4 14.48.13.103

087:59.408 [VoIP      ] Prot     t=0 0

087:59.408 [VoIP      ] Prot     m=audio 16716 RTP/AVP 0 101

087:59.408 [VoIP      ] Prot     a=rtpmap:0 PCMU/8000/1

087:59.408 [VoIP      ] Prot     a=ptime:30

087:59.408 [VoIP      ] Prot     a=rtpmap:101 telephone-event/8000

087:59.408 [VoIP      ] Prot     a=fmtp:101 0-15

088:01.328 [VoIP      ] Prot     ---->SIP/2.0 200 OK

088:01.328 [VoIP      ] Prot     From: "Anonymous"<sip:Anonymous@14.48.13.115:5060;

user=phone>;vnd.pimg.port=7;tag=42B2324631353641000A6029

088:01.328 [VoIP      ] Prot     To: "Anonymous"<sip:Anonymous@14.48.13.103:5060>;

tag=f0c09771bd2942e7a57794619f8efccd

088:01.328 [VoIP      ] Prot     Via: SIP/2.0/UDP 14.48.13.115:5060;branch=z9hG4bKC

621E66EBDE4CB89FF423B472071147B

088:01.328 [VoIP      ] Prot     Contact: <sip:14.48.13.103:5060>

088:01.328 [VoIP      ] Prot     Expires: 120

088:01.328 [VoIP      ] Prot     Call-ID: 01B22816147E007E00000019@14.48.13.103

088:01.328 [VoIP      ] Prot     CSeq: 1 INVITE

088:01.328 [VoIP      ] Prot     Allow-Events: kpml

088:01.328 [VoIP      ] Prot     Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,

REGISTER,SUBSCRIBE

088:01.328 [VoIP      ] Prot     Content-Length: 224

088:01.328 [VoIP      ] Prot     Content-Type: application/sdp

088:01.328 [VoIP      ] Prot

088:01.328 [VoIP      ] Prot     v=0

088:01.328 [VoIP      ] Prot     o=CiscoSystemsUCXN 399280213 399280214 IN IP4 14.48.

13.103

088:01.328 [VoIP      ] Prot     s=No Subject

088:01.328 [VoIP      ] Prot     c=IN IP4 14.48.13.103

088:01.328 [VoIP      ] Prot     t=0 0

088:01.328 [VoIP      ] Prot     m=audio 16716 RTP/AVP 0 101

088:01.328 [VoIP      ] Prot     a=rtpmap:0 PCMU/8000/1

088:01.328 [VoIP      ] Prot     a=ptime:30

088:01.328 [VoIP      ] Prot     a=rtpmap:101 telephone-event/8000

088:01.328 [VoIP      ] Prot     a=fmtp:101 0-15

088:01.920 [Tel-7     ] Event    Tone Detect Enabled (0xFF)

Adept 규칙을 구문 분석한 후 PBX의 통화 정보가 이 명령문으로 구성됩니다. 이 메시지는 초대 전에 수신되어야 제대로 작성할 수 있습니다.

088:01.920 [Tel-7     ] Event    Cpid (5286,->,->5588,) (NoAns)

088:01.920 [VoIP      ] Prot     <----ACK sip:14.48.13.103:5060 SIP/2.0

088:01.920 [VoIP      ] Prot     CSeq:1 ACK

088:01.920 [VoIP      ] Prot     To:"Anonymous"<sip:Anonymous@14.48.13.103:5060>;

tag=f0c09771bd2942e7a57794619f8efccd

088:01.920 [VoIP      ] Prot     From:"Anonymous"<sip:Anonymous@14.48.13.115:5060;

user=phone>;vnd.pimg.port=7;tag=42B2324631353641000A6029

088:01.920 [VoIP      ] Prot     Call-ID:01B22816147E007E00000019@14.48.13.103

088:01.920 [VoIP      ] Prot     Max-Forwards:70

088:01.920 [VoIP      ] Prot     User-Agent:Voice Messaging

088:01.920 [VoIP      ] Prot     Via:SIP/2.0/UDP 14.48.13.115:5060;branch=z9hG4bK3

032A56F55534D5407B2D30922E6F860

088:01.920 [VoIP      ] Prot     Content-Length:0

088:01.920 [VoIP      ] Prot

088:01.920 [VoIP      ] Prot

여기서 TIMG는 업데이트된 통화 정보에 대한 작업을 시도합니다. 그러나 Unity Connection에서는 이를 허용하지 않습니다.

088:01.920 [VoIP      ] Prot     <----INFO sip:14.48.13.103:5060 SIP/2.0

088:01.920 [VoIP      ] Prot     Diversion:

;reason=no-answer

088:01.920 [VoIP      ] Prot     Content-Type:text/source-party

088:01.920 [VoIP      ] Prot     To:"Anonymous"<sip:Anonymous@14.48.13.103:5060>;

tag=f0c09771bd2942e7a57794619f8efccd

088:01.920 [VoIP      ] Prot     From:"Anonymous"<sip:Anonymous@14.48.13.115:5060;

user=phone>;vnd.pimg.port=7;tag=42B2324631353641000A6029

088:01.920 [VoIP      ] Prot     Call-ID:01B22816147E007E00000019@14.48.13.103

088:01.920 [VoIP      ] Prot     CSeq:2 INFO

088:01.920 [VoIP      ] Prot     Max-Forwards:70

088:01.920 [VoIP      ] Prot     User-Agent:Voice Messaging

088:01.920 [VoIP      ] Prot     Via:SIP/2.0/UDP 14.48.13.115:5060;branch=z9hG4bK6

EBB9CF7420BA1A393273882D5157413

088:01.920 [VoIP      ] Prot     Content-Length:6

088:01.920 [VoIP      ] Prot

088:01.920 [VoIP      ] Prot     5286

088:01.968 [VoIP      ] Prot

088:01.968 [VoIP      ] Prot     ---->SIP/2.0 200 OK

088:01.968 [VoIP      ] Prot     From: "Anonymous"<sip:Anonymous@14.48.13.115:5060;

user=phone>;vnd.pimg.port=7;tag=42B2324631353641000A6029

088:01.968 [VoIP      ] Prot     To: "Anonymous"<sip:Anonymous@14.48.13.103:5060>;

tag=f0c09771bd2942e7a57794619f8efccd

088:01.968 [VoIP      ] Prot     Via: SIP/2.0/UDP 14.48.13.115:5060;branch=z9hG4bK6

EBB9CF7420BA1A393273882D5157413

088:01.968 [VoIP      ] Prot     Call-ID: 01B22816147E007E00000019@14.48.13.103

088:01.968 [VoIP      ] Prot     CSeq: 2 INFO

088:01.968 [VoIP      ] Prot     Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,

REGISTER,SUBSCRIBE

088:01.968 [VoIP      ] Prot     Content-Length: 0

088:01.968 [VoIP      ] Prot

참고: 추적의 나머지 부분이 잘렸습니다.

여기서 가장 큰 문제는 Unity Connection에 대한 초대를 트리거한 물리적 통화가 수신된 후 약 4초 후에 PBX의 통화 정보가 도착한다는 것입니다. 따라서 전환하지 않았으므로 통화가 시작 인사말로 롤링되었습니다. 이(가) Unity Connection에 대한 초기 초대에 포함되어 Unity Connection에 통화를 라우팅할 사서함을 알려 줍니다.

솔루션

이 문제를 해결하려면 Configuration(컨피그레이션) > TDM > General(일반)로 이동하여 Maximum Call Party Delay (ms)(최대 발신자 지연(ms)를 찾은 후 값을 5,000ms와 같이 변경합니다. 이렇게 하면 Unity Connection에 초기 초대를 구성하기 전에 5초 지연이 추가되므로 모든 통화 정보를 PBX에서 수신할 수 있는 시간이 허용됩니다.