Below is an example where a voice call originated with +CDU is placed to a tel-URI. This example outlines how the call is initiated by the AT command +CDU, and how the unsolicited result code +CDUU is used to indicate how the call-setup progress until it is terminated. Both successful and unsuccessful outcome of a call attempt is shown in the example.
AT+CDU=1,
"tel:+47-123-45678" (Voice call initiated)
+CDU: 2 (Call initiated, call identification number 2 provided)
OK (Call initiation successful)
(Call setup progress, unsolicited result codes appear as appropriate)
(If call is answered by the remote party)
+CDUU: 2,
"ANSWERED" (Remote party has answered)
(If remote party does not answer)
+CDUU: 2,
"NO ANSWER" (Connection completion timeout)
(If remote party is busy)
+CDUU: 2,
"BUSY" (Busy signal detected)
(If call is terminated from remote party)
+CDUU: 2,
"CONNECTION TERMINATED" (Connection terminated from remote party)
(If call is terminated from calling party)
AT+CHCCS=2 (Connection with call identification number 2 terminated from calling party)
+CHCCSI: 2
OK
Below is an example where a multimedia-call (voice) originated with +CDU is placed to a SIP-URI. This example outlines how the call is initiated by the AT command +CDU, and how the unsolicited result codes +CDUU and +CMCCSI are used to indicate how the call-setup progress until it is terminated. A precondition for this example is that the basic event for the call monitoring function is successfully enabled with +CMCCS=2.
AT+CDU=1,
"sip:veronica@university.org" (Multimedia-call (voice) initiated)
+CDU: 4 (Call initiated, call identification number 4 provided)
OK (Call initiation successful)
(+CDUU and +CMCCSI appear as appropriate)
+CMCCSI: 4,0,0,0,
"",0,2,0,1,0,
"sip:veronica@university.org",0,0 (Call setup is started)
+CMCCSI: 4,0,0,0,
"",0,3,0,1,0,
"sip:veronica@university.org",0,0 (Call is in progress)
+CMCCSI: 4,0,0,0,
"",0,4,0,1,0,
"sip:veronica@university.org",0,0 (Alert indication received)
CDUU: 4,
"ANSWERED" (Remote party answered)
+CMCCSI: 4,0,0,0,
"",0,6,0,1,0,
"sip:veronica@university.org",0,0 (Connection established)
AT+CHCCS=4 (Connection with call identification number 4 terminated)
+CHCCSI: 4
OK
+CMCCSI: 4,0,0,0,
"",0,7,0,1,0,
"sip:veronica@university.org",2,200 (Outgoing connection released)
+CMCCSI: 4,0,0,0,
"",0,0,0,1,0,
"sip:veronica@university.org",0,0 (Idle)
Below is an example where a multimedia-call originated with +CDU is placed to a SIP-URI. This example outlines how the call is initiated by the AT command +CDU, and how the unsolicited result codes +CDUU and +CMCCSI are used to indicate how the call-setup progresses until it is terminated. A precondition for this example is that the basic event for the call monitoring function is successfully enabled with +CMCCS=2. This example illustrates the use of the +CDEFMP and +CCMMD commands to define and control the types of media that are used in the call.
AT+CDEFMP=,
"m=audio" (Media profile defined, offering only audio)
+CDEFMP=3 (Media profile index number 3 provided)
OK
AT+CDU=1,
"sip:veronica@university.org",1,3 (Multimedia-call initiated, using media profile number 3)
+CDU: 5 (Call initiated, call identification number 5 provided)
OK (Call initiation successful)
(+CDUU and +CMCCSI appear as appropriate)
+CMCCSI: 5,0,0,0,
"",0,2,0,1,0,
"sip:veronica@university.org",0,0 (Call setup is started)
+CMCCSI: 5,0,0,0,
"",0,3,0,1,0,
"sip:veronica@university.org",0,0 (Call is in progress)
+CMCCSI: 5,0,0,1,
"m=audio",0,4,0,1,0,
"sip:veronica@university.org",0,0
(Alert indication received and played back)
+CMCCSI: 5,0,1,3,
"m=audio",0,4,0,1,0,
"sip:veronica@university.org",0,0
(Remote party accepted the proposal for audio media)
+CDUU: 5,
"ANSWERED" (Remote party answered)
+CMCCSI: 5,0,1,1,
"m=audio",0,6,0,1,0,
"sip:veronica@university.org",0,0
(Connection established, audio media is active)
+CMCCSI: 5,0,1,2,
"m=audio\0D\0Am=video 99 98\0D\0Aa=rtpmap:99 H264/90000\0D\0Aa=fmtp:99 profile-level-id=4D4033\0D\0Aa=rtpmap:98 MP4V-ES/90000\0D\0Aa=fmtp:98 profile-level-id=1",0,6,0,1,0,
"sip:veronica@university.org",0,0
(Remote party proposed adding video to the call, offering two different formats)
AT+CCMDC=5,3,
"m=audio\0D\0Am=video 99 98\0D\0Aa=rtpmap:99 H264/90000\0D\0Aa=fmtp:99 profile-level-id=4D4033\0D\0Aa=rtpmap:98 MP4V-ES/90000\0D\0Aa=fmtp:98 profile-level-id=1"
(Proposal accepted, indicating support for both formats offered)
OK
+CMCCSI: 5,0,1,1,
"m=audio\0D\0Am=video 99\0D\0Aa=rtpmap:99 H264/90000\0D\0Aa=fmtp:99 profile-level-id=4D4033",0,6,0,1,0,
"sip:veronica@university.org",0,0
(Call media changed to audio and video on a format selected by the TE)
AT+CCMDC=5,1,
"m=audio" (Video media removed, unconditionally)
OK
+CMCCSI: 5,0,1,1,
"m=audio",0,6,0,1,0,
"sip:veronica@university.org",0,0
(Call media changed to audio only)
AT+CHCCS=5 (Connection with call identification number 5 terminated)
+CHCCSI: 5
OK
+CMCCSI: 5,0,0,0,
"",0,7,0,1,0,
"sip:veronica@university.org",2,200 (Outgoing connection released)
+CMCCSI: 5,0,0,0,
"",0,1,0,1,0,
"sip:veronica@university.org",0,0 (Idle)
Below is an example where an incoming multimedia-call is received, but the initially offered media audio+video is accepted as audio+video-recv-only, which is subset of the initial offer. A precondition for this example is that the basic event for the call monitoring function is successfully enabled with +CMCCS=2. The terms
"<audio>",
"<audio+video>" and
"<audio+video-recv-only>" are used to illustrate respective SDP media descriptions of audio, audio+video and audio+video-recv-only in the example.
RING (Ringing call)
+CMCCSI: 3,1,1,2,
"<audio+video>",0,5,0,1,0,
"sip:archie@university.org",0,0
(Incoming ringing call with call identification number 3 and a proposal for audio+video media)
AT+CCMMD=3,3,
" <audio+video-recv-only>" (Media proposal accepted as audio+video-recv-only)
OK
ATA (Call answered)
OK
+CMCCSI: 3,1,1,1,
"< Audio+video-recv-only >",0,6,0,1,0,
"sip:archie@university.org",0,0
(Active call established with audio media)
Below is an example where a multimedia-call originated with +CDU is placed to a SIP-URI. In this example, the remote party proposes to add video to the call, the local UE accepts the incoming proposal as audio+video-recv-only. A precondition for this example is that the basic event for the call monitoring function is successfully enabled with +CMCCS=2. The terms
"<audio>",
"<audio+video>" and
"<audio+video-recv-only>" are used to illustrate respective SDP media descriptions of audio, audio+video and audio+video-recv-only in the example.
AT+CDEFMP=,
"m=audio" (Media profile defined, offering only audio)
+CDEFMP=3 (Media profile index number 3 provided)
OK
AT+CDU=1,
"sip:veronica@university.org",1,3 (Multimedia-call initiated, using media profile number 3)
+CDU: 5 (Call initiated, call identification number 5 provided)
OK (Call initiation successful)
(+CDUU and +CMCCSI appear as appropriate)
+CMCCSI: 5,0,0,0,
"",0,2,0,1,0,
"sip:veronica@university.org",0,0 (Call setup is started)
+CMCCSI: 5,0,0,0,
"",0,3,0,1,0,
"sip:veronica@university.org",0,0 (Call is in progress)
+CMCCSI: 5,0,0,1,
"m=audio",0,4,0,1,0,
"sip:veronica@university.org",0,0
(Alert indication received and played back)
+CMCCSI: 5,0,1,3,
"m=audio",0,4,0,1,0,
"sip:veronica@university.org",0,0
(Remote party accepted the proposal for audio media)
+CDUU: 5,
"ANSWERED" (Remote party answered)
+CMCCSI: 5,0,1,1,
"m=audio",0,6,0,1,0,
"sip:veronica@university.org",0,0
(Connection established, audio media is active)
+CMCCSI: 5,0,1,2,
"<audio+video>",0,5,0,1,0,
"sip:archie@university.org",0,0
(Remote party propose to add video to the call)
AT+CCMDC=5,3,
"<audio+video-recv-only>" (Proposal accepted as audio and video (recv-only))
OK
+CMCCSI: 5,0,1,1,
"<audio+video-recv-only>",0,6,0,1,0,
"sip:veronica@university.org",0,0
(Call media changed to audio and video-recv-only)
Below is an example where a multimedia-call originated with +CDU is placed to a SIP-URI. In this example, the remote party rejects the proposed media and makes a counterproposal, which is then accepted by the originating party before the call is established. A precondition for this example is that the basic event for the call monitoring function is successfully enabled with +CMCCS=2. The terms
"<audio>" and
"<audio+video>" are used to illustrate respective SDP media descriptions of audio and audio+video in the example.
AT+CDEFMP=,
"<audio+video>" (Media profile defined, offering both audio and video)
+CDEFMP=4 (Media profile index number 4 provided)
OK
AT+CDU=1,
"sip:veronica@university.org",1,4 (Multimedia-call initiated, using media profile number 4)
+CDU: 6 (Call initiated, call identification number 6 provided)
OK (Call initiation successful)
(+CDUU and +CMCCSI appear as appropriate)
+CMCCSI: 6,0,0,0,
"",0,2,0,1,0,
"sip:veronica@university.org",0,0 (Call setup is started)
+CMCCSI: 6,0,0,0,
"",0,3,0,1,0,
"sip:veronica@university.org",0,0 (Call is in progress)
+CMCCSI: 6,0,0,1,
"<audio>",0,4,0,1,0,
"sip:veronica@university.org",0,0
(Alert indication received and played back)
+CMCCSI: 6,0,1,4,
"",0,4,0,1,0,
"sip:veronica@university.org",0,0
(Remote party rejected the proposal for audio+video media)
+CMCCSI: 6,0,1,2,
"<audio>",0,4,0,1,0,
"sip:veronica@university.org",0,0
(Remote party proposed audio-only media for the call)
AT+CCMMD=6,3,
"<audio>" (Proposal accepted)
OK
+CDUU: 6,
"ANSWERED" (Remote party answered the call)
+CMCCSI: 6,0,1,1,
"<audio>",0,6,0,1,0,
"sip:veronica@university.org",0,0
(Connection established, audio media is active)
Below is the same scenario as above from the terminating party's perspective. An incoming multimedia-call is received, but the initially offered media is rejected and a successful counterproposal is made. A precondition for this example is that the basic event for the call monitoring function is successfully enabled with +CMCCS=2. The terms
"<audio>" and
"<audio+video>" are used to illustrate respective SDP media descriptions of audio and audio+video in the example.
RING (Ringing call)
+CMCCSI: 3,1,1,2,
"<audio+video>",0,5,0,1,0,
"sip:archie@university.org",0,0
(Incoming ringing call with call identification number 3 and a proposal for audio+video media)
AT+CCMMD=3,4 (Media proposal rejected)
OK
AT+CCMMD=3,2,
"<audio>" (Audio-only media for the call proposed)
OK
+CMCCSI: 3,1,1,3,
"<audio>",0,5,0,1,0,
"sip:archie@university.org",0,0
(Originating party accepted the proposed, and now active, audio media)
ATA (Call answered)
OK
+CMCCSI: 3,1,1,1,
"<audio>",0,6,0,1,0,
"sip:archie@university.org",0,0 (Active call established with audio media)
Below is an example where a multimedia-call originated with +CDU is placed to a SIP-URI. In this example, both the proposed media and the call is rejected by the remote party. A precondition for this example is that the basic event for the call monitoring function is successfully enabled with +CMCCS=2. The terms
"<audio>" and
"<audio+video>" are used to illustrate SDP media description of audio and audio+video in the example.
AT+CDEFMP=,
"<audio+video>" (Media profile defined, offering both audio and video)
+CDEFMP=5 (Media profile index number 5 provided)
OK
AT+CDU=1,
"sip:veronica@university.org",1,5 (Multimedia-call initiated, using media profile number 5)
+CDU: 7 (Call initiated, call identification number 7 provided)
OK (Call initiation successful)
(+CDUU and +CMCCSI appear as appropriate)
+CMCCSI: 7,0,0,0,
"",0,2,0,1,0,
"sip:veronica@university.org",0,0 (Call setup is started)
+CMCCSI: 7,0,0,0,
"",0,3,0,1,0,
"sip:veronica@university.org",0,0 (Call is in progress)
+CMCCSI: 7,0,0,1,
"<audio>",0,4,0,1,0,
"sip:veronica@university.org",0,0
(Alert indication received and played back)
+CMCCSI: 7,0,1,4,
"",0,4,0,1,0,
"sip:veronica@university.org",0,0
(Remote party rejected the proposal for audio+video media)
+CDUU: 7,
"CONNECTION TERMINATED" (Remote party rejected the call)
+CMCCSI: 7,0,0,0,
"",0,7,0,1,0,
"sip:veronica@university.org",2,488 (Outgoing connection released)
+CMCCSI: 7,0,0,0,
"",0,1,0,1,0,
"sip:veronica@university.org",0,0 (Idle)
Below is the same scenario as above from the terminating party's perspective. An incoming multimedia-call is received, but both the initially offered media and the call are rejected. A precondition for this example is that the basic event for the call monitoring function is successfully enabled with +CMCCS=2. The term
"<audio+video>" is used to illustrate SDP media description of audio+video in the example.
RING (Ringing call)
+CMCCSI: 4,1,1,2,
"<audio+video>",0,5,0,1,0,
"sip:archie@university.org",0,0
(Incoming ringing call with call identification number 4 and a proposal for audio+video media)
AT+CCMMD=4,4 (Media proposal rejected)
OK
AT+CHCCS=4,2 (Connection with identification number 4 rejected)
+CHCCSI: 4
OK
+CMCCSI: 4,0,0,0,
"",0,8,0,1,0,
"sip:veronica@university.org",2,488 (Incoming connection released)
+CMCCSI: 4,0,0,0,
"",0,1,0,1,0,
"sip:veronica@university.org",0,0 (Idle)