[asterisk-users] includes in realtime ??
Benjamin Jacob
benjamin.jacob at masconit.com
Tue Sep 5 01:44:47 MST 2006
:) , done all!!
neway, lemme know if am overlooking something.
extconfig.conf
==========
sipusers => mysql,astDb,sip_conf
sippeers => mysql,astDb,sip_conf
voicemail => mysql,astDb,voicemail_conf
extensions => mysql,astDb,extensions_conf
sip.conf has got all entries commented, except for
[general]
context=default
rtcachefriends=yes
(hmmmmmmmmmmmmmmm.. is the rtcache the culprit??thats my next
investigation! but disabling has got issues with VoiceMail Waiting
indication etc)
Neway, carrying on...
sip show settings
===========
Global Settings:
----------------
SIP Port: 5060
Bindaddress: 0.0.0.0
Videosupport: No
AutoCreatePeer: No
Allow unknown access: Yes
Promsic. redir: No
SIP domain support: No
Call to non-local dom.: Yes
URI user is phone no: No
Our auth realm asterisk
Realm. auth: No
Always auth rejects: No
User Agent: Asterisk PBX
MWI checking interval: 10 secs
Reg. context: (not set)
Caller ID: asterisk
From: Domain:
Record SIP history: Off
Call Events: Off
IP ToS: 0x0
OSP Support: No
SIP realtime: Enabled
Global Signalling Settings:
---------------------------
Codecs: none
Relax DTMF: No
Compact SIP headers: No
RTP Timeout: 0 (Disabled)
RTP Hold Timeout: 0 (Disabled)
MWI NOTIFY mime type: application/simple-message-summary
DNS SRV lookup: Yes
Pedantic SIP support: No
Reg. max duration: 3600 secs
Reg. default duration: 120 secs
Outbound reg. timeout: 20 secs
Outbound reg. attempts: 0
Notify ringing state: Yes
Default Settings:
-----------------
Context: default
Nat: RFC3581
DTMF: rfc2833
Qualify: 0
Use ClientCode: No
Progress inband: Never
Language: (Defaults to English)
Musicclass: default
Voice Mail Extension: asterisk
Realtime SIP Settings:
----------------------
Realtime Peers: Yes
Realtime Users: Yes
Cache Friends: Yes
Update: Yes
Ignore Reg. Expire: No
Auto Clear: 120
Modules loaded
=============
*CLI> show modules like res
Module Description
Use Count
res_musiconhold.so Music On Hold Resource 1
res_indications.so Indications Configuration 0
res_crypto.so Cryptographic Digital Signatures 1
res_adsi.so ADSI Resource 1
res_odbc.so ODBC Resource 0
res_config_odbc.so ODBC Configuration 1
res_agi.so Asterisk Gateway Interface (AGI) 0
res_monitor.so Call Monitoring Resource 1
res_features.so Call Features Resource 1
res_config_mysql.so MySQL RealTime Configuration Driver 0
chan_features.so Feature Proxy Channel 0
11 modules loaded
Anything else... ???
Theres no issue with mysql connection, cuz changes to extensions is
reflected back immediately.
cheerz
Ben.
RR wrote:
> Ben,
> that's exactly how it is, the load command is only for you to see
> what's being pulled from the database and to test if realtime has been
> configured properly. If you see nothing, then I suspect realtime for
> you isn't really working and the calls that are working are being
> looked up in the local conf file.
>
> You might have to start doing some toubleshooting. What does your
> extconfig.conf look like? You might wanna post it here. Also, remove
> or comment out any extensions related info from sip*.conf files.
> What's the output if you type: asterisk -rx "sip show settings" | grep
> -i realtime on the linux command line?
>
> Lastly, ensure there's no errors logged with regards to connectivity
> to the database. Many pieces need to be in sync for it to work
> properly. I use it with UnixODBC -> FreeTDS -> MS SQL Server and it
> works beautifully :) If you're using a local MySQL database, it should
> be a piece of cake.
>
> Check you're loading the res_mysql module, check for config issues in
> res_mysql.conf and ensure yur user has permissions to access your
> asterisk database.
>
> Hard to suggest how to do all that without knowing ur exact setup.
> Sorry, the best I can do for now :)
>
> Goodluck
> \R
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list