* You are viewing Posts Tagged ‘realtime’

Voice Analytics

Does anyone know of a realtime voice analytic engine that works with asterisk 11+ ? We want to be able to “listen” on the conversation for key words in order to ensure compliance . The plan is to show these keywords onscreen, and remove them once the agent has covered the compliance issues.

This would necessitate that the conversation is monitored and analysed in realtime as we can’t do it post-call ;)



Realtime Sip.conf And Templates

Is the template capability in sip.conf compatible with realtime sip.conf entries such as users in a database?

I notice that contrib/realtime/mysql/sippeers.sql and the wiki page don’t mention a template column:


while some third-party examples do suggest that a column named
“template” is permitted:


Disable Transcoding

Hello I use asterisk realtime, and I can set the order of codec preference on my realtime allow column.

If I could disable transcoding, then I can always ensure a passthrough of the common codec from origin to destination without transcoding (expensive on CPU) –
and more or less, force the codec to use by setting the codec preference

So, can I disable transcoding?

Realtime Vs Static Files


We’re trying to decide whether to switch back to a static file for sip.conf. Currently we use mysql realtime but can’t see any real benefit.

Why would someone choose realtime sip over static files?


Dan Journo Kesher Communications (UK)
Business Phone Systems | Hosted PBX
T: 0161 820 8353

Followme Ldap Realtime Problems

Hi all,

I am having problems configuring followme with realtime ldap database. The error I get is:
[2012-10-23 21:01:40] WARNING[16004]: res_config_ldap.c:967
realtime_multi_ldap: realtime retrieval requires at least 1 parameter and 1
value to search on.
[2012-10-23 21:01:40] WARNING[16004]: app_followme.c:1175 app_exec: Profile requested, adomaitis, not found in the configuration.

cli commands:
realtime load followme name adomaitis realtime load followme_numbers name adomaitis works as expected, meaning that shows informations fetched from ldap.

relevant config are extconfig.conf followme => ldap,”ou=People,dc=example,dc=com”,followme followme_numbers => ldap,”ou=People,dc=example,dc=com”,followmenumbers

name = AstFollowMeName musicclass = AstFollowMeMusic musiconhold = AstFollowMeMusic music = AstFollowMeMusic context = AstFollowMeContext takecall = AstFollowMeTakeCall declinecall = AstFollowMeDeclineCall call_from_prompt = AstFollowMePromptCallFrom norecording_prompt = AstFollowMePromptNoRecording options_prompt = AstFollowMePromptOptions hold_prompt = AstFollowMePromptHold status_prompt = AstFollowMePromptStatus sorry_prompt = AstFollowMePromptSorry additionalFilter = (objectClass=asteriskFollowMe)

name = AstFollowMeProfileName ordinal = AstFollowMeNumberPriority phonenumber = AstFollowMeNumber timeout = AstFollowMeNumberTimeOut additionalFilter = (objectClass=asteriskFollowMeNumbers)

I have defined schema for followme. Does anyone know what can be the issue?

Thanks Liutauras

RealTime Table Fields Ordering


According to http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip:

If you place “ipaddr” before “host” (in the case of dynamic), you will never load the public IP address of your sip device, as it will be overwritten when “host” is encountered. UnQuote.

From the latest Asterisk source tarball, the ‘contrib’ directory contains several realtime MySQL table definitions. The sippeers table has column ‘ipaddr’ before column ‘host’. Also, ‘permit’ comes before ‘deny’. Same for allow/disallow. Shouldn’t the correct RealTime column/field order be: deny, permit and disallow, allow and host, ipaddr?

As a side note, the iaxfriends RealTime MySQL table definition in the ‘contrib’ directory lacks the deny/permit fields which are quite important. However, the iaxfriends table does have the ‘ipaddr’ field after the ‘host’ field and the ‘allow’ field after ‘disallow’.

Furthermore, the asterisk.org wiki at:
https://wiki.asterisk.org/wiki/display/AST/SIP+Realtime%2C+MySQL+table+structure shows the same “disorder” in deny/permit, allow/disallow and host/ipaddr (MySQL example for RealTime).

So it seems that the contrib directory and the asterisk.org wiki are inconsistent and incomplete. Of course I understand that these are ‘contributed’ files but they should be proof-read by the Digium devs before packing them up into the official source tarball. Or am I wrong about my observations concerning field order and field omissions?