Michiel. To help better understand what xmlhttp does with asterisk, could you modify your tgx file and strip everything related to db and make a sort of hello world script? In fact, something small like connecting to the manager (of course, we each have to put our config there) and maybe issue a sip show peers and show how this can be done and update in realtime via web?
What do you think? This will elp grasp the concept of xmlhttp and connecting to the manager. |-----Original Message----- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED] On Behalf Of |Michiel van Baak |Sent: Mi�rcoles, 25 de Mayo de 2005 02:04 p.m. |To: [email protected] |Subject: Re: [Asterisk-Users] CRM integration (was RE: CallerID) | |On 10:17, Wed 25 May 05, Rusty Shackleford wrote: |> > -----Original Message----- |> > From: [EMAIL PROTECTED] |> > [mailto:[EMAIL PROTECTED] On Behalf |Of Anton |> > Krall |> > Sent: Wednesday, May 25, 2005 7:41 AM |> > To: 'Asterisk Users Mailing List - Non-Commercial Discussion' |> > Subject: RE: [Asterisk-Users] CRM integration (was RE: CallerID) |> > |> > |> > It doesn?t seem to be complicated but for example, the things that |> > bother me are refreshes, I don?t want to use meta |refreshes for this |> > monitoring webpage every X seconds, rather, use something more |> > realtime... Any ideas? |> |> And that's the real trick. Web browsers, unless they are |instructed to |> do otherwise, don't DO anything once they've completed |loading a page. |> So without instructing them to refresh, they aren't going to |be aware |> of a server-side change, such as an incoming call. For that, you're |> going | |This is not true. If it was for pure HTML only, yes, you are |correct. But with javascript you can start a timer and execute |a javascript function every once in a while. |If this javascript loads an XML document off the server, |you're there ;) | | |> to have to have some way of sending a message TO the client machine, |> have it received by that machine, and have that client machine take |> the desired action (pop up an incoming call dialog, load a contact |> record, etc.). |> | |Have a look at the tgz file I posted earlier | |> -- |> No virus found in this outgoing message. |> Checked by AVG Anti-Virus. |> Version: 7.0.322 / Virus Database: 266.11.14 - Release Date: |> 05/20/2005 |> |> |> _______________________________________________ |> Asterisk-Users mailing list |> [email protected] |> http://lists.digium.com/mailman/listinfo/asterisk-users |> To UNSUBSCRIBE or update options visit: |> http://lists.digium.com/mailman/listinfo/asterisk-users | |-- |Michiel van Baak |http://lunteren.vanbaak.info |[EMAIL PROTECTED] |GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D | |"Two of the most famous products of Berkeley are LSD and BSD. |I don't think that this is a coincidence." | |_______________________________________________ |Asterisk-Users mailing list |[email protected] |http://lists.digium.com/mailman/listinfo/asterisk-users |To UNSUBSCRIBE or update options visit: | http://lists.digium.com/mailman/listinfo/asterisk-users | _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
