Recently my asterisk server died, so I've resurrected an old voice modem to at least get notifications working again. Pretty much out of the box it works great, however there is one odd behavior. It seems like when a number does not have a callerID name included, the speech is messed up. For example:
Setting Telephony_Interface object Line1 to ring.
DATE = 0202 TIME = 0830 NAME = O NMBR = 4037776171
02/02/12 08:30:19 AM CID Lookup searching for: 4037776171, O NMBR = 403777, N
unmuted: Call from O NMBR = 403777
02/02/12 08:30:19 AM Callerid: O NMBR = 403777 4037776171
Phone Call on 02/02/12 08:30:19 AM
Rings: 3 time 0 title CallerID log width 35 height 30 window_name CallerID append top font fixed
Now the strange thing is in the lib/CallerID.pm, it states that a NAME = O is a known behaviour. From the notes in CallerID.PM:
- 'O' as a name means 'Unavailable'
- the phone# doesn'n include the area code if in the same area code than you.
- instead of 'NMBR', it's 'DDN_NMBR.'. don't ask me why...
I don't want to reinvent the wheel here as this is some old, stable code and functionality. Am I doing something wrong? End result, what I'd like is if a name isn't present in the CallerID information, and if a search of the local callerid database returns nothing, I get back speech with the phone number. ie. Call from XXX XXXX from <AREA CODE LOOKUP>
Here is my private mh.ini:
callerid_port = /dev/ttyACM0
callerid_type = rockwell
callerid_name = Line1
callerid_format = 2
I'm using a USR 56K modem attached via USB.
Get latest updates about Open Source Projects, Conferences and News.