Welcome, Guest. Please login or register.
Did you miss your activation email?
July 30, 2010, 12:11:32 AM
Home Help Search Login Register
News: Noojee Receptionist 3.5 Beta 2 released with Asterisk 1.6 support.
See the full details here.

+  Noojee Telephony Solutions Forums
|-+  Noojee Click
| |-+  Install Support
| | |-+  URI Variable=CalleridName=blah stops NoojeeClick working
« previous next »
Pages: [1] Print
Author Topic: URI Variable=CalleridName=blah stops NoojeeClick working  (Read 571 times)
murfett-au
Newbie
*
Offline Offline

Posts: 3


« on: April 21, 2009, 03:25:35 PM »

Hi,

I've managed to diagnose quite thoroughly exacty what my problems are with Noojee Click To Dial.

By looking at the Firefox error panel, I see that the Noojee Click application first authenticates:

14:59:43:207 debug: request=http://asteriskbox:8088/asterisk/mxml?action=Login&Username=username&Secret=notsilly&Events=call

and then originates a call by calling the following:

15:0:47:379 debug: request=http://asteriskbox:8088/asterisk/mxml?action=Originate&Channel=SIP/402&Exten=401&Context=from-internal&CallerId=401-NoojeeClick&Variable=CalleridName=401-NoojeeClick&Priority=1

but this does not work for me.  So I played around a bit (ok - I played around a lot really) and found that I could originate the call with the following two URLs called from a browser:

http://asteriskbox:8088/asterisk/mxml?action=Login&Username=username&Secret=notsilly&Events=call
(response is:
<ajax-response>

<response type="object" id="unknown">
<generic response="Success" message="Authentication accepted"/>
</response>
</ajax-response>

and then within HTTPTIMEOUT:

http://asteriskbox:8088/asterisk/mxml?action=Originate&Channel=SIP/402&Exten=0396119111&Context=from-internal&Priority=1

response to this originate request is:

<ajax-response>

<response type="object" id="unknown">
<generic response="Success" message="Originate successfully queued"/>
</response>
</ajax-response>

So contrasting the Originate URI that the noojee click application submitted with my working one:
the noojee URI has the folowing extra parameters:

CallerId=0312345678-NoojeeClick
and
Variable=CalleridName=0312345678-NoojeeClick

The problematic parameter is the Variable=CallidName one.

If I include CalledId=0312345678-NoojeeClick in my URI, it still originates the call, and my Linksys SPA942 displays "0312345678-NoojeeClick" as the callerID:
http://asteriskbox:8088/asterisk/mxml?action=originate&Channel=SIP/402&Exten=0396162636&Context=from-internal&Priority=1&CallerId=0312345678-NoojeeClick

I'm running Asterisk Core 2.5.1.6 on CentOS 5.2 with FreePBX installed.  There is one bug report I found about passing variables using originate command, but I don't this applies as I am not getting a segmentation fault :

http://bugs.digium.com/view.php?id=5737

What is the purpose of that
Variable=CalleridName=0312345678-NoojeeClick
and is it possible to turn it off somewhere in the options?
Logged
Brett Sutton
Asterisk IT Staff
Sr. Member
*****
Offline Offline

Posts: 404



« Reply #1 on: April 29, 2009, 04:14:37 PM »

The variable sets the handsets LCD display.
There is currently no means of turning of from the UI.

BTW your asterisk version doesn't make any sense.
All asterisk version start with a '1'.
e.g.
1.2.xxx
1.4.xxx
1.4.xxx

I would recommend upgrading to the latest 1.4.xx build and see if that fixes the problem.
Logged
murfett-au
Newbie
*
Offline Offline

Posts: 3


« Reply #2 on: April 29, 2009, 04:25:54 PM »

Sorry - my asterisk version is 1.4.24.1.

I did notice that another product - ThirdLane Dialer - does work, but does not give any called info on the SPA942 handsets.

I've just done another server build on a HP ML370, so I'll configure it for Noojee Click To Dial and see if it works.

Cheers
« Last Edit: April 29, 2009, 04:27:41 PM by murfett-au » 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!