[Freeswitch-dev] Question about presence_id

Anthony Minessale anthony.minessale at gmail.com
Wed Nov 10 13:05:35 PST 2010


do you have a trace?


On Wed, Nov 10, 2010 at 1:41 PM, Beeton, Carolyn (Carolyn)
<cbeeton at avaya.com> wrote:
> I am trying to understand the PRESENCE_IN events that are sent on call init,
> answer, and hangup.  I have two endpoints registered to Freeswitch,
> configured in the dialplan with presence_id set.  One set calls the other.
>
> There is one event for each leg of the call, inbound and outbound.  The
> events contain the Channel-Name and the Channel-Presence-ID, and I would
> expect these to match (i.e. each event contains the presence_id of that
> leg), but it seems that for the inbound leg, they only match on the
> "ringing" event, not the "answered" and "hangup" event.  The two events for
> "answered" and "hangup" both have the presence_id of the callee, regardless
> of the Call-Direction.  Is this intentional? (I think it is the reason that
> lights stick on in certain scenarios - for example, if there are subscribers
> to the caller but not the callee then no notifications are sent on hangup)
>
> Carolyn
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-dev mailing list