Asterisk manager api


#1

using asterisk manager api, can i realize to notify a iax softphone some event has happened? how to do?


#2

Asterisk already does that for you in terms of call information of course. What exactly are you looking to notify the IAX phone of and in what context?


#3

the following is the detail request:
for example i use meetme application, enter a conference room . i want to get a notification when another enter the conference room . the notification is not only through voice but also text message (this is what i expect ,other way is ok too). how to do this? thanks!


#4

Is your IAX phone capable of accepting and displaying text messages?


#5

text message tranfered by iax full frame ,we can control them in the client . i saw there is send_text function in asterisk manager php but i don’t know how to use it ?


#6

Here are some details on how sending of text is supported:

voip-info.org/wiki/view/Asterisk+text

You do not have to use this via the AGI, as it is also an application available in the extensions.conf:

voip-info.org/wiki-Asterisk+cmd+SendText

If you do want to do it via an AGI, you could look here for insight:

phpagi.sourceforge.net/phpagi2/d … #send_text


#7

thanks a lot


#8

if i can get the channel string how can i use the channel to sendtext? i am still confusing now ! help me !thanks a lot


#9

for example, if i get the channel string like the following :
Channel: IAX2/24002020@192.168.82.24:4569-2 .how can i use the channel string throung asterisk manager api or AGI using php script send text to softphone 24002020 ?
any hints will be appreciated!