I need some help setting up my incoming route ...
When you set up the trunk, it registers to the upstream carrier (in your case VoipVoip).
This registration tells the upstream carrier where to find you in the case of a call or other SIP request by IP address.
So when someone calls you, this is what happens.
PSTN number 610-555-1234 --> VoipVoip's upstream carrier --> VoipVoip --> VoipVoip's registration server --> Your Asterisk server --> Whatever inbound route you specify.
Hope this helps. If I got anything wrong in here, please correct me somebody.
Thanks ... I tailed my asterisk log (/var/log/asterisk/full) while I attempted to call my new DID. I see incoming traffic, so the DID routing is working. However, I must have something wrong in my PIAF config. I tried to set the Destination of my incoming route to one of my extensions ... I also tried sending it to a conference I setup through Meetme. However, both fail. I'm pasting my logs in case anyone can help ...
[2009-05-02 20:58:46] VERBOSE[7158] logger.c: -- Executing [5557029890@from-sip-external:1] NoOp("SIP/5557029890-09835ba0", "Received incoming SIP connection from unknown peer to 5557029890") in new stack
[2009-05-02 20:58:46] VERBOSE[7158] logger.c: -- Executing [5557029890@from-sip-external:2] Set("SIP/5557029890-09835ba0", "DID=5557029890") in new stack
[2009-05-02 20:58:46] VERBOSE[7158] logger.c: -- Executing [5557029890@from-sip-external:3] Goto("SIP/5557029890-09835ba0", "s|1") in new stack
[2009-05-02 20:58:46] VERBOSE[7158] logger.c: -- Goto (from-sip-external,s,1)
[2009-05-02 20:58:46] VERBOSE[7158] logger.c: -- Executing [s@from-sip-external:1] GotoIf("SIP/5557029890-09835ba0", "0?from-trunk|5557029890|1") in new stack
[2009-05-02 20:58:46] VERBOSE[7158] logger.c: -- Executing [s@from-sip-external:2] Set("SIP/5557029890-09835ba0", "TIMEOUT(absolute)=15") in new stack
[2009-05-02 20:58:46] VERBOSE[7158] logger.c: -- Channel will hangup at 2009-05-03 01:59:01 UTC.
[2009-05-02 20:58:46] VERBOSE[7158] logger.c: -- Executing [s@from-sip-external:3] Answer("SIP/5557029890-09835ba0", "") in new stack
[2009-05-02 20:58:46] VERBOSE[7158] logger.c: -- Executing [s@from-sip-external:4] Wait("SIP/5557029890-09835ba0", "2") in new stack
[2009-05-02 20:58:48] VERBOSE[7158] logger.c: -- Executing [s@from-sip-external:5] Playback("SIP/5557029890-09835ba0", "ss-noservice") in new stack
[2009-05-02 20:58:48] WARNING[7158] channel.c: Unable to find a codec translation path from g729 to gsm
[2009-05-02 20:58:48] WARNING[7158] file.c: Unable to open ss-noservice (format 0x100 (g729)): No such file or directory
[2009-05-02 20:58:48] WARNING[7158] app_playback.c: ast_streamfile failed on SIP/5557029890-09835ba0 for ss-noservice
[2009-05-02 20:58:48] VERBOSE[7158] logger.c: -- Executing [s@from-sip-external:6] PlayTones("SIP/5557029890-09835ba0", "congestion") in new stack
[2009-05-02 20:58:48] WARNING[7158] channel.c: Unable to find a codec translation path from g729 to slin
[2009-05-02 20:58:48] WARNING[7158] indications.c: Unable to set 'SIP/5557029890-09835ba0' to signed linear format (write)
[2009-05-02 20:58:48] NOTICE[7158] res_indications.c: Unable to start playtones
[2009-05-02 20:58:48] VERBOSE[7158] logger.c: == Spawn extension (from-sip-external, s, 6) exited non-zero on 'SIP/5557029890-09835ba0'
[2009-05-02 20:58:48] VERBOSE[7158] logger.c: -- Executing [h@from-sip-external:1] NoOp("SIP/5557029890-09835ba0", "Hangup") in new stack
[2009-05-02 20:58:48] VERBOSE[7158] logger.c: -- Executing [h@from-sip-external:2] Set("SIP/5557029890-09835ba0", "DID=s") in new stack
[2009-05-02 20:58:48] VERBOSE[7158] logger.c: -- Executing [h@from-sip-external:3] Goto("SIP/5557029890-09835ba0", "s|1") in new stack
[2009-05-02 20:58:48] VERBOSE[7158] logger.c: -- Goto (from-sip-external,s,1)
[2009-05-02 20:58:48] VERBOSE[7158] logger.c: -- Executing [s@from-sip-external:1] GotoIf("SIP/5557029890-09835ba0", "0?from-trunk|s|1") in new stack
[2009-05-02 20:58:48] VERBOSE[7158] logger.c: -- Executing [s@from-sip-external:2] Set("SIP/5557029890-09835ba0", "TIMEOUT(absolute)=15") in new stack
[2009-05-02 20:58:48] VERBOSE[7158] logger.c: -- Channel will hangup at 2009-05-03 01:59:03 UTC.
[2009-05-02 20:58:48] VERBOSE[7158] logger.c: -- Executing [s@from-sip-external:3] Answer("SIP/5557029890-09835ba0", "") in new stack
[2009-05-02 20:58:48] VERBOSE[7158] logger.c: == Spawn extension (from-sip-external, s, 3) exited non-zero on 'SIP/5557029890-09835ba0'
For what it's worth ... I setup my trunk's incoming settings in accordance to voipvoip's configuration guide for Asterisk. So, I'm pretty confident it isn't the problem. I think the call is hitting my server, but my server doesn't know what to do with it.