Dear tuvia!
I did everything as you said! And I was right that nothing has changed. See what I did:
sip.conf
[code][general]
[1000]
type=friend
context=default
host=dynamic
nat=yes
[1001]
type=friend
context=default
host=dynamic
nat=yes
[/code]
extensions.conf
[code][globals]
[general]
autofallthrough=yes
[default]
exten => _100X,1,Dial(SIP/${EXTEN},mg)
exten => _100X,2,Playback(vm-goodbye)
exten => _100X,3,Hangup()
[/code]
sip show peers
asterisk*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
1000/1000 192.168.77.67 D N 65480 Unmonitored
1001/1001 192.168.77.67 D N 61456 Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
I think that there must be something changed in the config sip.conf. Probably not enough of a choice.
To complete the picture, giving sip show peer 1000 and 1001
sip show peer 1000
* Name : 1000
Secret : <Not set>
MD5Secret : <Not set>
Context : default
Subscr.Cont. : <Not set>
Language :
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
Mailbox :
VM Extension : asterisk
LastMsgsSent : 32767/65535
Call limit : 0
Dynamic : Yes
Callerid : "" <>
MaxCallBR : 384 kbps
Expire : 2865
Insecure : no
Nat : Always
ACL : No
T38 pt UDPTL : No
CanReinvite : Yes
PromiscRedir : No
User=Phone : No
Video Support: No
Text Support : No
Trust RPID : No
Send RPID : No
Subscriptions: Yes
Overlap dial : Yes
DTMFmode : rfc2833
Timer T1 : 500
Timer B : 32000
ToHost :
Addr->IP : 192.168.77.67 Port 65480
Defaddr->IP : 0.0.0.0 Port 5060
Transport : UDP
Def. Username: 1000
SIP Options : replaces replace
Codecs : 0x8000e (gsm|ulaw|alaw|h263)
Codec Order : (none)
Auto-Framing : No
100 on REG : No
Status : Unmonitored
Useragent : 3CXVoipPhone 3.1.6288.0
Reg. Contact : sip:1000@192.168.77.67:65480;rinstance=d61755e2b86841b0
Qualify Freq : 60000 ms
Sess-Timers : Accept
Sess-Refresh : uas
Sess-Expires : 1800 secs
Min-Sess : 90 secs
sip show peer 1001
* Name : 1001
Secret : <Not set>
MD5Secret : <Not set>
Context : default
Subscr.Cont. : <Not set>
Language :
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
Mailbox :
VM Extension : asterisk
LastMsgsSent : 32767/65535
Call limit : 0
Dynamic : Yes
Callerid : "" <>
MaxCallBR : 384 kbps
Expire : 2810
Insecure : no
Nat : Always
ACL : No
T38 pt UDPTL : No
CanReinvite : Yes
PromiscRedir : No
User=Phone : No
Video Support: No
Text Support : No
Trust RPID : No
Send RPID : No
Subscriptions: Yes
Overlap dial : Yes
DTMFmode : rfc2833
Timer T1 : 500
Timer B : 32000
ToHost :
Addr->IP : 192.168.77.67 Port 61456
Defaddr->IP : 0.0.0.0 Port 5060
Transport : UDP
Def. Username: 1001
SIP Options : (none)
Codecs : 0x8000e (gsm|ulaw|alaw|h263)
Codec Order : (none)
Auto-Framing : No
100 on REG : No
Status : Unmonitored
Useragent : X-Lite release 1103d stamp 53117
Reg. Contact : sip:1001@192.168.77.67:61456;rinstance=d1da666677d40ecc
Qualify Freq : 60000 ms
Sess-Timers : Accept
Sess-Refresh : uas
Sess-Expires : 1800 secs
Min-Sess : 90 secs
I draw attention to the “Status”
I think the problem with sip.conf?