How does SIP work?

How does SIP work?

NewsGroups | Search | Tools
 comp.dcom.voice-over-ip  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
How does SIP work? Vincent Delporte 09-26-2006
Posted by Vincent Delporte on September 26, 2006, 5:00 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi

I finally got to have a working set up using an Axon Windows PBX
software, Linksys 3102 gateway, a GrandStream IP phone and an X-Ten
softphone over the Net... but I don't know _why_ it works :-)

Here's how I think the whole thing works:

1. I set up the router to map UDP 5060 to the host where the PBX is
installed, and I launch the Axon server

2. Remote phones connect through the Net into the Axon server to
register their IP address and extension

3. When a call comes in from the PSTN network into the Linksys, the
3102 sends an SIP notification to the PBX. The PBX checks what
extensions it must ring, and sends out SIP notifactions to all
extensions involved. For this to work, all remote routers must also
forward SIP messages to the IP phones that registered (UDP 5060 by
defaullt, but each phone needs its own port to be reachable, eg. UDP
5060 for the first phone in the LAN, UDP 5061 for the second phone,
etc.)

4. Once a phone goes off-hook, a connection is set up between the
phone and the Linksys gateway. During the connection, each device
tells the other what UDP ports it will use for RTP, ie. data packets.

Provided this is correct so far, here's where things begin to blur:

- If I don't set up remote phones to use STUN, connections are made,
but I don't get sound in one direction: Is it because without STUN,
the misconfigured phone sends its private IP in the data part of an
SIP message, eg. 192.168.0.1, and since this is an unroutable address
the other device won't be able to route data packets?

- I didn't forward any ports for RTP, but calls still work: Is it
because I happen to have UPnP-capable routers, hence RTP ports are
automagically opened to make things happen?

Thanks much for any hint :-)

Similar ThreadsPosted
How does LNP work? July 19, 2005, 7:03 pm
"Skype me" did not work? March 8, 2005, 10:26 pm
How does "Power-Over-Ethernet" work? November 18, 2005, 2:04 pm
how does DTMF security work? March 12, 2006, 1:41 pm
will phones work during blackout March 23, 2006, 8:58 am
We are looking for SIP developers to work in CA State (USA) May 30, 2006, 11:26 pm
Need help getting CQPhone to work reliably. January 14, 2007, 5:27 am
Should Audigy work with Skype? April 25, 2007, 1:35 pm
Corded Phones Work; Cordless Do Not April 7, 2005, 5:37 am
VoIP that will work with StarBand 484 system September 28, 2005, 7:27 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map