First, this should be posted on sipx-users, not sipx-dev.

On Thu, Nov 26, 2009 at 5:24 PM, Marc Kakon <[email protected]> wrote:

> Hi,
> I m running *sipx 4.0.4-017289*
> I put for my test sipx in a DMZ. My domain is gaffins.fr and sipx
> dns.gaffins.fr with a reverse DNS.
> The Ip of sipx is 192.168.0.100
> Remote worker ip 192.168.1.11
>
> What matters here is DNS SRV records. Are these set properly?

> In sipx : Internet dialing Enable / Intranet domain = *.gaffins.fr
> Intranet Network = 192.168.0.0/24
> 192.168.1.0/24
> 192.168.2.0/24

Internet dialling does not need to be enabled with sipXbridge, turn it off.

>
>
> NAT Traversal = I check the 2 box
>
> In server / dns.gaffins.fr / NAT / specifie ip adress = 78.229.96.2
>
> If your remote workers do not have the ability to resolve DNS/SRv records,
this will be a problem.

> On X-Lite
>
> domain = gaffins.fr
> register with domain is check
> proxy = dns.gaffins.fr

proxy should be=gaffins.fr

>
> user local ip adress
> discover stun
> disable stun
>
> On sipx in the record tabs
>
> "Ligne_1"<sip:[email protected] <sip%[email protected]>>
> <sip:[email protected]:34300
> ;rinstance=409eb8d54e45edf1;x-sipX-privcontact=192.168.1.11%3A34300>
>
> On the remote worker I disable the firewall on XP and Open Port TCP-UDP
> 5000 TO 45000.
>
> In order to do this you need to look at your configuration. Default is:

5060 tcp/udp
5080 udp (if using an ITSP)
30000-31000 udp (media)

The problem :  If I take My notebook go to my office, open XLITE I can
> receive incomming calls and send calls
> Go to my home I can Call the office and Outgoing calls works but the
> incomming calls don't works.
>
> Any Idea ?
>
> Here a part of sipxproxy.log
>
> "2009-11-26T22:04:57.031661Z":37331:INCOMING:INFO:dns.gaffins.fr:SipClientTcp-32:B5DB3B90:SipXProxy:"Read
> SIP message:\n----Remote Host:192.168.0.100---- Port: 47039----\nSIP/2.0 100
> Trying\r\nFrom: \"0490322441\" 
> <sip:[email protected]<sip%[email protected]>;user=phone>;tag=08032-KC-07d2bcf8-2b7ad66d3\r\nTo:
> <sip:[email protected] 
> <sip%[email protected]>;user=phone>\r\nCall-Id:
> [email protected]\r\ncseq: 131893669
> INVITE\r\nVia: SIP/2.0/TCP
> 192.168.0.100;branch=z9hG4bK-sipXecs-002c11dc694a024757df07047def1a627ed5\r\nVia:
> SIP/2.0/TCP 
> 192.168.0.100:5090;originator=~~id~bridge;branch=z9hG4bKa29fcf0a7d61fbe15fd95f012e46929b393534\r\nRecord-Route:
> <sip:192.168.0.100:5060;lr>\r\nContent-Length:
> 0\r\n\r\n====================END===================="
> "2009-11-26T22:04:57.031971Z":37332:SIP:DEBUG:dns.gaffins.fr:SipClientTcp-32:B5DB3B90:SipXProxy:"SipUserAgent[SipUserAgent-2]::dispatch
> transaction = 0xb5a1a960, relationship = 5"
> "2009-11-26T22:04:57.032065Z":37333:SIP:DEBUG:dns.gaffins.fr:SipClientTcp-32:B5DB3B90:SipXProxy:"SipTransaction::handleIncoming
> 0xb5a1a960 relationship PROVISIONAL"
> "2009-11-26T22:04:57.032194Z":37334:SIP:DEBUG:dns.gaffins.fr:SipClientTcp-32:B5DB3B90:SipXProxy:"SipTransaction::handleChildIncoming
> 0xb5a1a960 relationship PROVISIONAL parent 0xb5a19dd8"
> "2009-11-26T22:04:57.032292Z":37335:SIP:DEBUG:dns.gaffins.fr:SipClientTcp-32:B5DB3B90:SipXProxy:"SipTransaction::handleChildIncoming
> 0xb5a19dd8 relationship PROVISIONAL parent 0x81bb018"
> "2009-11-26T22:04:57.032387Z":37336:SIP:DEBUG:dns.gaffins.fr:SipClientTcp-32:B5DB3B90:SipXProxy:"SipTransaction::handleChildIncoming
> 0x81bb018 relationship PROVISIONAL parent (nil)"
> "2009-11-26T22:04:57.034172Z":37337:ODBC:DEBUG:dns.gaffins.fr:SipXProxyCseObserver-10:B76FAB90:SipXProxy:"odbcExecute:
> statement INSERT INTO call_state_events VALUES 
> (DEFAULT,'192.168.0.100:-1',1,timestamp
> '2009-11-26
> 22:04:57.016','R',131893669,'[email protected]','08032-KC-07d2bcf8-2b7ad66d3','','\"0490322441\"
> <sip:[email protected] <sip%[email protected]>
> ;user=phone>;tag=08032-KC-07d2bcf8-2b7ad66d3','<sip:[email protected]<sip%[email protected]>;user=phone>','','','',0,'','');
> succeeded"
> "2009-11-26T22:04:57.034274Z":37338:CDR:DEBUG:dns.gaffins.fr:
> SipXProxyCseObserver-10:B76FAB90:SipXProxy:"CallStateEventWriter_DB::writeLog"
> "2009-11-26T22:04:57.037392Z":37339:SIP:DEBUG:dns.gaffins.fr:SipClientTcp-32:B5DB3B90:SipXProxy:"SipClient[SipClientTcp-32]::run
> resPoll= 1 revents: fd[0]= 0 fd[1]= 1"
> "2009-11-26T22:04:57.037638Z":37340:HTTP:DEBUG:dns.gaffins.fr:SipClientTcp-32:B5DB3B90:SipXProxy:"HttpMessage::read
> full msg rcvd bytes 1027: header: 1027 content: 0"
>
> Thanks
> --
> Kakon Marc David
>
>
>
> _______________________________________________
> sipx-dev mailing list [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-dev
> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
> sipXecs IP PBX -- http://www.sipfoundry.org/
>

The wiki has some excellent how to articles. Perhaps you can look these
over.

-- 
======================
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/
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to