Hello Everyone, For inbound, I am trying to specify a specific context. Everything works fine using the IP address, however with domain name it's not working at all. I tried changing the: Via: SIP/2.0/UDP test.com, and the Record-Route: <sip:test.com;lr;did=a1a.4d23bae4> If I have a peer with the host, fromdomain, and outboundprxy set as the IP address the correct context is found "context-from-test", but not using the domain name test.com. Asterisk still knows that the call is coming from IP address: chan_sip.c:22081 handle_request_invite: Call from '' (192.168.2.102:5060) to extension '1001' rejected because extension not found in context 'internal'. SIP Trace: <--- SIP read from UDP:192.168.2.102:5060 ---> INVITE sip:1001 at test.com:5060 SIP/2.0 Record-Route: <sip:test.com;lr;did=a1a.4d23bae4> Via: SIP/2.0/UDP test.com;branch=z9hG4bK9e83.1b0fcd74.0 Via: SIP/2.0/UDP 208.44.220.234:5060;received=208.44.220.234;branch=z9hG4bK6d6940f3;rport=5060 From: "Mike Peer" <sip:16058293047 at 208.44.220.234>;tag=as62765da7 To: <sip:1001 at 170.12.90.130> Contact: <sip:16058293047 at 208.44.220.234> Call-ID: 0f920dff6eefb6bd70b48d73676be593 at 208.44.220.234 CSeq: 102 INVITE User-Agent: DiDXsuPErTecSIP5 Max-Forwards: 69 Remote-Party-ID: "Mike Peer" <sip:16058293047 at 208.44.220.234>;privacy=off;screen=no Date: Fri, 16 Dec 2011 04:15:10 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Content-Type: application/sdp Content-Length: 382 <--- Reliably Transmitting (no NAT) to 192.168.2.102:5060 ---> SIP/2.0 404 Not Found Via: SIP/2.0/UDP test.com;branch=z9hG4bK9e83.1b0fcd74.0;received=192.168.2.102 Via: SIP/2.0/UDP 208.44.220.234:5060;received=208.44.220.234;branch=z9hG4bK6d6940f3;rport=5060 From: "Mike Peer" <sip:16058293047 at 208.44.220.234>;tag=as62765da7 To: <sip:1001 at 170.12.90.130>;tag=as51f932b5 Call-ID: 0f920dff6eefb6bd70b48d73676be593 at 208.44.220.234 CSeq: 102 INVITE Server: Asterisk PBX UNKNOWN__and_probably_unsupported Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Length: 0 I am using OpenSIPS and changed the following: advertised_address="test.com" record_route_preset("test.com"); Again, if I create a peer, and set the host, fromdomain, and outboundprxy as 192.168.2.102, and everything woks fine, but I would like to use the domain name example.com. Thanks in Advance, Nick.