Subject: [Megaco] [Fwd: Please Clear This Doubt]]

From: Vijaya Kumar <[email-masked]>
Date: Mon, 13 Sep 2004 10:53:44 +0000

Subject: Please Clear This Doubt]
From: Vijaya Kumar <[email-masked]>
To: [email-masked]
Date: Mon, 13 Sep 2004 10:52:03 +0000

Subject: Please Clear This Doubt
From: Vijaya Kumar <[email-masked]>
To: [email-masked]
Date: Mon, 13 Sep 2004 10:23:59 +0000

Hi,

   I have doubt regarding TCP Connection establishement between MGC and MG.
See the following senario.

DOUBT 1 :

1. MGC is listening on TCP Port 8000
2. MG opens tcp socket where local port is 9000
3. MG Cold boot:
         a. MG Connects(TCP) to MGC
         b. MG Sends ServcChg command to MGC
         
In the above scenario is ServcChgAddr=9000  must? Without this parameter,
MGC can detect from which port it has received request.

DOUBT 2:

1. MGC is listening on TCP Port 8000
2. MG opens tcp socket where local port is 9000
3. MG Cold boot:
         a. MG Connects(TCP) to MGC
         b. MG Sends ServcChg command to MGC
4. Assume that after some transaction MG want to
     change its local port to 9001
      a. So it sends ServcChg Command with method RESTART and 
ServcChgAddr = 9001
      b. MG receives ServcChg Reply

In the above scenario

  1. when should MG open socket with port 9001? Before sending ServcChg 
command or
or after receiving reply.
  2. Who initiates connect MG or MGC? if MGC hast to initiates 
Connection,  Then
MGC connect to MG. In that case MG has to open socket with 9001(Before 
Sending ServcChg command)
and hast to listen on that port till MGC connects. 
If MG has to initiate connection then when it initiates connection? 
Before sending ServcChg command
or after receiving Reply.

I have so many doubts like above. Draft is not telling what to in this 
type of cases.
Anybody know answer to these doubts?

Bye

_______________________________________________
Megaco mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/megaco