473,835 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Check UDP Port 5060 is Bussy

4 New Member
I have a code that checks if UDP port 5060 is open or not. But now i want to Check if the same port is Bussy or not.. i want to make a billing system using Asterisk SIP server and SJ Phone on Lan Network. for this purpose when i open my SJ phone and run the code which can check port is open or not? it shows me that port 5060 and 5061 is open, altough i did't make a call yet.

i want to know that when i make a call and called person attend my calls then my code shows that UDP port 5060/5061 is Bussy.... so that i can check the Bussy time of port which is equal to the talk time and then i can use this time in my billing system...

Regards:
Faran Akhtar Bukhari
Apr 28 '10 #1
4 4322
Plater
7,872 Recognized Expert Expert
UDP is connectionless, how do you decide when it is busy? The few miliseconds that it is transmistting/receiving?
Apr 28 '10 #2
bukharifaran
4 New Member
How can i check that Voice Traffic is there on my Network?

actually i want to detect the "time" when Voice Call is in progress on my LAN based Network, i m using SJ Phone for making Call and asterisk server. what should i do?
I think RTP link is established when call is made

and after calculating time i have to make a billing system, but for this i have to detect voice traffic on my Network
Apr 28 '10 #3
Plater
7,872 Recognized Expert Expert
I'm not sure you can, unless all traffic has to go through you.
I'm sure there is an asterik addon already created for doing this though
Apr 28 '10 #4
bukharifaran
4 New Member
i tried asterisk addons but its for linux, i m using Win XP SP 3.
i m still unable to detect voice activity on my network..... if anyone knows any technique plz help me that how can i detect voice packets traffic on my LAN network, or how can i know that call is made via SJ Phone..
Apr 29 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3289
by: Jay | last post by:
Hi ! I am a beginner in PHP. Does anybody know how to check if an URL is alive or dead in PHP (not exist or server down...or whatever ) ? Any help would be appreciated ! Thanks ! Jay
3
6986
by: deko | last post by:
I use #currentlink in a nav list of links to indicate which page is currently being viewed. The code in the nav list looks like this: <p><a href="index.php">Home Page</a></p> <p><a href="contact.php">Contact</a></p> <p><a href="tech.php#tech01">tech01</a></p> <p><a href="tech.php#tech02">tech02</a></p> <p><a href="tech.php#tech03">tech03</a></p>
18
9879
by: Brad Tilley | last post by:
Instead of me arbitrarily assigning a high port number to a variable, is it possible to check for ports that are unused and then randomly assign one of them to a variable? Something like this is what I'm thinking: port = socket.getunusedport() Any ideas?
4
6010
by: Nick Sinclair | last post by:
Hi all, I'm new to C. I have successfully written a small C program that acts as a "wrapper" around cgi scripts. These scripts perform admin tasks such as backing up etc. Obviously, The need for the "wrapper" was to get the scripts to run with "root" privileges. So far so good. I simply create a "URL shortcut" that some staff can double-click on to initiate the process. However, because I am creating these automated tasks for...
1
30024
by: gallaczmit | last post by:
Will this code give me a true view of a computer's status? All I am looking for is to see if the computer is reachable or not. My end goal is to get a list of IP addresses from a MS SQL Server, see if the IP is reachable(if yes I will assume the pc is operational), update the database with the result and generate a web page displaying the results. I am using port 135 because I have an all windows network and this port should be open...
1
1595
by: Scott Lezberg \(Deltek\) | last post by:
Is it possible to check for a port (such as port 8000) in use using VB .NET? If so, is there any sample code around. Thanks in advance. Scott
1
6329
by: Marty Cruise | last post by:
I understand how easy it is to use the my.computer.network.ping command, but is it as easy to check for a response on a given port? How can I check for a response for port x at 123.456.789?
2
8102
by: NoOne | last post by:
Hi everybody! I'm want to check if a certain port is opened or closed. now I'm using try-catch to connect to the port. if it fails, it meas that the port is closed. The problem is that this method is extremely inefficient! anyone has a better idea on how to do this kind of verification? Thanks!
4
11293
by: Sir C4 | last post by:
Can someone give a quick example of how to check for activity on a TCP port? For example, I'd like to watch and listen for activity on port 80. Once activity is detected, I'd like an event to be triggered. Thanks in advanced.
1
6859
by: polycom | last post by:
Hi, I am coding a mysql health check script. The logic is to execute the commands (only once)show status,show slave status,show variables and fetch the variable name and value in a hash refer or any other fetch machanism and dynamically use the values to do calculation like the following threhold values($uptime > 10800) && (Handler_read_rnd_next > 4000) && ((100-(((Handler_read_rnd_next + Handler_read_rnd) / (##Handler_read_rnd_next +...
0
9808
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10812
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10523
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10561
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10235
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7766
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5804
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3995
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.