473,320 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to Check UDP Port 5060 is Bussy

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 4302
Plater
7,872 Expert 4TB
UDP is connectionless, how do you decide when it is busy? The few miliseconds that it is transmistting/receiving?
Apr 28 '10 #2
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 Expert 4TB
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
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
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
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...
18
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...
4
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...
1
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,...
1
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
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
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...
4
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...
1
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.