cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
505
Views
0
Helpful
3
Replies

How to log (or how to see in device log) when handset is off hook ?

SumGuy
Level 1
Level 1

Assuming this is possible, how should I configure the SPA-112 log module to log the event that a handset is taken off-hook and remains off-hook indefinately (ie no call is made).  I'm not sure if the SPA-112 has a setting for an off-hook time-out, but if it does, then again that might also generate a log entry?

If the SPA-112 can indeed log such events, how would that look in the log, assuming it's not an obvious in the message text.

3 Replies 3

pieterh
VIP
VIP

there is an dial-plan timer that can be used
https://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/csbpvga/spa100-200/admin_guide_SPA100/spa100_ag_1_3_5.pdf
Dial Plan Timer (Off-Hook Timer) You can think of the Dial Plan Timer as “the off-hook timer.” This timer starts counting when the phone goes off hook. If no digits are dialed within the specified number of seconds, the timer expires and the null entry is evaluated. Unless you have a special dial plan string to allow a null entry, the call is rejected. Default setting: 5

as far as I can see, logging can only be turned on/off, not for specific events

you can enable the : Off Hook Warning Tone
Played when the caller has not properly placed the handset on the cradle. Off Hook Warning Tone is played when the Reorder Tone times out. Default setting: 480@-3,620@3;10(.125/.125/1+2)

SumGuy
Level 1
Level 1

Is there anything like an on-line dial-plan decoder?  This is the current dial plan:

(911S0|310xxxx|<:1519>[2-9]xxxxxx|1[2-9]xx[2-9]xxxxxxS0|[2-9]xx[2-9]xxxxxxS0|*xx|***xxx|*xx.|[3468]11|822|0|00|4xxx|**275*x.|xxxxxxxxxxxx.)

What I understand, this plan was crafted to detect a 7-digit dial input and add the local area code 519 to it automatically.  I can see the "519" there in the plan. I don't know what else the other bits do, like 3468, 822 or 275.

Beyond that, how would I modifiy the existing plan to generate a log entry if the phone is taken off the hook but no number is dialed within, say, 30 seconds? 

I don't know if this off-hook condition currently generates some sort of nasty loud noise out of the handset and frankly I don't want it to do that, or if that is even specified in the dial plan.

 

pieterh
VIP
VIP

the pipe character "|" is a separtor (like an OR condition)

I'm a litle rusty in dialplans
the line with the area code does not mean that this code is added->  it is a syntax check
after the area code  all but 0 or 1 then 6 keys  will be a match
but if you drill down it is something like (NB! order is important)
(
911S0|
310xxxx| 7 digits starting with 310
<:1519>[2-9]xxxxxx| 11 keys begins with 1519 next digit all but 0 or 1 then 6 keys
                                  the brackets indicate that 1519 is prepended to ne number that consists of all but 0 or 1 ,then 6 keys
1[2-9]xx[2-9]xxxxxxS0| 11 digits starting with 1 second digit all but 0 or 1, ending with pause
[2-9]xx[2-9]xxxxxxS0| 10 digits same as above without leading 1
*xx| "*" key and two more keys , maybe some speeddials?
***xxx|
*xx.|
[3468]11| three digits staring with 3, 4, 6 or 8 ending with 11 (311, 411, 611, 811)
822| 822
0| 1x 0 (frequently used for outside line)
00| 2x 0 (frequently used for international dialing)
4xxx| 4 keys starting with four
**275*x.|
xxxxxxxxxxxx. 12 keys

p.s. modifying a destination to add the local area code is called a translation pattern, not a dialplan