VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
saigop at gmail.com Guest
|
Posted: Mon Nov 03, 2008 10:30 am Post subject: [Freeswitch-users] get channel status |
|
|
Hi
I need to get the channel answer state for particular user. For example there is a GUI for outbound call where the a ajax program will run in the background of the program to get the answer state. after i originate a call from event socket the ajax program will start monitor the line answer state in the events plain CHANNEL_CREATE CHANNEL_ANSWER CHANNEL_HANGUP and also i can able to get the answer state as DIaling / Answered / Hangup by logging in one computer.
In another stage when logging as two different users in two different computer, once the call is originated from the two computers the ajax program starts the monitoring of the answer state line, but what happens when i hangup the call in one computer its showing in all computers as hangup in the answer state since the other computer is in the call.
Is there a api that I can get the channel answer state thru UUID. Is it possible?
--
Thank you with regards,
Gopal, |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Mon Nov 03, 2008 4:09 pm Post subject: [Freeswitch-users] get channel status |
|
|
the unique-id header in the event tells you the uuid.
On Mon, Nov 3, 2008 at 9:20 AM, Gopal krishnan <saigop@gmail.com (saigop@gmail.com)> wrote:
Quote: | Hi
I need to get the channel answer state for particular user. For example there is a GUI for outbound call where the a ajax program will run in the background of the program to get the answer state. after i originate a call from event socket the ajax program will start monitor the line answer state in the events plain CHANNEL_CREATE CHANNEL_ANSWER CHANNEL_HANGUP and also i can able to get the answer state as DIaling / Answered / Hangup by logging in one computer.
In another stage when logging as two different users in two different computer, once the call is originated from the two computers the ajax program starts the monitoring of the answer state line, but what happens when i hangup the call in one computer its showing in all computers as hangup in the answer state since the other computer is in the call.
Is there a api that I can get the channel answer state thru UUID. Is it possible?
--
Thank you with regards,
Gopal,
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
saigop at gmail.com Guest
|
Posted: Tue Nov 04, 2008 2:44 am Post subject: [Freeswitch-users] get channel status |
|
|
Hi,
Can this would help us
uuid_getvar <uuid> <varname>
like api uuid_getvar <uuid> Answer state:
--
Thank you with regards,
Gopal, |
|
Back to top |
|
|
saigop at gmail.com Guest
|
Posted: Tue Nov 04, 2008 4:14 am Post subject: [Freeswitch-users] get channel status |
|
|
Hi,
I tried like this
api uuid_getvar <uuid> endpoint_disposition but when the far end is ringing its showing as ANSWER in the telnet console since my local extension is answered.
I would like to show the endpoint_disposition for the far end.
my originate command is
api originate sofia/internal/1001%9894929942@172.20.191.228 (9894929942@172.20.191.228))
and moreover cant we use the Answer-State in uuid_getvar?
--
Thank you with regards,
Gopal, |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Tue Nov 04, 2008 9:53 am Post subject: [Freeswitch-users] get channel status |
|
|
if you have latest trunk you can test the new beta filter feature I am working on.
try
events all
filter unique-id <some uuid>
now you will only get events matching that uuid.
On Tue, Nov 4, 2008 at 3:00 AM, Gopal krishnan <saigop@gmail.com (saigop@gmail.com)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|