При регистрации Астериска на другом сервере на нестандартный порт началда вылезать интересная не виденная мной до этого ошибка:
Код: Выделить всё
WARNING[10879]: netsock2.c:216 ast_sockaddr_split_hostport: Port disallowed in 123.123.123.123:5068
Код: Выделить всё
*CLI> sip show peer u00513
* Name : u00513
Description : Ivanov
Realtime peer: Yes, cached
Secret : <Set>
MD5Secret : <Not set>
Remote Secret: <Not set>
Context : fmc
Record On feature : automon
Record Off feature : automon
Subscr.Cont. : <Not set>
Language : ru
Tonezone : <Not set>
Accountcode : 12313132
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
FromUser : u00513
FromDomain : 123.123.123.123 Port 5068
Callgroup : 1
Pickupgroup : 1
Named Callgr :
Nam. Pickupgr:
MOH Suggest :
Mailbox :
VM Extension : asterisk
LastMsgsSent : 0/0
Call limit : 0
Max forwards : 0
Dynamic : No
Callerid : "" <>
MaxCallBR : 384 kbps
Expire : -1
Insecure : port,invite
Force rport : Yes
Symmetric RTP: Yes
ACL : Yes
DirectMedACL : No
T.38 support : No
T.38 EC mode : Unknown
T.38 MaxDtgrm: 4294967295
DirectMedia : Yes
PromiscRedir : No
User=Phone : No
Video Support: No
Text Support : No
Ign SDP ver : No
Trust RPID : Yes
Send RPID : Yes
Path support : No
Path : N/A
TrustIDOutbnd: Legacy
Subscriptions: Yes
Overlap dial : No
DTMFmode : rfc2833
Timer T1 : 500
Timer B : 32000
ToHost : 123.123.123.123:5068
Addr->IP : 123.123.123.123:5068
Defaddr->IP : (null)
Prim.Transp. : UDP
Allowed.Trsp : UDP
Def. Username: u00513
SIP Options : (none)
Codecs : (ulaw|alaw|gsm|h263)
Auto-Framing : No
Status : UNKNOWN
Useragent :
Reg. Contact :
Qualify Freq : 60000 ms
Keepalive : 0 ms
Sess-Timers : Accept
Sess-Refresh : uas
Sess-Expires : 1800 secs
Min-Sess : 90 secs
RTP Engine : asterisk
Parkinglot :
Use Reason : No
Encryption : No
Код: Выделить всё
id 60
allow alaw;ulaw
context default
dtmfmode 0
host 123.123.123.123:5068
deny 0
permit 0.0.0.0/0
insecure port,invite
mailbox 0
musiconhold 0
nat force_rport,comedia
secret <PASSWORD>
type friend
username u00512
videosupport no
name 512
ipaddr 0
disallow g729;ilbc
port 5068
regseconds 0
lastms 5
fullcontact 0
useragent 0
regserver 123.123.123.123
pickupgroup 1
callgroup 1
callbackextension 512
qualify yes
rtpkeepalive 10
callforward 0
description u00512
fromuser u00512
fromdomain 123.123.123.123:5068
sendrpid yes
trustrpid yes
rtcachefriends yes
accountcode XXXXXXX
Заранее спасибо!