[quote=“david55”]Logging is controlled by logger.conf, and the CLI commands:
core set debug…
core set verbose …
sip set debug…
You should not be using Asterisk 1.4 for new installations,
Why have you set nat= ?[/quote]
thanks for replying I did test:
SIP Debugging enabled
[code][Apr 20 16:47:45] Reliably Transmitting (NAT) to 192.168.43.235:43901:
OPTIONS sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;c pd=on SIP/2.0
Via: SIP/2.0/UDP 192.168.43.200:5060;branch=z9hG4bK5f496a36;rport
From: “asterisk” sip:asterisk@192.168.43.200;tag=as7b264b05
To: <sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;cpd= on>
Contact: sip:asterisk@192.168.43.200
Call-ID: 4ec76d7c140cce6e4695e6be50a653bd@192.168.43.200
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 20 Apr 2014 15:47:45 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
[Apr 20 16:47:46] Retransmitting #1 (NAT) to 192.168.43.235:43901:
OPTIONS sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;c pd=on SIP/2.0
Via: SIP/2.0/UDP 192.168.43.200:5060;branch=z9hG4bK5f496a36;rport
From: “asterisk” sip:asterisk@192.168.43.200;tag=as7b264b05
To: <sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;cpd= on>
Contact: sip:asterisk@192.168.43.200
Call-ID: 4ec76d7c140cce6e4695e6be50a653bd@192.168.43.200
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 20 Apr 2014 15:47:45 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
[Apr 20 16:47:47] Retransmitting #2 (NAT) to 192.168.43.235:43901:
OPTIONS sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;c pd=on SIP/2.0
Via: SIP/2.0/UDP 192.168.43.200:5060;branch=z9hG4bK5f496a36;rport
From: “asterisk” sip:asterisk@192.168.43.200;tag=as7b264b05
To: <sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;cpd= on>
Contact: sip:asterisk@192.168.43.200
Call-ID: 4ec76d7c140cce6e4695e6be50a653bd@192.168.43.200
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 20 Apr 2014 15:47:45 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
[Apr 20 16:47:48] Retransmitting #3 (NAT) to 192.168.43.235:43901:
OPTIONS sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;c pd=on SIP/2.0
Via: SIP/2.0/UDP 192.168.43.200:5060;branch=z9hG4bK5f496a36;rport
From: “asterisk” sip:asterisk@192.168.43.200;tag=as7b264b05
To: <sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;cpd= on>
Contact: sip:asterisk@192.168.43.200
Call-ID: 4ec76d7c140cce6e4695e6be50a653bd@192.168.43.200
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 20 Apr 2014 15:47:45 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
[Apr 20 16:47:49] Retransmitting #4 (NAT) to 192.168.43.235:43901:
OPTIONS sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;c pd=on SIP/2.0
Via: SIP/2.0/UDP 192.168.43.200:5060;branch=z9hG4bK5f496a36;rport
From: “asterisk” sip:asterisk@192.168.43.200;tag=as7b264b05
To: <sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;cpd= on>
Contact: sip:asterisk@192.168.43.200
Call-ID: 4ec76d7c140cce6e4695e6be50a653bd@192.168.43.200
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 20 Apr 2014 15:47:45 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
[Apr 20 16:47:49] Really destroying SIP dialog ‘4ec76d7c140cce6e4695e6be50a653bd @192.168.43.200’ Method: OPTIONS
[Apr 20 16:47:59] Reliably Transmitting (NAT) to 192.168.43.235:43901:
OPTIONS sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;c pd=on SIP/2.0
Via: SIP/2.0/UDP 192.168.43.200:5060;branch=z9hG4bK046783c0;rport
From: “asterisk” sip:asterisk@192.168.43.200;tag=as0bf9edd5
To: <sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;cpd= on>
Contact: sip:asterisk@192.168.43.200
Call-ID: 105bccd06a1322df088f00d41fb477b7@192.168.43.200
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 20 Apr 2014 15:47:59 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
[Apr 20 16:48:00] Retransmitting #1 (NAT) to 192.168.43.235:43901:
OPTIONS sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;c pd=on SIP/2.0
Via: SIP/2.0/UDP 192.168.43.200:5060;branch=z9hG4bK046783c0;rport
From: “asterisk” sip:asterisk@192.168.43.200;tag=as0bf9edd5
To: <sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;cpd= on>
Contact: sip:asterisk@192.168.43.200
Call-ID: 105bccd06a1322df088f00d41fb477b7@192.168.43.200
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 20 Apr 2014 15:47:59 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
[Apr 20 16:48:01] Retransmitting #2 (NAT) to 192.168.43.235:43901:
OPTIONS sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;c pd=on SIP/2.0
Via: SIP/2.0/UDP 192.168.43.200:5060;branch=z9hG4bK046783c0;rport
From: “asterisk” sip:asterisk@192.168.43.200;tag=as0bf9edd5
To: <sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;cpd= on>
Contact: sip:asterisk@192.168.43.200
Call-ID: 105bccd06a1322df088f00d41fb477b7@192.168.43.200
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 20 Apr 2014 15:47:59 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
[Apr 20 16:48:02] Retransmitting #3 (NAT) to 192.168.43.235:43901:
OPTIONS sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;c pd=on SIP/2.0
Via: SIP/2.0/UDP 192.168.43.200:5060;branch=z9hG4bK046783c0;rport
From: “asterisk” sip:asterisk@192.168.43.200;tag=as0bf9edd5
To: <sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;cpd= on>
Contact: sip:asterisk@192.168.43.200
Call-ID: 105bccd06a1322df088f00d41fb477b7@192.168.43.200
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 20 Apr 2014 15:47:59 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
[Apr 20 16:48:03] Retransmitting #4 (NAT) to 192.168.43.235:43901:
OPTIONS sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;c pd=on SIP/2.0
Via: SIP/2.0/UDP 192.168.43.200:5060;branch=z9hG4bK046783c0;rport
From: “asterisk” sip:asterisk@192.168.43.200;tag=as0bf9edd5
To: <sip:8001@192.168.43.235:43901;rinstance=afe48b15faf7e27c;transport=UDP;cpd= on>
Contact: sip:asterisk@192.168.43.200
Call-ID: 105bccd06a1322df088f00d41fb477b7@192.168.43.200
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 20 Apr 2014 15:47:59 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
[Apr 20 16:48:03] Really destroying SIP dialog ‘105bccd06a1322df088f00d41fb477b7 @192.168.43.200’ Method: OPTIONS
[Apr 20 16:48:04] == Parsing ‘/etc/asterisk/manager.conf’: [Apr 20 16:48:04] F ound
[Apr 20 16:48:04] == Manager ‘sendcron’ logged on from 127.0.0.1
[Apr 20 16:48:04] == Manager ‘sendcron’ logged off from 127.0.0.1
[Apr 20 16:48:04] == Parsing ‘/etc/asterisk/manager.conf’: [Apr 20 16:48:04] F ound
[Apr 20 16:48:04] == Manager ‘sendcron’ logged on from 127.0.0.1[/code]
I tried core set verbose 5 and core set debug 5 but nothing appeared on the terminal
I used nat=yes in sip-vicidial.conf.
This is “DIY” server just for testing so asterisk version does not matter(?).