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=1response 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-NoojeeClickI'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=5737What is the purpose of that
Variable=CalleridName=0312345678-NoojeeClick
and is it possible to turn it off somewhere in the options?