Welcome, Guest. Please login or register.
Did you miss your activation email?
September 03, 2010, 02:34:57 PM
Home Help Search Login Register
News: Version 3.0 of Noojee Fax has been released.
Order it now from here.

+  Noojee Telephony Solutions Forums
|-+  Noojee Click
| |-+  General Discussion
| | |-+  Noojee Click 0.6.0 beta released
« previous next »
Pages: [1] Print
Author Topic: Noojee Click 0.6.0 beta released  (Read 2132 times)
Brett Sutton
Asterisk IT Staff
Sr. Member
*****
Offline Offline

Posts: 411



« on: December 11, 2008, 09:20:42 AM »

A number of people have now asked me to provide a beta version of Noojee Click 0.6.0.

So here it is Noojee Click 0.6.0 Beta 1 (see attachment).

Warning, Warning, Warning Will Robertson....

For 0.6.0 I have done almost a complete rewrite of the interaction between Noojee Click and Asterisk.
Of particular note is that Noojee Click now registers for events as soon as the browser starts up.
As yet I'm uncertain of the performance impact on this design decision in large asterisk environments.

The beta has the following changes:
New Hangup option on the Noojee Click menu.
New smaller icon inserted next to phone numbers.
Support for a user defineable set of delimiters
Support for Asterisk Appliances as we now let the user specify the HTTP Prefix under the Advanced tab.
Split messages into Log vs Debug messages with option to control the output of each.
Note : we don't recommend running the system with either on, as it slows things down considerable.
Support for Asterisk 1.2, 1.4 and now 1.6.
Added new 'Exclusion' tab in the configuration to allow Noojee Click to be disabled for specific web sites.
Added ability to explicitly set the caller id
Added call progress messages (not complete in beta 1).
Improved error messages when connection fails (still more work to be done here).

Bug fixes
Fixed a bug where dialing a local sip extension would cause that extension to autoanswer.
Fixed a bug where dial from clipboard wasn't stripping white space.


If you find any problems please post them to this forum.

* noojeeclick-0.6.0.xpi (34.47 KB - downloaded 96 times.)
Logged
jwick6990
Newbie
*
Offline Offline

Posts: 5


Email
« Reply #1 on: December 18, 2008, 06:17:04 AM »

Is there a particular context I should use to set outbound caller id?  I've tried numerous options, including just the number, the number in the customary brackets <>, the number in quotes, etc., and none seem to be setting my outbound CID properly.  The CID is showing as either unknown or a default number for my local Atlanta Vitelity trunk.

Also, the option to use a "." as a delimiter doesn't seem to be working properly, either.  The pattern has been set and I added a "." in the delimiter field, but those numbers are still not being recognized.

Please let me know any possible workarounds, and I'd be happy to give you more details as needed.  And THANK YOU for the excellent add-on...

Jason
Logged
Thomas
Newbie
*
Offline Offline

Posts: 8


« Reply #2 on: December 23, 2008, 04:52:30 PM »

Still get the error:

22:44:58:329 debug: sequence.load: 4:200:OK:undefined:<ajax-response>
<response type='object' id='unknown'><generic response='Error' message='Authentication Required' /></response>
</ajax-response>


Can manually enter code in address bar to dial. Does click need some extra rights?

  Tom
Logged
Brett Sutton
Asterisk IT Staff
Sr. Member
*****
Offline Offline

Posts: 411



« Reply #3 on: January 12, 2009, 04:17:45 PM »

hmm. If you can do it from the address bar then it should work from NC.

There is a known bug with 0.6 in that if the browser looses connection with the server NC won't restart the connection and start throwing auth req. errors.

However doing a refresh of the browser page fixes this problem.

I'm not convinced this is the same issue. Does NC ever work for you?
Logged
Thomas
Newbie
*
Offline Offline

Posts: 8


« Reply #4 on: January 14, 2009, 01:14:39 PM »

Has never worked.

Get error box:

Java Script Application

Dial failed: Authentication Required



Could be some extensions messing up the browser?

   Tom

Logged
Thomas
Newbie
*
Offline Offline

Posts: 8


« Reply #5 on: January 14, 2009, 01:57:45 PM »

Notice in the Error Console....

19:46:16:86 debug: AutoAnswer=true handsetType=Snom
19:46:16:86 debug: manufacturer(i)=Snom

.... although Polycom is set as Phone Type.

    Tom
Logged
Brett Sutton
Asterisk IT Staff
Sr. Member
*****
Offline Offline

Posts: 411



« Reply #6 on: January 15, 2009, 10:02:10 PM »

OK, found the problem and fixed it. I will post a patch version of the 0.6 beta next week.
Logged
Brett Sutton
Asterisk IT Staff
Sr. Member
*****
Offline Offline

Posts: 411



« Reply #7 on: January 15, 2009, 10:18:42 PM »

tom can you provide a copy of the javascript error console with debug enabled on the Noojee Click Advanced tab.
It looks to me like something is stoppping the initialisation code from running.

When a page first loads  noojee click authenticates against the asterisk server. If this code fails then the dial will also fail.

The error log may help me understand why the original authentication failed.
Logged
Brett Sutton
Asterisk IT Staff
Sr. Member
*****
Offline Offline

Posts: 411



« Reply #8 on: January 15, 2009, 11:42:13 PM »

I've found the problem with using the dot as a delimiter. The issue is that dial patterns use the dot to represent one or more characters and then if you define a dot as a delimiter the system gets confused.

I need to re-think the set of dial patterns.
I'm think of remove the dot as a patten match as from my own experience I've not found it very useful. I will think on it but I will probably remove the dot as a wildcard pattern matcher which will then allow us to use it as a delimiter.
Logged
Thomas
Newbie
*
Offline Offline

Posts: 8


« Reply #9 on: January 16, 2009, 08:17:27 AM »

Brett:

Here is the clip:

14:11:26:423 debug: onEnableShowing called
14:11:40:685 debug: Asterisk.dial=6045311915
14:11:40:686 debug: sequence: [object Object],[object Object]:6045311915
14:11:40:686 debug: sequence.run this=[object Object]
14:11:40:686 debug: jobs=[object Object],[object Object]
14:11:40:686 debug: currentJob =[object Object]
14:11:40:686 debug: normalizePhoneNo for 6045311915
14:11:40:687 debug: delimiters=()-/
14:11:40:687 debug: completed replace
14:11:40:687 debug: completed replace 2 phoneNo=6045311915
14:11:40:687 debug: dialPrefix=
14:11:40:687 debug: channel=&channel=SIP/616
14:11:40:687 debug: genURL(command)=originate
14:11:40:688 debug: serverType=AJAM
14:11:40:688 debug: genURL ret=http://10.0.0.123:80/mxml?action=originate
14:11:40:688 debug: url=http://10.0.0.123:80/mxml?action=originate&channel=SIP/616&exten=6045311915&context=DLPN_Default_DialPlan&CallerId=6045311915-NoojeeClick&variable=calleridname=6045311915-NoojeeClick&variable=calleridnum=83208111
14:11:40:688 debug: AutoAnswer=false handsetType=Polycom
14:11:40:688 debug: Dialing
14:11:40:688 debug: dialurl=http://10.0.0.123:80/mxml?action=originate&channel=SIP/616&exten=6045311915&context=DLPN_Default_DialPlan&CallerId=6045311915-NoojeeClick&variable=calleridname=6045311915-NoojeeClick&variable=calleridnum=83208111&priority=1
14:11:40:689 debug: request this=[object Object]
14:11:40:696 debug: request=http://10.0.0.123:80/mxml?action=originate&channel=SIP/616&exten=6045311915&context=DLPN_Default_DialPlan&CallerId=6045311915-NoojeeClick&variable=calleridname=6045311915-NoojeeClick&variable=calleridnum=83208111&priority=1
14:11:40:927 debug: load this=[object XMLHttpRequest]
14:11:40:927 debug: sequence.load: 4:200:OK:undefined:<ajax-response>
<response type='object' id='unknown'><generic response='Error' message='Authentication Required' /></response>
</ajax-response>
14:11:40:928 debug: Parsing:<ajax-response>
<response type='object' id='unknown'><generic response='Error' message='Authentication Required' /></response>
</ajax-response>
14:11:40:928 debug: running AJAM or NJVision
14:11:40:928 info: Dial Failed
14:11:40:928 info: showError r=Error m=Dial failed: Authentication Required
14:11:45:317 debug: sequence completed
Logged
Brett Sutton
Asterisk IT Staff
Sr. Member
*****
Offline Offline

Posts: 411



« Reply #10 on: January 16, 2009, 09:48:47 PM »

Sorry I didn't detail my explaination sufficiently.

I need the java error logs from when the page loads not from when you dial.
The authentication actually occurs as soon as the page loads not during the dial.

Logged
Thomas
Newbie
*
Offline Offline

Posts: 8


« Reply #11 on: January 18, 2009, 11:54:27 AM »

Brett:

PROBLEM SOLVED!!!!!

Everything seem to point to Firefox.

It is recommended security to turn "Accept third-party cookies" OFF.
However this makes CLICK fail.

It appears to authenticate and then promptly times out

== HTTP Manager 'click' logged on from 10.0.0.160

  == HTTP Manager 'click' timed out from 10.0.0.160

Thus you must either....

check the box "Accept third-party cookies"

or add an exception to allow cookies from the asterisk server.



Now I can proceed to rollout your most excellent program!

(Next we need a way to dial outlook contacts)

     Tom
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!