XGSP Instance

  1. Session

<SessionDes>

<SessionName> PervasiveTechSeminar/SessionName>

<SessionID>1234567 </SessionID>

<SessionCreator> :2004 </SessionCreator>

<SessionInfo> this is a meeting on the XGSP </SessionInfo>

<SessionPlace> LobbyRoom </SessionPlace>

<SessionTime>

<StartTime> (EastTime) 10:00AM </StartTime>

<EndTime> (EastTime) 12:00AM </EndTime>

</SessionTime>

<SessionURI> </SessionURI>

<SessionParticipants>

<Participant> </Participant>

<Participant> </Participant>

<Participant> </Participant>

<Participant> </Participant>

</SessionParticipants>

<ContactInfo> </ContactInfo>

</SessionDes>

  1. Registration Protocol

2.1 Registration Request

<?xml version="1.0" encoding="UTF-8"?>

<RegistrationRequest>

<RecordAddress> :5000</RecordAddress>

<RegisterName> </RegisterName>

<ClientAddress> :5000 </ClientAddress>

<RequestNum> 1 </RequestNum>

<ValidPeriod> P2H </ValidPeriod>

</RegistrationRequest>

2.2 Unregistration Request

<?xml version="1.0" encoding="UTF-8"?>

UnRegistrationRequest>

<RecordAddress> :5000 </RecordAddress>

<RegisterName> </RegisterName>

<ClientAddress> :5000 </ClientAddress>

<RequestNum> 1 </RequestNum>

</UnRegistrationRequest>

2.3 Registration Response

<?xml version="1.0" encoding="UTF-8"?>

RegistrationResponse>

<ResponseType> Registration </ResponseType>

<ResponseResult> OK </ResponseResult>

</RegistrationResponse>

  1. Session Command Protocol

3.1 Create Session

<?xml version="1.0" encoding="UTF-8"?>

<! entity session_des SYSTEM “sessiondes.txt”

CreateSession

<Creator> </Creator>

&session_des

<SessionMedia>

<MediaDes>

MediaTypeAudio</MediaType

<MediaTransport>

<TransportProtocol> RTP </TransportProtocol>

<TSAP> 1000 </TSAP>

</MediaTransport>

<MediaParam>

<MediaCodec> G.711 </MediaCodec>

</MediaParam>

</MediaDes>

<MediaDes>

MediaTypeVideo</MediaType

<MediaTransport>

<TransportProtocol> RTP </TransportProtocol>

<TSAP> 2000 </TSAP>

</MediaTransport>

<MediaParam>

<MediaCodec> H.261 </MediaCodec>

</MediaParam>

</MediaDes>

</SessionMedia>

/CreateSession

3.2Invite Into Session

<?xml version="1.0" encoding="UTF-8"?>

<!entity session_des SYSTEM “sessiondes.txt”

InviteIntoSession

<InvitingClient> </InvitingClient>

<InvitedClient> </InvitedClient>

<SessionID> 1234567 </SessionID>

/InviteIntoSession

3.3 Join Session

<?xml version="1.0" encoding="UTF-8"?>

JoinSession

</JoinClient

SessionID/>1234567 </SessionID>

ClientMedia

<MediaDes>

MediaTypeAudio</MediaType

<MediaTransport>

<TransportProtocol> RTP </TransportProtocol>

<TSAP> 1000 </TSAP>

</MediaTransport>

<MediaParam>

<MediaCodec> G.711 </MediaCodec>

</MediaParam>

</MediaDes>

<MediaDes>

MediaTypeVideo</MediaType

<MediaTransport>

<TransportProtocol> RTP </TransportProtocol>

<TSAP> 2000 </TSAP>

</MediaTransport>

<MediaParam>

<MediaCodec> H.261 </MediaCodec>

</MediaParam>

</MediaDes>

ClientMedia/>

</JoinSession

3.4Leave Session

<?xml version="1.0" encoding="UTF-8"?>

<!entity session_des SYSTEM “sessiondes.txt”

LeaveSession

<LeavingClient> </LeavingClient>

<SessionID> 1234567 </SessionID>

<LeaveReason> I am tired </LeaveReason>

/LeaveSession

3.5Modify Session

<?xml version="1.0" encoding="UTF-8"?>

<!entity session_des SYSTEM “sessiondes.txt”

ModifySession

:2004 </ModifyingClient

&New_session_des

<NewSessionMedia>

<MediaDes>

MediaTypeAudio</MediaType

<MediaTransport>

<TransportProtocol> RTP </TransportProtocol>

<TSAP> 1000 </TSAP>

</MediaTransport>

<MediaParam>

<MediaCodec> G.711 </MediaCodec>

</MediaParam>

</MediaDes>

<MediaDes>

MediaTypeVideo</MediaType

<MediaTransport>

<TransportProtocol> RTP </TransportProtocol>

<TSAP> 2000 </TSAP>

</MediaTransport>

<MediaParam>

<MediaCodec> H.261 </MediaCodec>

</MediaParam>

</MediaDes>

</NewSessionMedia>

/ModifySession

3.6Terminate Session

<?xml version="1.0" encoding="UTF-8"?>

<!entity session_des SYSTEM “sessiondes.txt”

TerminateSession

<Terminator> </Terminator>

<SessionID> 1234567 </SessionID>

<Reason> The meeting is over </Reason>

/TerminateSession

4 Querying Protocol

4.1 Query Request

<?xml version="1.0" encoding="UTF-8"?>

QueryRequest>

<QueryingClient> :1000 </QueryingClient>

<RequestNum> 1 </RequestNum>

<QueryType> <SessionIInfo1234567 </SessionInfo/QueryType>

</QueryRequest>

4.2 Query Reply

<?xml version="1.0" encoding="UTF-8"?>

<QueryReply>

<QueryNum> 1 </QueryNum>

<QueryContent>

<SessionDes> … </SessionDes>

<MediaDes> … </MediaDes>

<QueryContent>

</QueryReply>