Re: Megaco Service change reply without version
"BEHAR ALDANA, RONALD (RONALD)** CTR **" <[email protected]> Thu, 14 Oct 2010 09:31:05 +0200
| Newsgroups | gmane.ietf.megaco |
|---|---|
| Message-ID | <F1BF3BAC885159479F9D8F6165BD53790F5197D6@FRMRSSXCHMBSB3.dc-m.alcatel-lucent.com> |
Hi Ayush According to ABNF "Square brackets enclose an optional element sequence", so since the LBRKT and RBRKT are inside the Square brackets "[]" they are optional also and should only be included when any of the parameters in the list is sent. Regards Ronald Behar Aldana QACC EMEA TSO Madrid (Spain) (0034 913305322) -----Mensaje original----- De: [email protected] [mailto:[email protected]] En nombre de Ayush Jain Enviado el: jueves, 14 de octubre de 2010 6:42 Para: Tom Taylor CC: [email protected] Asunto: Re: [Megaco] Megaco Service change reply without version Hi Tom, I got it. Actually I have checked in ITU - T H248.1 Draft. But still am not clear whether for below: {} are required or not. ABNF says: serviceChangeReply = ServiceChangeToken EQUAL termIDList [LBRKT (errorDescriptor / serviceChangeReplyDescriptor) RBRKT] That means, if there is no error descriptor or service change reply descriptor, LBRKT & RBRKT are not required? Is it fine? Regards, _Ayush -----Original Message----- From: Tom Taylor [mailto:[email protected]] Sent: Thursday, October 14, 2010 7:30 AM To: Ayush Jain Cc: [email protected] Subject: Re: [Megaco] Megaco Service change reply without version You shouldn't be working from any RFC. The official reference for the protocol is H.248.1 as published by the ITU-T. You can find it at http://www.itu.int/rec/T-REC-H/en On 13/10/2010 8:46 AM, Ayush Jain wrote: > Hi All, > > If MGW sends a service change request to MGC& MGC has to reply without any descriptors(without version etc), then opening& closing bracket should be there on root or not. Currently for me, opening& closing brackets are coming from MGC, so MGW is returning Unsupported Descriptor& so Disconnect. > > > ###########################Service Change coming from MGW > > TRANSACTION = 17008 { > > > > CONTEXT = - { > > > > SERVICECHANGE = ROOT { > > > > SERVICES { METHOD = RESTART, > > > > REASON = 901, > > > > VERSION = 2 } > > } > > > > } > > > > } msgLen = 206 > > > > MEGACO/2 [10.128.254.81] > > > > REPLY = 17008 { > > > > CONTEXT = - { > > > > SERVICECHANGE = ROOT { > > } > > > > } > > > > } > > > > msgLen = 103 > > So now, whether {} is required after ROOT or not ? I could not get it clearly as per RFC. > > Regards, > _Ayush > > > > > _______________________________________________ > Megaco mailing list > [email protected] > https://www.ietf.org/mailman/listinfo/megaco _______________________________________________ Megaco mailing list [email protected] https://www.ietf.org/mailman/listinfo/megaco