[Freeswitch-dev] presence direction incorrect?

Anthony Minessale anthony.minessale at gmail.com
Wed Oct 20 13:35:22 PDT 2010


It may be wrong so I can't be sure enough to argue but this is how it
works properly for BLF you need to make sure that change works for
that too.
Did you find some dialog-info driven phones and use the blf features
to make sure they continue to work per our initial conversation?



On Wed, Oct 20, 2010 at 1:23 PM, Beeton, Carolyn (Carolyn)
<cbeeton at avaya.com> wrote:
> One more thing: the "direction" contained in the dialog NOTIFYs is
> backwards, I think:
>
> if (!strcasecmp(direction, "outbound")) {
>     direction = "recipient";
>     dft_state = "early";
> } else {
>     direction = "initiator";
>     dft_state = "confirmed";
> }
>
> should be either comparing on "inbound" or switched around.  I am seeing
> inbound dialogs being marked "initiator".  The observed user (the internal
> FS extension) was the recipient of the call.
>
> "This attribute is either initiator or recipient, and
>          indicates whether the observed user was the initiator of the
>          dialog, or the recipient of the INVITE that created it."
>
>
> _______________________________________________
> 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