It's always been less problematic for me if I make sure the two boxes can resolve each others SRV records from the command line before trying to make dial plans work.
If they are on two different domains and connected via the open Internet, they shouldn;t resolve to private IP addresses at all, they should resolve to the real public IP address. How are they connected? VPN? Internet? Private network to private network (routed)? Are they behind their own NAT's? On Wed, Apr 14, 2010 at 8:23 AM, ronald teng <[email protected]> wrote: > Hi All, > Ran into another wall again. I'm having problems making SipX to SipX > calls. > Here are some of the steps i took to set this up. > 1. I made sure that i am able to ping each sipX box's domain name from > either site. > 2. In sipX, I setup an unmanaged gateway as per instructions from the > sipXecs packt guide and ensured that the complete domain name is specfied to > it instead of an ip address. > 3. for dial plans, i used prefix 2 and keep digits 2 for site a (extensions > range from 201-210) and used prefix 3 keep digits 2 on site b (ext range > from 301-310) then specified "append entire dialled number" under resulting > call. > > I pasted logs of the siptrace below. From what little i could tell, its not > even able to tell that it's supposed to send the call to the other sipX box > whose domain should be "sipxgw.theircompany.com" and ip address > 192.168.10.254. I would really appreciate any advice. > > Thnx. > > > ****subscribe**** > Time: 2010-04-14T11:35:12.582000Z > Frame: 1 sipxopenfire.xml:28388 > Source: sipxgw.ourcompany.lan-sipxcallwatcher > Dest: 172.16.10.254:5060 > > SUBSCRIBE sip:[email protected] SIP/2.0 > Call-ID: [email protected] > CSeq: 1 SUBSCRIBE > From: "Call Watcher" > <sip:[email protected]>;tag=2158644582227442403 > To: <sip:[email protected]> > Via: SIP/2.0/TCP > 172.16.10.254:5064;branch=z9hG4bKded27b9b53161a2cd39a86ab183c05b4333735 > Max-Forwards: 70 > Contact: "~~id~xmpprlsclient" > <sip:[email protected]:5064;transport=tcp> > Expires: 3600 > Supported: eventlist > Event: dialog > Accept: application/dialog-info+xml,application/rlmi+xml,multipart/related > Content-Length: 0 > > ****401 Unauthorized**** > Time: 2010-04-14T11:35:12.604000Z > Frame: 2 sipxopenfire.xml:28392 > Source: 172.16.10.254:5060 > Dest: sipxgw.ourcompany.lan-sipxcallwatcher > > SIP/2.0 401 Unauthorized > Record-Route: > <sip:172.16.10.254:5060;lr;sipXecs-rs=%2Aauth%7E.%2Afrom%7EMjE1ODY0NDU4MjIyNzQ0MjQwMw%60%60%21f10cecb8c4338ad44779b04fcdb7aade;x-sipX-done> > From: "Call Watcher" > <sip:[email protected]>;tag=2158644582227442403 > To: <sip:[email protected]>;tag=jDgvl6 > Call-ID: [email protected] > CSeq: 1 SUBSCRIBE > Via: SIP/2.0/TCP > 172.16.10.254:5064;branch=z9hG4bKded27b9b53161a2cd39a86ab183c05b4333735 > WWW-Authenticate: Digest > realm="ourcompany.lan",nonce="0cd71c5d79a8e12b436dc4287f29cbba4bc5a870",qop="auth" > Contact: <sip:[email protected]:5140> > Date: Wed, 14 Apr 2010 11:35:12 GMT > Allow: INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,SUBSCRIBE,MESSAGE > User-Agent: sipXecs/4.1.7 sipXecs/rls (Linux) > Accept-Language: en > Require: eventlist > Content-Length: 0 > > > ****Subscribe**** > Time: 2010-04-14T11:35:12.612000Z > Frame: 3 sipxopenfire.xml:28402 > Source: sipxgw.ourcompany.lan-sipxcallwatcher > Dest: 172.16.10.254:5060 > > SUBSCRIBE > sip:[email protected]:5060;maddr=172.16.10.254 > SIP/2.0 > Call-ID: [email protected] > CSeq: 2 SUBSCRIBE > From: "Call Watcher" > <sip:[email protected]>;tag=2158644582227442403 > To: <sip:[email protected]> > Via: SIP/2.0/TCP > 172.16.10.254:5064;branch=z9hG4bK6a187ea27f87f6f5c138985cd74eb63c333735 > Max-Forwards: 70 > Contact: "~~id~xmpprlsclient" > <sip:[email protected]:5064;transport=tcp> > Expires: 3600 > Supported: eventlist > Event: dialog > Accept: application/dialog-info+xml,application/rlmi+xml,multipart/related > Authorization: Digest > username="~~id~xmpprlsclient",realm="ourcompany.lan",nonce="0cd71c5d79a8e12b436dc4287f29cbba4bc5a870",uri="sip:[email protected]:5060;maddr=172.16.10.254",response="04bcbd9ee5ad6b3bacc45be92c5262be",qop=auth,cnonce="xyz",nc=00000001 > Content-Length: 0 > > > > ****404 Not found**** > Time: 2010-04-14T11:35:12.636000Z > Frame: 4 sipxopenfire.xml:28408 > Source: 172.16.10.254:5060 > Dest: sipxgw.ourcompany.lan-sipxcallwatcher > > SIP/2.0 404 Not Found > Record-Route: > <sip:172.16.10.254:5060;lr;sipXecs-rs=%2Aauth%7E.%2Afrom%7EMjE1ODY0NDU4MjIyNzQ0MjQwMw%60%60%21f10cecb8c4338ad44779b04fcdb7aade;x-sipX-done> > From: "Call Watcher" > <sip:[email protected]>;tag=2158644582227442403 > To: <sip:[email protected]>;tag=9mMncy > Call-ID: [email protected] > CSeq: 2 SUBSCRIBE > Via: SIP/2.0/TCP > 172.16.10.254:5064;branch=z9hG4bK6a187ea27f87f6f5c138985cd74eb63c333735 > Expires: 2323 > Contact: <sip:[email protected]:5140> > Date: Wed, 14 Apr 2010 11:35:12 GMT > Allow: INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,SUBSCRIBE,MESSAGE > User-Agent: sipXecs/4.1.7 sipXecs/rls (Linux) > Accept-Language: en > Require: eventlist > Content-Length: 0 > > > _______________________________________________ > sipx-users mailing list [email protected] > List Archive: http://list.sipfoundry.org/archive/sipx-users > Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users > sipXecs IP PBX -- http://www.sipfoundry.org/ > -- ====================== Tony Graziano, Manager Telephone: 434.984.8430 Fax: 434.984.8431 Email: [email protected] LAN/Telephony/Security and Control Systems Helpdesk: Telephone: 434.984.8426 Fax: 434.984.8427 Helpdesk Contract Customers: http://www.myitdepartment.net/gethelp/ Why do mathematicians always confuse Halloween and Christmas? Because 31 Oct = 25 Dec. _______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users sipXecs IP PBX -- http://www.sipfoundry.org/
