Hello Feptias
I tried the Notify method. But always I get a wrong response or no response. INFO nethod yields the same.
Can you write a simple example for a NOTIFY message?
Thanks
Eli
Main Topics
Browse All TopicsHello
There is a VOIP application I write. I need to send once in a few seconds a SIP message just to check the the other side is available and functioning.
The message can be a dummy one just to let the other side to reply with "OK".
I cannot use the received RTP messages as an indicator.
Your comments please.
Thanks
Eli
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
It would look a bit like this (based loosely on the keep-alive packets sent by a Linksys IP phone):
NOTIFY sip:<target_uri> SIP/2.0
Via: SIP/2.0/UDP <senders_ip:port>;branch=...
From: "afikim" <sip:<your_number>@<your_sip_d
To: <sip:<target_uri_domain>>
Call-ID: <a_unique_id_string>
CSeq: <Seq_num> NOTIFY
Event: keep-alive
Content-Length: 0
Also try googling on a utility called "sip_ping" or possibly "sip_ping.pl". I think it comes from a book called "VoIP Hacks" published by O'Reilly. That solution uses OPTIONS.
The response you get back will depend on the device that you are pinging. Remember too that even a 481 response tells you that the remote device is listening and responding - you can't really expect much more than that. If the remote device has a problem, then it is unlikely it will be able to tell you.
Business Accounts
Answer for Membership
by: feptiasPosted on 2009-08-09 at 09:35:30ID: 25054735
This is normally done using the SIP NOTIFY or OPTIONS requests: iki/view/S IP+method+ options iki/view/S IP+method+ notify
TS/3261/ch apter7.htm l
http://www.voip-info.org/w
http://www.voip-info.org/w
You should receive a 2xx response back from the other device. If you need more details about SIP methods, requests and responses, try this link:
http://rfc-ref.org/RFC-TEX