Notification When On The Phone
Everybody,
I’ve had a request from my manager that I figure out how to get our Asterisk 13.x system using chan_sip to be able to display on the Polycom VVX series phone display (firmware 5.9.5), when an extension is called and the person on the other end is on the phone.
He said, “Our old Analog phone system could do it, how hard can it be?”
I’ve gone down the path of trying to use MessageSend, but for the life of me, cannot get the VVX 501 or VVX 601 phones to enable Instant messaging, Enabling the feature with feature.instantMessaging.enabled=”1″ seems to do nothing.
Further investigation shows that I can send messages to the phones using curl after enabling Push messaging. This works easy enough, but figured I’d ask others if they are doing something similar and maybe I can avoid re-inventing the wheel.
All comments are welcome!
Doug
—
5 thoughts on - Notification When On The Phone
Push messaging with curl is nice for broadcasting text messages to idle phones.
But if you’ve already got the caller on the phone, then you might consider the CONNECTEDLINE function in Asterisk…
same => n,Set(CONNECTEDLINE(name)=User is Busy)
…sort of ‘Reverse Caller ID Name’ to immediately change what the caller sees on their phone display.
More involved is the CALLCOMPLETION function eg. for automating redials to the busy user when they hang up their call (see the ccss.conf.sample file.)
Kind Regards,
—
And that we don’t.
It’s the third party that would like the notification the the destination phone is currently busy with another call. CONNECTEDLINE only functions after a channel has been answered. I was successful with using CONNECTEDLINE when issuing an Answer() first, but it added delay and the displayed message didn’t show for very long.
And, with the Polycom phones setup with multi-line, a call never rings busy unless the user press the DND (Do not disturb) button.
Doug
—
Adding something like Wait(10) application should keep it up there.
Coupled with immediate in-band playback of “the line is busy” message could be reasonable solution.
OH what it means to be busy!
You might want to look at GROUP functions as well, to keep track of call counts, then fork dial plan based on needs eg. Sales only reports busy at 5 calls but C-Suite is busy at 1 call.
—
Hello
Le 28/05/2020 à 21:04, C.Maj a écrit :
You could also use DEVICE_STATE
—
Daniel
—
I am using DEVICE_STATE to identify when a phone is in use:
exten => s,n,GosubIf($[“${DEVICE_STATE(SIP/${ARG1})}” “INUSE”]?SHOWBUSY,s,1(${ARG1}))
I’m trying to figure out the best way to display that information to the person that is calling that in use extension.
Doug