E
E
Evgeny Gorbov2011-12-26 20:18:04
PHP
Evgeny Gorbov, 2011-12-26 20:18:04

SIP call-notification in php

It was necessary to create a special notification system through “dialing” to the manager using SIP (not everyone always hears sms ... for example, the “night” duty officer) ...

In short, you need to:
1. Dial a mobile number
2. Wait for an answer
3. Voice the finished wav / mp3 file
4. Hang up

I don't really want to There will be no “development of events” ... In terms of other voice functions in the foreseeable future, it will not be required.

Habrazhiteli, tell me ... maybe someone came across such a question? Are there services that provide such functionality?
Just in case - a server on Debian 6.0.

PS. Other informers are screwed. It is necessary in the forehead - a call to the mobile phone ... For if it is required - this means a critical situation! :)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
X
xaker1, 2011-12-26
@xaker1

Of course a crutch, but still. Using the SIP provider comtube ( ref. link :) )
1) In the Settings-> Fax/voice mail section, set the Individual greeting.
We also remember the number for receiving messages and faxes (of the form +7 (495) 956-82-62 ext. xxxxx)
2) We look at the API for the “Callback” service.
As soon as something urgent happens, we order a callback. number1 is the manager's number, number2 is the number for receiving messages and faxes in the format 74959568262.xxxxx (a dot means a wait of 5 seconds, then we send an extension number. You can also put a comma 74959568262,xxxxx will wait 2 seconds).
After the manager's answer, there will be a few seconds of waiting, after which he will hear your greeting. Further a signal and expectation of the fax \recording of a voice message.
I also sent them a request to implement this feature. There will be an answer - I will try to report here.

N
Next_Alex, 2011-12-26
@Next_Alex

It seems like a good solution would be a GSM modem with voice support, and here is a solution with a few changes.

P
Puma Thailand, 2011-12-27
@opium

Look at the article
habrahabr.ru/blogs/sysadm/126963/
I think everything will become clear and easy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question