Voice-Over-IP How does SIP work?

Bookmark this page:  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-06
Posted by Vincent Delporte on September 26, 2006, 5:00 pm
Please log in for more 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, 10:03 pm
How does SIP work? September 26, 2006, 5:00 pm
How does vonage work? August 7, 2004, 1:59 pm
"Skype me" did not work? March 9, 2005, 1:26 am
How I made SPA-2000 behind NAT work. October 24, 2004, 6:08 pm
How does "Power-Over-Ethernet" work? November 18, 2005, 11:04 am
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
Will "Skype Phone" work in Israel? October 6, 2004, 5:07 am
Corded Phones Work; Cordless Do Not April 7, 2005, 8:37 am
VoIP that will work with StarBand 484 system September 28, 2005, 7:27 pm
UTSTARCOMM F1000: Does it work with Skype? February 22, 2006, 5:44 pm