CA2551586C - Device for and method of terminating a voip call - Google Patents

Device for and method of terminating a voip call Download PDF

Info

Publication number
CA2551586C
CA2551586C CA2551586A CA2551586A CA2551586C CA 2551586 C CA2551586 C CA 2551586C CA 2551586 A CA2551586 A CA 2551586A CA 2551586 A CA2551586 A CA 2551586A CA 2551586 C CA2551586 C CA 2551586C
Authority
CA
Canada
Prior art keywords
codec
value
phone
sip
specified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CA2551586A
Other languages
French (fr)
Other versions
CA2551586A1 (en
Inventor
Mads Emborg
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Avaya Canada Corp
Original Assignee
Avaya Canada Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Avaya Canada Corp filed Critical Avaya Canada Corp
Priority to CA2551586A priority Critical patent/CA2551586C/en
Publication of CA2551586A1 publication Critical patent/CA2551586A1/en
Application granted granted Critical
Publication of CA2551586C publication Critical patent/CA2551586C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/0016Arrangements providing connection between exchanges
    • H04Q3/0029Provisions for intelligent networking
    • H04Q3/0045Provisions for intelligent networking involving hybrid, i.e. a mixture of public and private, or multi-vendor systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/12Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal
    • H04M7/1205Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal where the types of switching equipement comprises PSTN/ISDN equipment and switching equipment of networks other than PSTN/ISDN, e.g. Internet Protocol networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13034A/D conversion, code compression/expansion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13389LAN, internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to the field of voice over Internet protocol (VoIP) and more specifically to a system and method of terminating a VoIP call. In certain exemplary embodiments, the present solution provides in a voice over Internet protocol (VoIP) network, a method of terminating a call received from a public switched telephone network (PSTN) phone by a session initiation protocol (SIP) phone via a PSTN gateway, in the absence of a terminating signal from the PSTN gateway, the method comprising: (a) receiving at said SIP phone a sequence of codec frames from said PSTN gateway; (b) de-termining if a specified portion of each codec frame in said received sequence of codec frames is a specified value; (c) if said specified portion is said specified value, incrementing a counter by an incrementing amount; and (d) when said counter reaches a specified threshold, terminating said call In the absence of a BYE message, session termination of a VoIP call can still be facilitated using the method and apparatus of the present invention.

Description

DEVICE FOR AND METHOD OF
TERMINATING A VOIP CALL
BACKGROUND OF THE INVENTION
Technical Field [0001] The invention relates to the field of voice over Internet protocol (VoIP) and more specifically to a system and method of terminating a VoIP call.
Description of the Related Prior Art [0002] The growth and popularity of the Internet has facilitated voice over Internet Protocol (VoIP), the technology used to transmit voice traffic over a data network using the Internet Protocol. Such a data network may be the Internet or a corporate Intranet.
Using the hardware/ software integral to VoIP, users are able to use the data network as the transmission medium for telephone calls. Voice traffic is sent in IP
packets rather than by traditional public switched telephone network (PSTN) circuits.
[0003] To connect an originating VoIP device with a destination VoIP device, an auxiliary IP-based protocol developed by the IETF known as Session Initiation Protocol (SIP) may be used. SIP is an application-layer control protocol that can establish, modify, and terminate multimedia sessions or calls with one or more participants.
These multimedia sessions include, for example Internet telephony, and similar applications.
Figure 1 is a signal flow diagram depicting a typical call using SIP. At step 1) User A
sends an INVITE to User B requesting session setup (i.e. for User B to participate in a media session). At step 2) User B responds with an informational message indicating that the SIP phone is ringing. At step 3) User B responds with an OK
indicating that the User A request was successful. At step 4) User A sends an ACK request to confirm final response to the INVITE request. Following step 4) the media session occurs (e.g. the telephone conversation between User A and User B). At step 5) User B requests session termination by sending a BYE request. At step 6) User A responds with OK
indicating the session has been successfully terminated.
[0004] In some cases, User B may be unable to request session termination because User B
is unable to generate a BYE message. If this situation occurs, an alternate means of terminating the session is required.
SUMMARY OF THE INVENTION
[0005] The present solution serves to overcome the deficiencies of the prior art by providing an apparatus for and method of terminating a VoIP call in the absence of a terminating signal.
[0006] Certain exemplary embodiments can provide in a voice over Internet protocol (VoIP) network, a method of terminating a call received from a public switched telephone network (PSTN) phone by a session initiation protocol (SIP) phone via a PSTN gateway, in the absence of a terminating signal from said PSTN gateway, said method comprising: (a) receiving at said SIP phone a sequence of codec frames from said PSTN gateway;
(b) determining a value of a specified portion of each codec frame in said received sequence of codec frames; (c) if said determined value is a specified value within a predetermined set of integer values, incrementing a counter by an incrementing amount; and (d) when said counter reaches a specified threshold, terminating said call.
[0007] Certain other exemplary embodiments comprise a non-transitory computer readable medium having stored thereon, computer-executable instructions which, when executed by a processor in a SIP phone cause the SIP phone to implement the method described above.
[0008] Certain exemplary embodiments can provide a session initiation protocol (SIP) phone for terminating a call received from a public switched telephone network (PSTN) phone by said SIP phone via a PSTN gateway, in the absence of a terminating signal from said PSTN gateway, the SIP phone comprising: (a) a processor; (b) a codec communicating with said processor for compressing and decompressing a sequence of codec frames received from said PSTN gateway according to a specified standard; (c) a frame analyzer and counter communicating with said codec; and (d) a memory communicating with said processor and having stored thereon, computer-executable instructions which, when executed by said processor cause said SIP phone to: (i) receive said sequence of codec frames into said frame analyzer; (ii) determine a value of a specified portion of each codec frame in said received sequence of codec frames; (iii) if said value equals a specified value within a predetermined set of integer values, incrementing said counter by an incrementing amount; and (iv) when said counter reaches a specified threshold, terminating said call.
[0009] Certain exemplary embodiments can provide in a voice over Internet protocol (VoIP) network, a method of terminating a voicemail message received from a public switched telephone network (PSTN) phone by a session initiation protocol (SIP) phone via a PSTN
gateway, said method comprising: (a) receiving at said SIP phone a sequence of codec frames from said PSTN gateway; (b) determining if a specified portion of each codec frame in said received sequence of codec frames is a specified value within a predetermined set of integer values; (c) if said specified portion is said specified value, incrementing a counter by an incrementing amount; and (d) when a BYE message is received from said PSTN
gateway: (i) terminating said call; and (ii) permanently deleting a time associated with said incrementing from said voicemail message.
[0010] Certain exemplary embodiments can provide in a voice over Internet protocol (VoIP) network, a method of terminating a call received from a public switched telephone network (PSTN) phone by a session initiation protocol (SIP) phone via a PSTN gateway, in the absence of a terminating signal from said PSTN gateway, said method comprising: (a) receiving at said SIP phone a sequence of codec frames from said PSTN gateway;
(b) determining if a specified portion of each codec frame in said received sequence of codec frames is a specified value within a predetermined set of integer values; (c) if said specified portion is said specified value, incrementing a counter by a predetermined incrementing - 3a -amount; (d) if said specified portion is not said specified value, decrementing said counter by a predetermined decrementing amount; and (e) when said counter reaches a specified threshold, terminating said call.
[0010a] Certain exemplary embodiments can provide in a voice over Internet protocol (VoIP) network, a method of terminating a call received from a public switched telephone network (PSTN) phone by a session initiation protocol (SIP) phone via a PSTN
gateway, in the absence of a terminating signal from said PSTN gateway, said method comprising:
receiving at said SIP phone from said PSTN gateway a packet having a header and containing a first codec frame; analyzing said first codec frame to determine a first value contained in a first portion of said first codec frame; comparing said first value to a predetermined set of integer values to determine whether said first value is a member of said predetermined set of integer values; if said first value is a member of said predetermined set of integer values, incrementing a counter by an incrementing amount; if said first value is not a member of said predetermined set of integer values, not incrementing the counter; and when said counter reaches a specified threshold, terminating said call.
[0011] The advantage of the present solution is now readily apparent. In the absence of a BYE message, session termination of a VoIP call can still be facilitated using the method and apparatus of the present solution.

BRIEF DESCRIPTION OF THE DRAWINGS
[00012] Embodiments of the solution will now be described by way of example with reference to the accompanying drawings in which:
Figure 1 a signal flow diagram depicting a typical call using SIP;
Figure 2 depicts a sample Voice over IP over Ethernet network;
Figure 3 is a block diagram of a typical VoIP phone;
Figure 4 is a table which details the elements of a G.729A codec frame;
Figure 5 depicts a sample voice over IP over Ethernet packet containing the G.729A
codec frame of Figure 4;
Figure 6 is a flow chart broadly depicting the steps of the present solution;
and Figure 7 is a flow chart depicting in greater detail the steps of the present solution.
DESCRIPTION OF THE PREFERRED EMBODIMENT
[00013] Figure 2 depicts a particular network topology which facilitates VoIP
and which incorporates an Enterprise (i.e. corporate) local area network (LAN) 200 connecting to a traditional public switched telephone network (PSTN) 210 via gateway 220. PSTN

accesses PSTN phone 240 via private branch exchange (PBX) 250. LAN 200 may be an Ethernet or packet based transmission protocol LAN. Ethernet is the common name for the Institute of Electrical and Electronics Engineers (IEEE) 802.3 industry specification and it is often characterized by its data transmission rate and type of transmission medium (e.g., 100 baseT or 100 Mbps over twisted pair). Distributed throughout LAN
200 are Internet telephones 230, which contain embedded software that allows them to initiate and receive calls through the Internet using standard protocols such as H.323 or SIP (discussed above). Internet telephones 230 in LAN 200 may utilize SIP-based peer-to-peer (P2P) technology whereby all Internet telephones 230 communicate directly with each other and join together dynamically to participate in call routing, call handling and other network-related processes that would otherwise be handled by a central server.
Using P2P technology means that there is no traditional SIP infrastructure i.e. a SIP
proxy or registration server normally associated with a SIP capable network are not required. In the network of Figure 2, PSTN gateway 220 provides SIP to Signaling System Seven (SS7) conversion for accessing PSTN phone 240.
[00014] In a SIP-based telephony network, users place calls via entities known as user agent clients (UACs), an application which initiates a SIP request. Users receive calls via user agent servers (UASs), an application which contacts the end-user when a SIP request is received. Also, a UAS returns a response on behalf of the user since the user may select to accept, reject, or redirect the request. Accordingly, a SIP "user agent" is identified by a particular combination of a UAC and its associated UAS. The basic protocol functionality and its operation are summarized as follows. Calling parties and called parties are identified by SIP addresses which point to "objects" on a network. The objects are "users at hosts," having appropriate SIP Universal Resource Locators (URLs) as addresses. The SIP URL typically takes a form similar to a mailto or telnet URL, i.e., user@host. The user part is generally provided as a user name or a telephone number.
The host part typically comprises a domain name having a Domain Name System (DNS) Server Name, CNAME, or a numeric network address, among others.
[00015] In the network of Figure 2, PSTN gateway 220 acts as a user agent for calls between a PSTN phone 240 and a selected Internet phone 230 contained in LAN
200.
Depending on the sophistication of PSTN gateway 220, it may not be able to provide the full functionality of Internet phone 230. More specifically, it may be unable to generate a BYE message to request termination of the media session. Where a PSTN caller has encountered an auto attendant or the like associated with Internet phone 230 and terminates the call, valuable network resources may be wasted before the auto attendant determines that the call has ended. This problem is heightened if a PSTN
caller is attempting to leave a voice message on Internet phone 230. If the session is not properly terminated, Internet phone 230 will continue to record a message with no content up to the default storage space allotted to a received voice message, thereby unnecessarily utilizing memory of Internet phone 230, in addition to wasting network resources.
=
[00016] Figure 3 is a block diagram of a typical SIP VoIP phone 300, a specific example of the Internet phone 230 shown in Figure 2. Figure 3 does not illustrate all functional elements of SIP phone 300 for simplicity. SIP phone 300 consists of a microphone 310 and speaker 315 through which a user speaks and listens to a caller respectively.
Communicating with microphone 310 and speaker 315 is microprocessor or digital signal processor (DSP) 320 which includes various software modules which will be discussed below. Connected to DSP 320 is storage media 325 for storing, among other things, voice messages received from a caller and/or processor executable instructions for performing the method of the present invention. Also connected to DSP 320 is LAN port 330 for providing access to LAN 200 described in relation to Figure 2. Finally, SIP
phone 300 also includes display 335 which serves as a user interface, and battery/power adapter 340 for powering the aforementioned parts of SIP phone 300.
[00017] DSP 320 includes a number of modules which define the protocols used to communicate in the VolP network of Figure 2. These include but are not limited to: (a) Internet Protocol (IP) module 345; (b) User Datagram Protocol (UDP) module 350; (c) Real-time Transport Protocol (RTP) module 355, and SIP module 360. DSP 320 further includes voice activity detection (VAD) module 365 which, when enabled on a voice port or a dial peer, causes SIP phone 300 to not transmit silence over the network, only audible speech.
Additionally, DSP
320 comprises a codec 370, frame analyzer 375 and counter 380 the operation of which will be described in relation to Figures 4 and 7. As will be appreciated by those in the art, such functions as jitter control, echo cancellation (in accordance with e.g. ITU standard G.165/168) and logical link control (in accordance with e.g. LAN standard IEEE 802.2) are also performed by DSP 320 and are meant to be included in the functionality of SIP phone 300.
[00018] As will be appreciated by those in the art, in the telecommunications environment, a codec, such as codec 370, is a piece of hardware/software that converts an analog voice signal to a digitally encoded version. More specifically, in VoIP
networks, the codec samples the audio waveform at regular intervals and generates a value for each sample. These samples are typically taken at 8000Hz. These individual values are accumulated for a fixed period to create a frame of data. Each service, program, phone, gateway, etc. typically supports several different codecs, and when talking to each other, negotiate which codec they will use. SIP phone 300 of the present solution supports the International Telecommunications Standard (ITU) G.729A standard, although the present solution is not meant to be limited in this regard. G.729A is a reduced complexity 8 kbit/s conjugate-structure algebraic-code-excited linear prediction (CS-ACELP) codec.
With the G.729A standard the sampling occurs over 10 milliseconds (ms) and produces a very small frame of data (i.e. 10 bytes). Figure 4 is a table which details the 80 bit G.729A
codec frame and its component parts. Integral to the present invention are sub-frames GA! and which will be discussed in relation to Figure 7.
[00019] As those in the art will also appreciate, the payload (or data frame) generated by the codec is wrapped in an IP header to form an IP packet which is the vehicle used to deliver the payload to its destination. These layers are: IP; UDP; and RTP. In the case of G.729A, to increase the efficiency of the VoIP network, two frames of data are placed in each IP
packet (or 20ms worth of sampling). In order to travel through the IP network, the IP packet is wrapped in another layer by the physical transmission medium e.g. Ethernet. Figure 5 depicts a sample voice over IP
over Ethernet package 500 comprising an Ethernet preamble 510, Ethernet header 520, IP header 530, payload 540 containing the two G.729A codec frames, Ethernet cyclical redundancy check (CRC) 550 and Ethernet Inter-Frame gap 560.
[00020] Figure 6 is a flow chart broadly depicting the steps for terminating a call in accordance with the present invention. At step 600, payload 540 contained in Ethernet package 500 is received by SIP phone 300. At step 610, the payload is analyzed to determine the presence or absence of a specified value. Based on the analysis, a counter is adjusted at step 620. The counter value is then reviewed at step 630 to determine if it has reached a specified threshold. If it has reached the specified threshold then the call is terminated at step 640. It should be understood that the payloads are analyzed in sequence as they are received from PSTN gateway 220 and that the each received payload continues to be analyzed until the specified threshold is met.
[00021] Figure 7 is a flow chart depicting in greater detail the steps of the present invention. The VAD described in relation to Figure 3 is turned off so that every received IP packet is a straight G.729A codec frame i.e. the present invention looks for silent codec frames to determine if call termination is appropriate. At step 700, a G.729A codec frame is received at SIP phone 300. More specifically, each of the two G.729A
codec frames are extracted from each sequentially received Ethernet package 500 and individually analyzed. At step 710 the GA! and GA2 sub-frames of a received G.729A
codec frame (see Figure 4) are analyzed by frame analyzer 375 to determine if they contain a value of 1 or 5. These values are indicative of silence (i.e. no audio received from PSTN gateway 220). If GA! is 1 or 5 and GA2 is 1 or 5 then, at step 720, counter 380 is incremented by an amount (L) where L=10. If GA1 is not 1 or 5 or GA2 is not 1 or 5 then, at step 730, counter 380 is decremented by an amount 3L or 30. It should be understood that counter 380 will not be decremented below zero. Counter 380 will simply remain at zero until a "silent" frame is received. Next at step 740, the value of counter 380 is reviewed. If the value is less than 5000 then the next G.729A codec frame is received at step 700 and the method outlined above is repeated. If the value is greater than or equal to 5000 then, at step 750, the call is terminated. In the event that the call is a voice message then optionally, at step 760, the portion of the voice message represented by the value of counter 380 is deleted. More specifically, the counter value can be interpreted as a count of silent frames that can be discarded. Since each G.729A codec frame is 10 milliseconds in length, a counter value of 5000 would be equivalent to:
5000 10 = 500 frames 500 frames x 10 milliseconds/frame = 5000 milliseconds or 5 seconds [00022] The present invention has been described in relation to a SIP call where a termination signal is not generated by PSTN gateway 220. It should be understood that the invention may also be used between SIP phones 300 or PSTN phone 240 and SIP
phone 300 where a BYE signal is present but delayed. For example, if a caller has left a voice message, there may be several seconds between the time that the caller ends the call (e.g. places the handset "on hook") and the BYE message is generated. The present invention can alternately be used to trim the delay from the voice message for the purpose of preserving memory in SIP phone 300. In this case, whatever time is associated with the counter value is deleted from the voice message e.g. a counter value of 3000 would be equivalent to 3 seconds.
[00023] Although particular embodiments of the present invention have been described in detail, it should be appreciated that numerous variations, modifications and adaptations may be made without departing from the scope of the invention as defined in the appended claim set. For example, although the preferred embodiment has been described in relation to codec G.729A, it will be understood that invention could be practiced using other codecs such as G.711. In addition, although the preferred embodiment has been described in relation to a plurality of SIP phones using P2P technology, a network in which the SIP phones communicate via a proxy server could also be used to implement the present invention.

Claims (26)

1. In a voice over Internet protocol (VoIP) network, a method of terminating a call received from a public switched telephone network (PSTN) phone by a session initiation protocol (SIP) phone via a PSTN gateway, in the absence of a terminating signal from said PSTN gateway, said method comprising:
(a) receiving at said SIP phone a sequence of codec frames from said PSTN
gateway;
(b) determining a value of a specified portion of each codec frame in said received sequence of codec frames;
(c) if said determined value is a specified value within a predetermined set of integer values, incrementing a counter by an incrementing amount; and (d) when said counter reaches a specified threshold, terminating said call.
2. The method of claim 1, wherein determining a value of a specified portion of each codec frame comprises analyzing a first portion of a first subframe of each codec frame to determine whether the first portion contains the specified value and analyzing a second portion of the first subframe of each codec frame to determine whether the second portion contains the specified value.
3. The method of claim 1 further comprising after said step (c):
if said determined value is not said specified value, decrementing said counter by a decrementing amount.
4. The method of claim 3, wherein if said call is a voicemail message, said method further comprising after said step (d):
trimming said voicemail message.
5. The method of claim 4, wherein said incrementing amount is +10.
6. The method of claim 4, wherein said decrementing amount is -30.
7. The method of claim 4, wherein said specified threshold is 5000.
8. The method of claim 4, wherein each codec frame in said received sequence of codec frames is a G.729A codec frame.
9. The method of claim 8, wherein said specified portion of each G.729A
codec frame comprises sub-frames GA1 and GA2.
10. The method of claim 9, wherein said specified value of said specified portion is 1 or 5.
11. The method of claim 10, wherein said step of trimming said voicemail message comprises deleting a time associated with said incrementing from said voicemail message.
12. A non-transitory computer readable medium having stored thereon, computer-executable instructions which, when executed by a processor in a session initiation protocol (SIP) phone cause said SIP phone to implement the method of claim 1.
13. A session initiation protocol (SIP) phone for terminating a call received from a public switched telephone network (PSTN) phone by said SIP phone via a PSTN
gateway, in the absence of a terminating signal from said PSTN gateway, the SIP phone comprising:
(a) a processor;
(b) a codec communicating with said processor for compressing and decompressing a sequence of codec frames received from said PSTN gateway according to a specified standard;
(c) a frame analyzer and counter communicating with said codec; and (d) a memory communicating with said processor and having stored thereon, computer-executable instructions which, when executed by said processor cause said SIP
phone to:
(i) receive said sequence of codec frames into said frame analyzer;
(ii) determine a value of a specified portion of each codec frame in said received sequence of codec frames;
(iii) if said value equals a specified value within a predetermined set of integer values, incrementing said counter by an incrementing amount; and (iv) when said counter reaches a specified threshold, terminating said call.
14. The SIP phone of claim 13, wherein said SIP phone is one of a plurality of SIP phones within a local area network (LAN), and wherein said LAN
communicates with said PSTN gateway.
15. The SIP phone of claim 14, wherein said LAN is an Ethernet LAN and wherein said plurality of SIP phones utilize SIP-based peer-to-peer (P2P) technology.
16. The SIP phone of claim 13, wherein said specified standard is G.729A.
17. The SIP phone of claim 13, wherein each codec frame in said received sequence of codec frames is a G.729A codec frame, and wherein said specified portion of each G.729A codec frame comprises sub-frames GA1 and GA2.
18. The SIP phone of claim 13, wherein said processor is taken from the group comprising a microprocessor and a digital signal processor.
19. In a voice over Internet protocol (VoIP) network, a method of terminating a voicemail message received from a public switched telephone network (PSTN) phone by a session initiation protocol (SIP) phone via a PSTN gateway, said method comprising:

(a) receiving at said SIP phone a sequence of codec frames from said PSTN
gateway;
(b) determining if a specified portion of each codec frame in said received sequence of codec frames is a specified value within a predetermined set of integer values;
(c) if said specified portion is said specified value, incrementing a counter by an incrementing amount; and (d) when a BYE message is received from said PSTN gateway:
(i) terminating said call; and (ii) permanently deleting a time associated with said incrementing from said voicemail message.
20. The method of claim 19 further comprising after said step (c):
if said specified portion is not said specified value, decrementing a counter by a second amount.
21. The method of claim 20, wherein each codec frame in said received sequence of codec frames is a G.729A codec frame, and wherein said specified portion of each G.729A codec frame comprises sub-frames GA1 and GA2.
22. In a voice over Internet protocol (VoIP) network, a method of terminating a call received from a public switched telephone network (PSTN) phone by a session initiation protocol (SIP) phone via a PSTN gateway, in the absence of a terminating signal from said PSTN gateway, said method comprising:
(a) receiving at said SIP phone a sequence of codec frames from said PSTN
gateway;
(b) determining if a specified portion of each codec frame in said received sequence of codec frames is a specified value within a predetermined set of integer values;
(c) if said specified portion is said specified value, incrementing a counter by a predetermined incrementing amount;

(d) if said specified portion is not said specified value, decrementing said counter by a predetermined decrementing amount; and (e) when said counter reaches a specified threshold, terminating said call.
23. The method of claim 22, wherein if said call is a voicemail message, said method further comprising deleting an end portion of said message.
24. In a voice over Internet protocol (VoIP) network, a method of terminating a call received from a public switched telephone network (PSTN) phone by a session initiation protocol (SIP) phone via a PSTN gateway, in the absence of a terminating signal from said PSTN gateway, said method comprising:
receiving at said SIP phone from said PSTN gateway a packet having a header and containing a first codec frame;
analyzing said first codec frame to determine a first value contained in a first portion of said first codec frame;
comparing said first value to a predetermined set of integer values to determine whether said first value is a member of said predetermined set of integer values;
if said first value is a member of said predetermined set of integer values, incrementing a counter by an incrementing amount;
if said first value is not a member of said predetermined set of integer values, not incrementing the counter; and when said counter reaches a specified threshold, terminating said call.
25. The method of claim 24 further including analyzing said first codec frame to determine a second value contained in a second portion of said first codec frame;
comparing said second value to the predetermined set of integer values to determine whether said second value is a member of said predetermined set of integer values; and if said second value is not a member of said predetermined set of integer values, decrementing said counter.
26. The method of claim 25, wherein said packet includes a second codec frame and further including analyzing said second codec frame to determine a third value contained in a first portion of said second codec frame and comparing said third value to the predetermined set of integer values to determine whether said third value is a member of said predetermined set of integer values.
CA2551586A 2006-07-07 2006-07-07 Device for and method of terminating a voip call Expired - Fee Related CA2551586C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CA2551586A CA2551586C (en) 2006-07-07 2006-07-07 Device for and method of terminating a voip call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CA2551586A CA2551586C (en) 2006-07-07 2006-07-07 Device for and method of terminating a voip call

Publications (2)

Publication Number Publication Date
CA2551586A1 CA2551586A1 (en) 2008-01-07
CA2551586C true CA2551586C (en) 2013-08-27

Family

ID=38920786

Family Applications (1)

Application Number Title Priority Date Filing Date
CA2551586A Expired - Fee Related CA2551586C (en) 2006-07-07 2006-07-07 Device for and method of terminating a voip call

Country Status (1)

Country Link
CA (1) CA2551586C (en)

Also Published As

Publication number Publication date
CA2551586A1 (en) 2008-01-07

Similar Documents

Publication Publication Date Title
US8218529B2 (en) Device for and method of terminating a VoIP call
US7570743B2 (en) Method and apparatus for surveillance of voice over internet protocol communications
US20050091407A1 (en) Multi-network exchange system for telephony applications
EP1667397B1 (en) Handling real-time transport protocol (RTP) media packets in voice over internet protocol (VoIP) terminal
EP1710973A1 (en) Specific stream redirection of a multimedia telecommunication
US7443834B1 (en) Combining multimedia services with traditional telephony
RU2332804C2 (en) Processing initial multimedia data ii
RU2374777C2 (en) Processing of initial multimedia data i
US8031708B2 (en) Methods and apparatus for dual-tone multi-frequency signal analysis within a media over internet protocol network
KR100514196B1 (en) System and method for Controlling network address translation and session
Zeadally et al. Design and Implementation of a SIP-based VoIP Architecture
CA2551586C (en) Device for and method of terminating a voip call
WO2010078784A1 (en) Method and apparatus for network-phone gateway implementing call processing
CN101594623B (en) Method and equipment for monitoring call made via voice over Internet protocol
Vlaovic et al. Packet based telephony
Arafat et al. SIP-based QoS in IP telephony
KR101467388B1 (en) System and Method transmitting call setup message
US20090103519A1 (en) Method and Computer Product for Switching Subsequent Messages With Higher Priority Than Invite Messages in a Softswitch
Hasanzadeh et al. Plaintext transmission over session initiation protocol
Talwar Transition of VoIP system from IPv4 to IPv6
US8170006B2 (en) Digital telecommunications system, program product for, and method of managing such a system
KR101460007B1 (en) System and Method making call setup using plural standard SIP message
Ogunjimi Practical analysis of voice quality problems of Voice over Internet Protocol (VoIP).
Yang Voice over IP (VoIP)
Eriksson et al. SIP telephony gateway on DTM

Legal Events

Date Code Title Description
EEER Examination request
MKLA Lapsed

Effective date: 20150707