List Info

Thread: CRM Pop-up integration, namely Sugarcrm




CRM Pop-up integration, namely Sugarcrm
user name
2006-07-17 06:58:42
Hello,

I have been able to get FOP to successfully pop-up calls for
extensions that
are not logged into a queue and for AgentCallback Logins,
however I can not
get users who use AgentLogin to receive those popups.  It
appears that a
different event is sent when a call is connected to an
AgentLogin user as
opposed to an AgentCallbackLogin user.  I have tried looking
through the
perl code to find where to make the changes but I haven't
been able to track
down where that is.  It appears that a "Link"
event occurs to bring the two
channels togetherwhen in AgentLogin mode.  Running debug=1
in fop this is
what I see appear right before the Link event:

---------------------------------------------------
SESIONES BOTONES 1
---------------------------------------------------
        sesbot(7) = SIP/5001-f3cc
        sesbot(3AGENTS) = SIP/5002-3f9e
        sesbot(2AGENTS) = SIP/5001-f3cc
        sesbot(8) = SIP/5002-3f9e
        sesbot(62AGENTS) = SIP/5002-3f9e
---------------------------------------------------
---------------------------------------------------
SESIONES BOTONES 2
---------------------------------------------------
        sesbot(7) = SIP/5001-f3cc
        sesbot(3AGENTS) = SIP/5002-3f9e
        sesbot(2AGENTS) = SIP/5001-f3cc
        sesbot(8) = SIP/5002-3f9e
        sesbot(62AGENTS) = SIP/5002-3f9e
---------------------------------------------------

An answer/solution would be great, but if you can point me
in the right
direction I can probably figure it out.

Thanks
-- 
Ryan Wyse
CRM Pop-up integration, namely Sugarcrm
user name
2006-07-17 17:15:14
Hi Ryan,

I did not think about it, but it makes sense: the regular
popups are 
fired when a channel is in state Ringing. I believe that an
agentlogin 
is in standby state, and it never reaches the ringing event.

To make it work the popup should be fired on another event:
maybe the 
link event, or agentconnect/agentcalled event if you use 
eventwhencalled. Or you can use UserEvent to fire popups on
arbitrary 
places.

Regards,

On Jul 17, 2006, at 3:58 AM, Ryan Wyse wrote:

> Hello,
>
> I have been able to get FOP to successfully pop-up
calls for 
> extensions that
> are not logged into a queue and for AgentCallback
Logins, however I 
> can not
> get users who use AgentLogin to receive those popups. 
It appears that 
> a
> different event is sent when a call is connected to an
AgentLogin user 
> as
> opposed to an AgentCallbackLogin user.  I have tried
looking through 
> the
> perl code to find where to make the changes but I
haven't been able to 
> track
> down where that is.  It appears that a
"Link" event occurs to bring 
> the two
> channels togetherwhen in AgentLogin mode.  Running
debug=1 in fop this 
> is
> what I see appear right before the Link event:
>
> ---------------------------------------------------
> SESIONES BOTONES 1
> ---------------------------------------------------
>        sesbot(7) = SIP/5001-f3cc
>        sesbot(3AGENTS) = SIP/5002-3f9e
>        sesbot(2AGENTS) = SIP/5001-f3cc
>        sesbot(8) = SIP/5002-3f9e
>        sesbot(62AGENTS) = SIP/5002-3f9e
> ---------------------------------------------------
> ---------------------------------------------------
> SESIONES BOTONES 2
> ---------------------------------------------------
>        sesbot(7) = SIP/5001-f3cc
>        sesbot(3AGENTS) = SIP/5002-3f9e
>        sesbot(2AGENTS) = SIP/5001-f3cc
>        sesbot(8) = SIP/5002-3f9e
>        sesbot(62AGENTS) = SIP/5002-3f9e
> ---------------------------------------------------
>
> An answer/solution would be great, but if you can point
me in the right
> direction I can probably figure it out.
>
> Thanks
> -- 
> Ryan Wyse
>
--
Nicolas Gudino
Buenos Aires - Argentina



Flash Operator Panel Mailing List

To unsubscribe send an empty message to:
   <operator_panel-unsubscribelists.house.com.ar>
To get help send an empty message to:
   <operator_panel-helplists.house.com.ar>
The archives can be found at:
   http:/
/www.asternic.org/archives/maillist.html


CRM Pop-up integration, namely Sugarcrm
user name
2006-07-17 18:41:05
Is that something where I can copy code from the ringing
event in
op_server.pl to the link event.  Or is it something that
needs to be changed
in the flash client and recompiled?

Ryan

On 7/17/06, Nicolás Gudiño <nicolashouse.com.ar> wrote:
>
> Hi Ryan,
>
> I did not think about it, but it makes sense: the
regular popups are
> fired when a channel is in state Ringing. I believe
that an agentlogin
> is in standby state, and it never reaches the ringing
event.
>
> To make it work the popup should be fired on another
event: maybe the
> link event, or agentconnect/agentcalled event if you
use
> eventwhencalled. Or you can use UserEvent to fire
popups on arbitrary
> places.
>
> Regards,
>
> On Jul 17, 2006, at 3:58 AM, Ryan Wyse wrote:
>
> > Hello,
> >
> > I have been able to get FOP to successfully pop-up
calls for
> > extensions that
> > are not logged into a queue and for AgentCallback
Logins, however I
> > can not
> > get users who use AgentLogin to receive those
popups.  It appears that
> > a
> > different event is sent when a call is connected
to an AgentLogin user
> > as
> > opposed to an AgentCallbackLogin user.  I have
tried looking through
> > the
> > perl code to find where to make the changes but I
haven't been able to
> > track
> > down where that is.  It appears that a
"Link" event occurs to bring
> > the two
> > channels togetherwhen in AgentLogin mode.  Running
debug=1 in fop this
> > is
> > what I see appear right before the Link event:
> >
> >
---------------------------------------------------
> > SESIONES BOTONES 1
> >
---------------------------------------------------
> >        sesbot(7) = SIP/5001-f3cc
> >        sesbot(3AGENTS) = SIP/5002-3f9e
> >        sesbot(2AGENTS) = SIP/5001-f3cc
> >        sesbot(8) = SIP/5002-3f9e
> >        sesbot(62AGENTS) = SIP/5002-3f9e
> >
---------------------------------------------------
> >
---------------------------------------------------
> > SESIONES BOTONES 2
> >
---------------------------------------------------
> >        sesbot(7) = SIP/5001-f3cc
> >        sesbot(3AGENTS) = SIP/5002-3f9e
> >        sesbot(2AGENTS) = SIP/5001-f3cc
> >        sesbot(8) = SIP/5002-3f9e
> >        sesbot(62AGENTS) = SIP/5002-3f9e
> >
---------------------------------------------------
> >
> > An answer/solution would be great, but if you can
point me in the right
> > direction I can probably figure it out.
> >
> > Thanks
> > --
> > Ryan Wyse
> >
> --
> Nicolas Gudino
> Buenos Aires - Argentina
>
>
>
> Flash Operator Panel Mailing List
>
> To unsubscribe send an empty message to:
>    <operator_panel-unsubscribelists.house.com.ar>
> To get help send an empty message to:
>    <operator_panel-helplists.house.com.ar>
> The archives can be found at:
>    http:/
/www.asternic.org/archives/maillist.html
>
>
>


-- 
Ryan Wyse
CRM Pop-up integration, namely Sugarcrm
user name
2006-07-18 07:02:21
This is definately a hack, but it works:

I added the following lines after line 3741 in op_server.pl
(added to the
$evento = "link" section)

                my $base64_clidnum = encode_base64( $clid2 .
" " );
                $ret =
"$canal2|clidnum|$base64_clidnum|$uniqueid2|$channel2c
onses";
                push return, $ret;
                my $base64_clidname = encode_base64( $clid2
. " " );
                $ret =
"$canal2|clidname|$base64_clidname|$uniqueid2|$channel
2conses";
                push return, $ret;
                $texto        =
"&incoming,[" . $clid2 . "]";
                $ret =
"$canal2|ringing|$texto|$uniqueid2|$channel2conses&qu
ot;;
                push return, $ret;

I suppose it could be simplified by using the simpler syntax
i.e.
my $base64_clidnum = encode_base64( $clid2 . " "
);
push return,
"$canal2|clidnum|$base64_clidnum|$uniqueid2|$channel2c
onses";
my $base64_clidname = encode_base64( $clid2 . "
" );
push return,
"$canal2|clidname|$base64_clidname|$uniqueid2|$channel
2conses";
push return,
"$canal2|ringing|$texto|$uniqueid2|$channel2conses&qu
ot;;

Right now I just have it throwing clidnum in for the
clidname because I
don't really have a need for clidname.  If there is an easy
way to add that
in let me know.




On 7/17/06, Nicolás Gudiño <nicolashouse.com.ar> wrote:
>
> Hi Ryan,
>
> I did not think about it, but it makes sense: the
regular popups are
> fired when a channel is in state Ringing. I believe
that an agentlogin
> is in standby state, and it never reaches the ringing
event.
>
> To make it work the popup should be fired on another
event: maybe the
> link event, or agentconnect/agentcalled event if you
use
> eventwhencalled. Or you can use UserEvent to fire
popups on arbitrary
> places.
>
> Regards,
>
> On Jul 17, 2006, at 3:58 AM, Ryan Wyse wrote:
>
> > Hello,
> >
> > I have been able to get FOP to successfully pop-up
calls for
> > extensions that
> > are not logged into a queue and for AgentCallback
Logins, however I
> > can not
> > get users who use AgentLogin to receive those
popups.  It appears that
> > a
> > different event is sent when a call is connected
to an AgentLogin user
> > as
> > opposed to an AgentCallbackLogin user.  I have
tried looking through
> > the
> > perl code to find where to make the changes but I
haven't been able to
> > track
> > down where that is.  It appears that a
"Link" event occurs to bring
> > the two
> > channels togetherwhen in AgentLogin mode.  Running
debug=1 in fop this
> > is
> > what I see appear right before the Link event:
> >
> >
---------------------------------------------------
> > SESIONES BOTONES 1
> >
---------------------------------------------------
> >        sesbot(7) = SIP/5001-f3cc
> >        sesbot(3AGENTS) = SIP/5002-3f9e
> >        sesbot(2AGENTS) = SIP/5001-f3cc
> >        sesbot(8) = SIP/5002-3f9e
> >        sesbot(62AGENTS) = SIP/5002-3f9e
> >
---------------------------------------------------
> >
---------------------------------------------------
> > SESIONES BOTONES 2
> >
---------------------------------------------------
> >        sesbot(7) = SIP/5001-f3cc
> >        sesbot(3AGENTS) = SIP/5002-3f9e
> >        sesbot(2AGENTS) = SIP/5001-f3cc
> >        sesbot(8) = SIP/5002-3f9e
> >        sesbot(62AGENTS) = SIP/5002-3f9e
> >
---------------------------------------------------
> >
> > An answer/solution would be great, but if you can
point me in the right
> > direction I can probably figure it out.
> >
> > Thanks
> > --
> > Ryan Wyse
> >
> --
> Nicolas Gudino
> Buenos Aires - Argentina
>
>
>
> Flash Operator Panel Mailing List
>
> To unsubscribe send an empty message to:
>    <operator_panel-unsubscribelists.house.com.ar>
> To get help send an empty message to:
>    <operator_panel-helplists.house.com.ar>
> The archives can be found at:
>    http:/
/www.asternic.org/archives/maillist.html
>
>
>


-- 
Ryan Wyse
CRM Pop-up integration, namely Sugarcrm
user name
2006-07-18 07:02:21
This is definately a hack, but it works:

I added the following lines after line 3741 in op_server.pl
(added to the
$evento = "link" section)

                my $base64_clidnum = encode_base64( $clid2 .
" " );
                $ret =
"$canal2|clidnum|$base64_clidnum|$uniqueid2|$channel2c
onses";
                push return, $ret;
                my $base64_clidname = encode_base64( $clid2
. " " );
                $ret =
"$canal2|clidname|$base64_clidname|$uniqueid2|$channel
2conses";
                push return, $ret;
                $texto        =
"&incoming,[" . $clid2 . "]";
                $ret =
"$canal2|ringing|$texto|$uniqueid2|$channel2conses&qu
ot;;
                push return, $ret;

I suppose it could be simplified by using the simpler syntax
i.e.
my $base64_clidnum = encode_base64( $clid2 . " "
);
push return,
"$canal2|clidnum|$base64_clidnum|$uniqueid2|$channel2c
onses";
my $base64_clidname = encode_base64( $clid2 . "
" );
push return,
"$canal2|clidname|$base64_clidname|$uniqueid2|$channel
2conses";
push return,
"$canal2|ringing|$texto|$uniqueid2|$channel2conses&qu
ot;;

Right now I just have it throwing clidnum in for the
clidname because I
don't really have a need for clidname.  If there is an easy
way to add that
in let me know.




On 7/17/06, Nicolás Gudiño <nicolashouse.com.ar> wrote:
>
> Hi Ryan,
>
> I did not think about it, but it makes sense: the
regular popups are
> fired when a channel is in state Ringing. I believe
that an agentlogin
> is in standby state, and it never reaches the ringing
event.
>
> To make it work the popup should be fired on another
event: maybe the
> link event, or agentconnect/agentcalled event if you
use
> eventwhencalled. Or you can use UserEvent to fire
popups on arbitrary
> places.
>
> Regards,
>
> On Jul 17, 2006, at 3:58 AM, Ryan Wyse wrote:
>
> > Hello,
> >
> > I have been able to get FOP to successfully pop-up
calls for
> > extensions that
> > are not logged into a queue and for AgentCallback
Logins, however I
> > can not
> > get users who use AgentLogin to receive those
popups.  It appears that
> > a
> > different event is sent when a call is connected
to an AgentLogin user
> > as
> > opposed to an AgentCallbackLogin user.  I have
tried looking through
> > the
> > perl code to find where to make the changes but I
haven't been able to
> > track
> > down where that is.  It appears that a
"Link" event occurs to bring
> > the two
> > channels togetherwhen in AgentLogin mode.  Running
debug=1 in fop this
> > is
> > what I see appear right before the Link event:
> >
> >
---------------------------------------------------
> > SESIONES BOTONES 1
> >
---------------------------------------------------
> >        sesbot(7) = SIP/5001-f3cc
> >        sesbot(3AGENTS) = SIP/5002-3f9e
> >        sesbot(2AGENTS) = SIP/5001-f3cc
> >        sesbot(8) = SIP/5002-3f9e
> >        sesbot(62AGENTS) = SIP/5002-3f9e
> >
---------------------------------------------------
> >
---------------------------------------------------
> > SESIONES BOTONES 2
> >
---------------------------------------------------
> >        sesbot(7) = SIP/5001-f3cc
> >        sesbot(3AGENTS) = SIP/5002-3f9e
> >        sesbot(2AGENTS) = SIP/5001-f3cc
> >        sesbot(8) = SIP/5002-3f9e
> >        sesbot(62AGENTS) = SIP/5002-3f9e
> >
---------------------------------------------------
> >
> > An answer/solution would be great, but if you can
point me in the right
> > direction I can probably figure it out.
> >
> > Thanks
> > --
> > Ryan Wyse
> >
> --
> Nicolas Gudino
> Buenos Aires - Argentina
>
>
>
> Flash Operator Panel Mailing List
>
> To unsubscribe send an empty message to:
>    <operator_panel-unsubscribelists.house.com.ar>
> To get help send an empty message to:
>    <operator_panel-helplists.house.com.ar>
> The archives can be found at:
>    http:/
/www.asternic.org/archives/maillist.html
>
>
>


-- 
Ryan Wyse
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )