Common features: Difference between revisions

From ss7api.null.ro
Jump to navigation Jump to search
Created page with "Messages are represented hierarchically in XML format. There may be more parameters than described in this specification. Unknown parameters should be ignored. Each message c..."
 
No edit summary
 
Line 12: Line 12:
  <m>
  <m>
   
   
<transport>
<transport>
<mtp>
<mtp>
<LocalPC>101</LocalPC>
<LocalPC>101</LocalPC>
<RemotePC>5000</RemotePC>
<RemotePC>5000</RemotePC>
<sls>2</sls>
<sls>2</sls>
</mtp>
</mtp>
<sccp>
<sccp>
<CalledPartyAddress>
<CalledPartyAddress>
<ssn>5</ssn>
<ssn>5</ssn>
<pointcode>101</pointcode>
  <pointcode>101</pointcode>
</CalledPartyAddress>
</CalledPartyAddress>
<CallingPartyAddress>
<CallingPartyAddress>
<ssn>0</ssn>
<ssn>0</ssn>
</CallingPartyAddress>
</CallingPartyAddress>
</sccp>
</sccp>
<tcap>
  <tcap>
<request-type>Begin"</request-type>
<request-type>Begin"</request-type>
<remoteTID>12 34 56 78</remoteTID>
<remoteTID>12 34 56 78</remoteTID>
</tcap>
</tcap>
</transport>
</transport>
<application>contextName-v2</application>
<application>contextName-v2</application>
<component remoteCID="1" type="Invoke" operationCode="20">
<component remoteCID="1" type="Invoke" operationCode="20">
application-specific
application-specific
...
...
application-specific
application-specific
</component>
</component>
...
...
<timestamp-send>1377071763411706</timestamp-send>
<timestamp-send>1377071763411706</timestamp-send>
 
  </m>
  </m>


In these examples the XML is nicely indented for readability. In practice any whitespace between XML elements may be omitted.
In these examples the XML is nicely indented for readability. In practice any whitespace between XML elements may be omitted.

Latest revision as of 12:27, 23 August 2013

Messages are represented hierarchically in XML format. There may be more parameters than described in this specification. Unknown parameters should be ignored.

Each message contains four major parts:

  • Transport
  • Application
  • Components (payload)
  • Latency determination

In XML these map like in this example:

<m>

	<transport>
		<mtp>
			<LocalPC>101</LocalPC>
			<RemotePC>5000</RemotePC>
			<sls>2</sls>
		</mtp>
		<sccp>
			<CalledPartyAddress>
				<ssn>5</ssn>
 				<pointcode>101</pointcode>
			</CalledPartyAddress>
			<CallingPartyAddress>
				<ssn>0</ssn>
			</CallingPartyAddress>
		</sccp>
 		<tcap>
			<request-type>Begin"</request-type>
			<remoteTID>12 34 56 78</remoteTID>
		</tcap>
	</transport>
	<application>contextName-v2</application>
	<component remoteCID="1" type="Invoke" operationCode="20">
		application-specific
		...
		application-specific
	</component>
	...
	<timestamp-send>1377071763411706</timestamp-send>

</m>

In these examples the XML is nicely indented for readability. In practice any whitespace between XML elements may be omitted.