[Megaco] [MEGACO] Mid call codec negotiation with unspecified Local descriptor

Manpreet Singh <write2mpc@gmail.com> Wed, 27 August 2014 16:17 UTC

Return-Path: <write2mpc@gmail.com>
X-Original-To: megaco@ietfa.amsl.com
Delivered-To: megaco@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C3AB1A0B13 for <megaco@ietfa.amsl.com>; Wed, 27 Aug 2014 09:17:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.2
X-Spam-Level:
X-Spam-Status: No, score=0.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FRT_SOMA2=2.199, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xw2ejKwNf7GB for <megaco@ietfa.amsl.com>; Wed, 27 Aug 2014 09:17:31 -0700 (PDT)
Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A1561A0B0D for <megaco@ietf.org>; Wed, 27 Aug 2014 09:17:30 -0700 (PDT)
Received: by mail-ob0-f176.google.com with SMTP id wo20so345726obc.7 for <megaco@ietf.org>; Wed, 27 Aug 2014 09:17:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=UninXi6Y7Uy5c2OPPLUWgzrovzawGBIYrnr0zEZXGPg=; b=0NTSGtWqeT8PPOLG3Jlyc+TI1WQUz6Iu+Il0WDxc4r+IxNxuD6hH4u5k2LomBAAVlS rJ1P/gnS8zQ7Ux0+hBFnIj/NGWbdZ56qy14X5PPcQjJtRSRmNAWKRwKAIIssTLXgVvyP ja4cydpYqMHm2VUXIkk06gIWLCmMGANLes4JTZhIZLH/yo24Q1GHPzFL8I4xjYQe6SF+ t28oOeE4nb0+wiXqeKZybCX8h2ieI+7I2ZLG5pjpyMspbU4P6tUzYXaKj8cCXm0z93fV +6+pG91+8063gr+5uSa2+J4+Cs0QD1KxioveoeusfzLu8jBxFZJRoMAVpfCPmY+j5WC3 CFWA==
MIME-Version: 1.0
X-Received: by 10.182.224.227 with SMTP id rf3mr10487340obc.70.1409156250440; Wed, 27 Aug 2014 09:17:30 -0700 (PDT)
Received: by 10.76.27.8 with HTTP; Wed, 27 Aug 2014 09:17:30 -0700 (PDT)
Date: Wed, 27 Aug 2014 21:47:30 +0530
Message-ID: <CAO_t5PaE7eQJyO+aQ3hk6WsuTH+Yq+4djdvYVOco6Q3nnJ-55w@mail.gmail.com>
From: Manpreet Singh <write2mpc@gmail.com>
To: megaco@ietf.org
Content-Type: multipart/alternative; boundary="089e013a05debd991f05019ec177"
Archived-At: http://mailarchive.ietf.org/arch/msg/megaco/Pg1GDGpFZZNPhQvQlEXzgH31CiI
X-Mailman-Approved-At: Thu, 28 Aug 2014 09:43:57 -0700
Subject: [Megaco] [MEGACO] Mid call codec negotiation with unspecified Local descriptor
X-BeenThere: megaco@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Media Gateway Control <megaco.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/megaco>, <mailto:megaco-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/megaco/>
List-Post: <mailto:megaco@ietf.org>
List-Help: <mailto:megaco-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/megaco>, <mailto:megaco-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Aug 2014 16:20:07 -0000

Hi All,



Need you input in a MEGACO mid call codec negotiation scenario. In this
scenario Local descriptor was unspecified in mid call codec change and we
want to understand what will be correct behavior.

Call flow in summary

==================

1. Firstly there is negotiation of audio codec and it is successful (first
modify request and its reply from MG is shown in message 1 & message 2).

2. Second Modify Request send by MGC with unspecified Local (Message 3)

3. MG reply Modify with “515 Unsupported_Media_Type”.  (Message 4)



As per the RFC

=============

   An unspecified Local or Remote Descriptor is considered to be a missing
mandatory parameter. It requires the MG to use whatever was last specified
for that descriptor. It is

possible that there was no previously specified value, in which case the
descriptor concerned is ignored in further processing of the command.



Behavior

========

  In this case local Descriptor was unspecified in modify (message 3) due
to this at media gateway previously specified value was PCMA.

  As there is no matching codec in local and new remote Descriptor so MG
return error.



Question

=========

   Is MG behavior correct ?

  Can anyone please confirm the right behavior of MG with second modify
request (Message 3) ?



Call follow

==========

[Message 1:: First modify from MGC]

!/2 <nord2.interconnect.mgc.voip.telefonica.de>:2945
T=111526820{C=2913{mf=ds/stm1_2/e1_50/29{m{o{mo=sr,TDMC/EC=OFF}},e,sg{}},mf=tgwrtp/8456{m{o{mo=sr},r{v=0

o=anonymous 140490962784 140490962786 IN IP4 213.20.251.120

s=SIP Call

c=IN IP4 213.20.251.120

t=0 0

m=audio 13076 RTP/AVP 8 0 125 101

b=AS:82

a=rtpmap:8 PCMA/8000/1

a=rtpmap:0 PCMU/8000/1

a=rtpmap:125 CLEARMODE/8000/1

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=ptime:20

a=sendrecv

}},e,sg{}}}}



[message 2 :: REPLY message for selected remote and local codecs form MG]:

!/2 <tmgx-brln-de103-2>:2945 P = 111526820{ C = 2913
{mf=ds/stm1_2/e1_50/29  ,mf=TGWRTP/8456  { m { l {

v=0

o=- 392 1404909627 IN IP4 62.53.160.73

s=-

c=IN IP4 62.53.160.73

t=0 0

m=audio 30356 RTP/AVP 8 101

a=ptime:20

a=rtpmap:8 PCMA/8000/1

a=rtpmap:101 telephone-event/8000/1

a=fmtp:101 0-15

} ,r {

v=0

o=anonymous 140490962784 140490962786 IN IP4 213.20.251.120

s=-

c=IN IP4 213.20.251.120

t=0 0

m=audio 13076 RTP/AVP 8 101

a=rtpmap:8 PCMA/8000/1

a=ptime:20

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

}  }  } }}



[message 3 :: second Modify Request with unspecified Local with change in
codec]

!/2 <nord2.interconnect.mgc.voip.telefonica.de>:2945
T=111528469{C=2913{mf=ds/stm1_2/e1_50/29{m{ts{CTYP/CALLTYP=[FAX,TEXT,DATA]},o{mo=sr,TDMC/EC=OFF}},e=1{CTYP/DTONE},sg{}},mf=tgwrtp/8456{m{o{mo=sr},r{v=0

o=anonymous 140490962784 140490962787 IN IP4 213.20.251.120

s=SIP Call

c=IN IP4 213.20.251.120

t=0 0

m=audio 13076 RTP/AVP 0 101

b=AS:82

a=rtpmap:0 PCMU/8000/1

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=ptime:20

a=sendrecv

}},e=1{IPFAX/FAXCONNCHANGE},sg{}}}}



[message 4 :: Modify Reply]

!/2 <tmgx-brln-de103-2>:2945 P = 111528469{ C = 2913
{mf=ds/stm1_2/e1_50/29  ,mf=TGWRTP/8456  { er = 515 {
"Unsupported_Media_Type" }  } }}



Any information will be appreciated!



Thanks &Regards,

Manpreet