Вы находитесь на странице: 1из 6

COMP 41580 - ASSIGNMENT 3

Question a: The caller hast the extension: 102

Question c: The caller uses port 59599 as source port or SIP

Question d: The server uses port 5060 for SIP

Question b: The destination has the extension 101


Question e:

The caller uses port 15784 for RTP.

Question f:

The server uses port 7078 for RTP.

Question g:

The used Codec in is G.711 PCMA


Question h:

The maximum jitter is 49.08 ms

Question 2:

a)

“::1” as IPv6 and “127.0.0.1” as IPv4, both loopbacks for localhost.

b)

631,54948,37092

c) It seems to be a printing service, because of the port is commonly known for these kinds of
services.

Whatever it is, it seems to unsuccessfully try to connect once on IPv4 and once on IPv6.

Furthermore:

During the call, the user pressed the #-Button for 2,24 seconds. This was probably used to jump over
the Asterisk-message. (In transmittions, it was send 14 times)
First Speaker:

The person at extension 101 is unavailable. Please leave your message after the tone. When done,
hang up, or press the pound key. -BEEP-

Second Speaker:

Hi eh-,

You’re gonna need a password for that file I sent you. The password is “pbX365phone?”. Okay? Call
you later.

First Speaker:

Thank you. -BEEP BEEP BEEP BEEP BEEP-

Question 4:

The full name of the account holder:

SELECT fullname from Accounts;

The human-readable time the avatar was created: (I took the wrong avatars because of the misleading
name “avatar_timestamp”)

SELECT datetime(avatar_timestamp,’unixepoch’) from Contacts;

The human-readable time the profile was created (and again the wrong table, because of misleading
name “profile_timestamp”)

SELECT datetime(profile_timestamp,’unixepoch’) from Contacts;

The human-readable time the account was registered

SELECT datetime(registration_timestamp,’unixepoch’) from Accounts;


Figure 1: My first solution. It is wrong, please do not mark.

The corrected solution:

SELECT fullname,datetime(avatar_timestamp,’unixepoch’), datetime(profile_timestamp,’unixepoch’),


datetime(registration_timestamp,’unixepoch’) FROM Accounts;
Question 5:

The SQL-statement is:

Select from_dispname, datetime(timestamp,’unixepoch’),body_xml from Messages WHERE reason is


NULL and convo_id==39;

# Comment from creator here: the WHERE reason is NULL check was a hack I found only to skip the
XML-status messages. The << ss and so on XML is still in the messages and it provides useful
information about used icons and so on.

Sorry for the lousy commenting in this assignment. Due to the close exams I had to focus on the most
important stuff.

Вам также может понравиться