[Freeswitch-users] Monitoring On-Hold/Off-Hold
João Mesquita
jmesquita at gmail.com
Wed Aug 5 10:55:37 PDT 2009
I only see one way out of this. If you manage presence, an event like the
following is sent:
Event-Name: PRESENCE_IN
Core-UUID: 189b12c0-7fb0-11de-b0bc-37eec03ad00f
FreeSWITCH-Hostname: cl-t146-421cl
FreeSWITCH-IPv4: XXXXXX
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2009-08-05%2013%3A42%3A24
Event-Date-GMT: Wed,%2005%20Aug%202009%2017%3A42%3A24%20GMT
Event-Date-Timestamp: 1249494144628132
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_presence
Event-Calling-Line-Number: 472
Channel-State: CS_HIBERNATE
Channel-State-Number: 8
Channel-Name: XXXXX
Unique-ID: 4e73668e-81e7-11de-b0bc-37eec03ad00f
Call-Direction: inbound
Presence-Call-Direction: inbound
Answer-State: answered
Caller-Username: 1000
Caller-Dialplan: XML
Caller-Caller-ID-Name: Mesquita
Caller-Caller-ID-Number: 1000
Caller-Network-Addr: XXXXX
Caller-Destination-Number: 1005
Caller-Unique-ID: 4e73668e-81e7-11de-b0bc-37eec03ad00f
Caller-Source: mod_sofia
Caller-Context: XXXXX
Caller-Channel-Name: XXXXX
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1249494132128119
Caller-Channel-Created-Time: 1249494132128119
Caller-Channel-Answered-Time: 1249494139500129
Caller-Channel-Progress-Time: 1249494132368119
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
Other-Leg-Username: 1000
Other-Leg-Dialplan: XML
Other-Leg-Caller-ID-Name: Joao%20Mesquita
Other-Leg-Caller-ID-Number: 1000
Other-Leg-Network-Addr: 190.2.41.65
Other-Leg-Destination-Number:
sip%3A1005%40192.168.0.106%3A4559%3Bfs_nat%3Dyes%3Bfs_path%3Dsip%253A1005%2540190.2.41.65%253A4559
Other-Leg-Unique-ID: 4e7622ac-81e7-11de-b0bc-37eec03ad00f
Other-Leg-Source: mod_sofia
Other-Leg-Context: XXXXX
Other-Leg-Channel-Name: XXXXXX
Other-Leg-Screen-Bit: true
Other-Leg-Privacy-Hide-Name: false
Other-Leg-Privacy-Hide-Number: false
proto: src/switch_channel.c
login: src/switch_channel.c
from: XXXXXX
rpid: unknown
status: hold
event_type: presence
alt_event_type: dialog
event_count: 3
Content-Length: 543
Content-Type: text/event-plain
Other than that, I think it can be patched. I will take a look at it.
Guys, should this be patched on the state machine itself or on the mod_sofia
channel_receive_message?
jmesquita
On Wed, Aug 5, 2009 at 1:35 PM, mayamatakeshi <mayamatakeshi at gmail.com>wrote:
> Hello,
> I'm using mod_event_socket to monitor FS.
> I'm using "events plain ALL' and I get lots of channel events. But
> curiously, when some channel puts the call on-hold/off-hold, I don't
> get any notification. Is it possible to get these events? Am I missing
> some setting?
>
> regards,
> takeshi
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090805/3648b22f/attachment-0002.html
More information about the FreeSWITCH-users
mailing list