Subject: [Megaco] Doubt regarding sending Error in Transaction Reply.

From: "Sundareswaram P V" <[email-masked]>
Date: Fri, 18 Jan 2002 10:43:19 +0530

Hi All,
     consider the example message below.

MEGACO/1 [125.125.125.111]:55555
Transaction = 50009 {
   Context = 5000 {
      Subtract = A5555 {
         Statistics {
            ........
         }
       },
       abc = A5556 { 
                    // --- request type is corrupted 
                    // instead of subtract it become 'abc'
               Statistics {
                  ......
                    nt/os=62345, ; octets sent
                     rtp/pr=780, ; packets received
                     nt/or=45123, ; octets received
               }
            }
         }
      }

The problem is as follows :
In the same context we have two commands. the first command get parsed well and will be inserted in to the Action Request while in the second command, the command type it self is corrupted. so how, do i form the ActionReply :

as the RFC 3015 states :

action reply = CtxToken EQUAL ContextID LBRKT
            (ErrorDescriptor / Command Reply) RBRKT

but as such for an action request i can send only one action reply. but the syntax above doesn't allow me to set both an error descriptor and an command reply with in an action reply.

cud any one help me resolve the issue  ??

thanx in advance.

rgds,
Sundar.