Subject: [Megaco] How to retrieve the context name of an existing termination

From: "El Moussawi, Ali" <[email-masked]>
Date: Thu, 2 Oct 2003 17:28:43 +0200

Hello,
Suppose that a MGC receives a IAM message, and the IAM message contains
a CIC = 3.
This means that this CIC has been already reserved at the MG level,
right ?
If the MGC and MG speeks MEGACO, this means that there is already a
context having a termination named Trunk1/line3 (is the name right ?) in
the MG. And the termination is in ReceiveOnly mode.
How can we retrieve the name of the context ?
If the MGC sends :
MEGACO/1 [1.0.0.0]:1
	Transaction = 1{
		Context = $ {
			Modify = Trunk1/line3 {
				Media {
							LocalControl
{Mode=SendReceive}
				}
				          }
				}
				}

Will it receive the context name in the reply ?
MEGACO/1 [2.0.0.0]:2
	Transaction = 1{
		Context = 1 {
					Modify = Trunk1/line3 
				}
				}

Thanks

Ali