Hi all
Before post this topic ,i searched and couldnt find anything about it. i have Asterisk 11.2.1 X64 and it is realtime on mysql. everything going right but cache friends.
when a peer registered and it can be shown on CLI and peers table. but after sip.conf is reloaded , cached information’s gone.
sip.conf
rtcachefriends =yes
;rtsavesysname=yes
rtautoclear=no
qualify=no
;rtupdate=yes
and more default attributes.
my users info is here
* Name : 1001
Description :
Realtime peer: Yes, cached
Secret : <Set>
MD5Secret : <Not set>
Remote Secret: <Not set>
Context : bb
Record On feature : automon
Record Off feature : automon
Subscr.Cont. : <Not set>
Language :
Tonezone : <Not set>
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
Named Callgr :
Nam. Pickupgr:
MOH Suggest :
Mailbox : 1001
VM Extension : asterisk
LastMsgsSent : 2/0
Call limit : 0
Max forwards : 0
Dynamic : Yes
Callerid : "" <1001>
MaxCallBR : 384 kbps
Expire : 395
Insecure : port,invite
Force rport : No
Symmetric RTP: Yes
ACL : No
DirectMedACL : No
T.38 support : No
T.38 EC mode : Unknown
T.38 MaxDtgrm: -1
DirectMedia : No
PromiscRedir : No
User=Phone : No
Video Support: No
Text Support : No
Ign SDP ver : No
Trust RPID : No
Send RPID : No
Subscriptions: Yes
Overlap dial : Yes
DTMFmode : rfc2833
Timer T1 : 500
Timer B : 32000
ToHost :
Addr->IP : XXX.XXX.X.XXX:XXXX
Defaddr->IP : (null)
Prim.Transp. : TCP
Allowed.Trsp : UDP,TCP
Def. Username: 1001
SIP Options : (none)
Codecs : (gsm|ulaw|alaw|h263|testlaw)
Codec Order : (ulaw:20,alaw:20)
Auto-Framing : No
Status : Unmonitored
Useragent : MizuPhone 2.2.0.6
Reg. Contact : XXXX:XXX@XXXXXX
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
extconfig.conf
;iaxusers => odbc,asterisk
;iaxpeers => odbc,asterisk
sippeers => mysql,general,sipfriends
;sippeers => odbc,asterisk
;sipregs => odbc,asterisk ; (avoid sipregs if possible, e.g. by using a view)
;voicemail => odbc,asterisk
voicemail => mysql,general,voicemail_users
;extensions => odbc,asterisk
;meetme => mysql,general
;queues => odbc,asterisk
;queue_members => odbc,asterisk
;acls => odbc,asterisk
;musiconhold => mysql,general
;queue_log => mysql,general
after reload my sip.conf it gave “no such a 1001” . it is waiting for re-registry . So it is really big trouble when we trying to solve a problem , Because firstly we need to learn “user is registered?”
if anyone help me about it , i will be very happy
Thanks