Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: About Third Party Call Control interface of Quadro

  1. #11

    Default what about the sample applications from epygi

    I tried to use the sample applications provided by epygi to create a call, but was not successful. Can this mean that there is some configuration issue on the server?

  2. #12
    Quadro Architect
    Join Date
    Jun 2006
    Location
    Around myself
    Posts
    2,075

    Default

    Something tells me that there can be a problem in the PHP samples provided in the pack...
    After more checking I found that there might be incompatibility between the published PHP script and the current 3PCC interface (the script is old).

    Can you please try the attached updated files and tell how it goes?
    Those are the latest, so if they don't work, probably there should be other problem.
    Attached Files Attached Files

  3. #13

    Default latest scripts dont work

    Thanks for the swift responses dave. But the latest scripts dont work as well. What other problem can there be?

    One more thing; what shoukd be the exact behavior of the call when I create one using the php sample provided by you. I mean should it call from first then to or vice-versa?

    Thanks again for responding. You guys have been really helpful.

  4. #14
    Quadro Architect
    Join Date
    Jun 2006
    Location
    Around myself
    Posts
    2,075

    Default

    Well, the expected behaviour of the Call(A,B) function is: the B phone will ring, indicating A as caller. After B answers, the user will listen silence. Thats it.
    The expected behaviour of the Join(A,B,C,D,null) is: B will ring, indicating A as caller. After B answers, user will hear nothing, but then D will ring, indicating C as caller. After D answers, the B and D will listen to each other.
    The expected behaviour of Transfer(A,B,C) is: B will ring, indicating the A as caller. After B answers, the call will be transferred, so B will listen ringback tone, and the C will ring. As soon as C answer, he will talk to B.

    All that should have been written in the readme.txt or in the appropriate document, but it is not. Sorry for that. I'll spur on this, so hopefully we'll publish the updated doc soon.

    Best regards,
    David

    P.S. The described bahaviour may seem a bit senless, but please note that those functions are just samples, which developer can use for reference, that is not an actual API, or moreover a ready application. Any meaningful behaviour is supposed to be programmed by user-developer (you in this case ), using the PHP sample as a reference code.

  5. #15

    Default configuration issue???

    Hi David,

    I got the part that the functions provided are sample functions but aren't they working functions. I can't get them to behave the way they are supposed to in my case. I was thinking that it might be some configuration issue on the quadro server side. Any suggestions on where I could look?

    Thanks

  6. #16

    Default

    Does the sample vb executables work? You have got a valid 3PCC key haven't you?

    I haven't used it much other than some initial testing a while back but the sample apps defiiately worked for me.

    When you say the scripts don't work - exactly what is the issue? How far does the script get? Does it authenicate?

    So many questions, so little time......

  7. #17

    Unhappy

    None of the sample applications work (including VB). I know I have a valid 3pcc key as I can call using softphones (for the reference, I use PortSIP). When I say the scripts dont work I mean to say that the call is not getting created. This is what happens:

    For now, I cannot create a call between any two extensions present on the quadro server. There are different errors on different times. For e.g the error I am getting now is a "Timeout Occurred" error when trying Join('00','pbx:313','00','00919916936554',null), where
    00 - attendent extension on quadro
    pbx:313 - an extension on quadro to which i am logged in
    00919916936554 - is my mobile number.

    It just says error on the browser. I logged in to the quadro server and found this error message under Unsuccessful calls.

    On the other hand if I try Join('00','00919916936554','00','00919986206206',n ull), both numbers get connected but none can hear a thing (I mean after picking up).

    I tried using Transfer as well but that failed with the same errors.

    Any help???

  8. #18
    Quadro Architect
    Join Date
    Jun 2006
    Location
    Around myself
    Posts
    2,075

    Default

    Well, this is getting even more interesting.. Looks like your problem is on the Quadro side, not the PC application/script.
    Lets do the following tow things:

    1. First of all make sure you have bought and installed correctly the 3PCC feature key. Running softphone has nothing to do with teh 3PCC interface, as softphone works just like a normal phone, without any usage of 3pcc. Please go to "System"->"Features" page and see if you have "Activated" indicated on the "Support for Third Party Call Control" line in the table.

    2. If the key is really activated, please go to the "System"->"Diagnostics"->"Show System Logs"->"View System Logs", enter "extcc.log" on the single editbox on that page, and press "Show Custom Log" (the link near that editbox). This will print the 3pcc log on the browser. Please copy that and paste here, so we can see what happens there.

    Thanks,
    David

  9. #19

    Default

    Hi,

    I have the 3pcc feature activated.

    The extcc.log had these entries:

    71499
    .188 CCS: ProcessXmlRpcRequest. Processing call... 4714775407792071499
    .190 CCS: ProcessXmlRpcRequest. Sending response...
    .192 CCS: BuildAndSendXml. Sending data (155 bytes)...
    .192
    <?xml version="1.0"?>
    <methodResponse>
    <params>
    <param>
    <value><string>4714775407792071499</string></value>
    </param>
    </params>
    </methodResponse>


    .193 CCS: BuildAndSendXml. Sent...
    .194 Call: Create. from: 311, to: 313. display name: . 4714775407792071499
    .195 ExtCallControl. CreateCallReceived. from: 311, to:313@:. display name: . 4714775407792071499
    .247 ExtCallControl. CallStateChanged. callState: 0. 4714775407792071499
    .289 CCS: BuildAndSendXml. Sending data (269 bytes)...
    .289
    <?xml version="1.0"?>
    <methodCall>
    <methodName>Services.CallProcessingService.callsta techanged</methodName>
    <params>
    <param>
    <value><string>4714775407792071499</string></value>
    </param>
    <param>
    <value><int>0</int></value>
    </param>
    </params>
    </methodCall>


    .290 CCS: BuildAndSendXml. Sent...
    .291 CCS: Thread. Entering to select count = 19, timeout = 10.
    .292 CCS: Thread. Leaving from select. ret = 1, sockerror 17.
    .293 CCS: Thread. Entering to select count = 19, timeout = 10.
    .752 CCS: Thread. Leaving from select. ret = 1, sockerror 17.
    .753 CCS: ProcessIncomingXmlRpc. Received data...
    .753
    <?xml version='1.0'?><methodResponse>
    <params>
    <param>
    <value><string>4714775407792071499</string></value>
    </param>
    </params>
    </methodResponse>
    .757 CCS: ProcessXmlRpcResponse. Processing call... 4714775407792071499
    .758 CCS: Thread. Entering to select count = 19, timeout = 0.
    11:18:29.271 ExtCallControl. CallStateChanged. callState: 6. 4714775407792071499
    .295 CCS: Thread. Leaving from select. ret = 1, sockerror 17.
    .299 CCS: BuildAndSendXml. Sending data (269 bytes)...
    .299
    <?xml version="1.0"?>
    <methodCall>
    <methodName>Services.CallProcessingService.callsta techanged</methodName>
    <params>
    <param>
    <value><string>4714775407792071499</string></value>
    </param>
    <param>
    <value><int>6</int></value>
    </param>
    </params>
    </methodCall>


    .300 CCS: BuildAndSendXml. Sent...
    .301 CCS: Thread. Entering to select count = 19, timeout = 10.
    11:18:39.242 CCS: Thread. Leaving from select. ret = 0, sockerror 17.
    .244 CCS: Request failed... 4714775407792071499
    .244 Call: Delete. (C:2) 4714775407792071499
    .245 CCS: Thread. Entering to select count = 19, timeout = 0.
    11:19:01.950 CCS: Thread. Leaving from select. ret = 1, sockerror 17.
    .951 CCS: Create. (C:19)
    .952 CCS: Thread. Entering to select count = 20, timeout = 0.
    .968 CCS: Thread. Leaving from select. ret = 1, sockerror 17.
    .969 CCS: ProcessIncomingXmlRpc. Received data...
    .970
    <?xml version="1.0" encoding="iso-8859-1"?>
    <methodCall>
    <methodName>Services.CallProcessingService.authent icate</methodName>
    <params>
    <param>
    <value>
    <string>admin</string>
    </value>
    </param>
    <param>
    <value>
    <string>931978</string>
    </value>
    </param>
    </params>
    </methodCall>

    .975 CCS: ProcessXmlRpcRequest
    .980 Call: Create. (C:3) 0
    .980 Call: AuthenticateCB. admin
    .981 CCS: Authenticate:
    11:19:02.023 CCS: Authenticate. Sending authenticate response...
    .026 CCS: BuildAndSendXml. Sending data (206 bytes)...
    .026
    <?xml version="1.0"?>
    <methodResponse>
    <params>
    <param>
    <value><boolean>1</boolean></value>
    </param>
    <param>
    <value><string>Authenticated.</string></value>
    </param>
    </params>
    </methodResponse>


    .027 CCS: BuildAndSendXml. Sent...
    .028 Call: Delete. (C:2) 0
    .029 CCS: Thread. Entering to select count = 20, timeout = 0.
    .303 CCS: Thread. Leaving from select. ret = 1, sockerror 17.
    .304 CCS: ProcessIncomingXmlRpc. Received data...
    .305
    <?xml version="1.0" encoding="iso-8859-1"?>
    <methodCall>
    <methodName>Services.CallProcessingService.createc all</methodName>
    <params>
    <param>
    <value>
    <string>7088820024538853130</string>
    </value>
    </param>
    <param>
    <value>
    <string>311</string>
    </value>
    </param>
    <param>
    <value>
    <string>pbx:313</string>
    </value>
    </param>
    </params>
    </methodCall>

    .312 CCS: ProcessXmlRpcRequest
    .312 Call: Create. (C:3) 7088820024538853130
    .313 CCS: ProcessXmlRpcRequest. Processing call... 7088820024538853130
    .315 CCS: ProcessXmlRpcRequest. Sending response...
    .316 CCS: BuildAndSendXml. Sending data (155 bytes)...
    .317
    <?xml version="1.0"?>
    <methodResponse>
    <params>
    <param>
    <value><string>7088820024538853130</string></value>
    </param>
    </params>
    </methodResponse>


    .318 CCS: BuildAndSendXml. Sent...
    .319 Call: Create. from: 311, to: 313. display name: . 7088820024538853130
    .320 ExtCallControl. CreateCallReceived. from: 311, to:313@:. display name: . 7088820024538853130
    .344 ExtCallControl. CallStateChanged. callState: 0. 7088820024538853130
    .415 CCS: BuildAndSendXml. Sending data (269 bytes)...
    .416
    <?xml version="1.0"?>
    <methodCall>
    <methodName>Services.CallProcessingService.callsta techanged</methodName>
    <params>
    <param>
    <value><string>7088820024538853130</string></value>
    </param>
    <param>
    <value><int>0</int></value>
    </param>
    </params>
    </methodCall>


    .416 CCS: BuildAndSendXml. Sent...
    .417 CCS: Thread. Entering to select count = 20, timeout = 10.
    .418 CCS: Thread. Leaving from select. ret = 1, sockerror 17.
    .419 CCS: Thread. Entering to select count = 20, timeout = 10.
    .915 CCS: Thread. Leaving from select. ret = 1, sockerror 17.
    .917 CCS: ProcessIncomingXmlRpc. Received data...
    .917
    <?xml version='1.0'?><methodResponse>
    <params>
    <param>
    <value><string>7088820024538853130</string></value>
    </param>
    </params>
    </methodResponse>
    .921 CCS: ProcessXmlRpcResponse. Processing call... 7088820024538853130
    .922 CCS: Thread. Entering to select count = 20, timeout = 0.
    11:19:07.391 ExtCallControl. CallStateChanged. callState: 6. 7088820024538853130
    .416 CCS: Thread. Leaving from select. ret = 1, sockerror 17.
    .419 CCS: BuildAndSendXml. Sending data (269 bytes)...
    .420
    <?xml version="1.0"?>
    <methodCall>
    <methodName>Services.CallProcessingService.callsta techanged</methodName>
    <params>
    <param>
    <value><string>7088820024538853130</string></value>
    </param>
    <param>
    <value><int>6</int></value>
    </param>
    </params>
    </methodCall>


    .421 CCS: BuildAndSendXml. Sent...
    .422 CCS: Thread. Entering to select count = 20, timeout = 10.
    11:19:17.363 CCS: Thread. Leaving from select. ret = 0, sockerror 17.
    .365 CCS: Request failed... 7088820024538853130
    .365 Call: Delete. (C:2) 7088820024538853130
    .366 CCS: Thread. Entering to select count = 20, timeout = 0.
    14:58:36.279 CCS: Thread. Leaving from select. ret = 1, sockerror 17.
    .280 CCS: Thread. recv ret: -1, rcverr: 110
    .281 CCS: Delete. (C:19)
    .282 CCS: Thread. Entering to select count = 19, timeout = 0.
    14:59:26.566 CCS: Thread. Leaving from select. ret = 1, sockerror 110.
    .567 CCS: Thread. recv ret: -1, rcverr: 110
    .568 CCS: Delete. (C:18)
    .569 CCS: Thread. Entering to select count = 18, timeout = 0.
    15:05:07.575 CCS: Thread. Leaving from select. ret = 1, sockerror 110.
    .576 CCS: Thread. recv ret: -1, rcverr: 110
    .577 CCS: Delete. (C:17)
    .578 CCS: Thread. Entering to select count = 17, timeout = 0.
    15:05:37.031 CCS: Thread. Leaving from select. ret = 1, sockerror 110.
    .032 CCS: Thread. recv ret: -1, rcverr: 110
    .033 CCS: Delete. (C:16)
    .034 CCS: Thread. Entering to select count = 16, timeout = 0.
    15:05:41.150 CCS: Thread. Leaving from select. ret = 1, sockerror 110.
    .151 CCS: Thread. recv ret: -1, rcverr: 110
    .152 CCS: Delete. (C:15)
    .152 CCS: Thread. Entering to select count = 15, timeout = 0.
    15:24:23.886 CCS: Thread. Leaving from select. ret = 1, sockerror 110.
    .887 CCS: Thread. recv ret: -1, rcverr: 110
    .888 Call: Close. 2435157199714478615
    .889 ExtCallControl. CloseCallReceived. 2435157199714478615
    .890 Call: Delete. (C:1) 2435157199714478615
    .890 Call: Close. 1796824763505926872
    .891 ExtCallControl. CloseCallReceived. 1796824763505926872
    .891 Call: Delete. (C:0) 1796824763505926872
    .892 CCS: Delete. (C:14)
    .893 CCS: Thread. Entering to select count = 14, timeout = 0.
    15:27:15.888 CCS: Thread. Leaving from select. ret = 1, sockerror 110.
    .889 CCS: Thread. recv ret: -1, rcverr: 110
    .890 CCS: Delete. (C:13)
    .891 CCS: Thread. Entering to select count = 13, timeout = 0.
    15:28:16.233 CCS: Thread. Leaving from select. ret = 1, sockerror 110.
    .234 CCS: Thread. recv ret: -1, rcverr: 110
    .235 CCS: Delete. (C:12)
    .235 CCS: Thread. Entering to select count = 12, timeout = 0.
    15:28:54.384 CCS: Thread. Leaving from select. ret = 1, sockerror 110.
    .385 CCS: Thread. recv ret: -1, rcverr: 110
    .386 CCS: Delete. (C:11)
    .387 CCS: Thread. Entering to select count = 11, timeout = 0.
    02 Sep 2008 <---- Date ----<<<
    15:31:20.321 CCS: Thread. Leaving from select. ret = 1, sockerror 110.
    .323 CCS: Thread. recv ret: -1, rcverr: 110
    .323 CCS: Delete. (C:10)
    .324 CCS: Thread. Entering to select count = 10, timeout = 0.
    16:00:33.535 CCS: Thread. Leaving from select. ret = 1, sockerror 110.
    .536 CCS: Thread. recv ret: -1, rcverr: 110
    .537 CCS: Delete. (C:9)
    .538 CCS: Thread. Entering to select count = 9, timeout = 0.
    16:12:21.249 CCS: Thread. Leaving from select. ret = 1, sockerror 110.
    .250 CCS: Thread. recv ret: -1, rcverr: 110
    .251 CCS: Delete. (C:8)
    .252 CCS: Thread. Entering to select count = 8, timeout = 0.

  10. #20
    Quadro Architect
    Join Date
    Jun 2006
    Location
    Around myself
    Posts
    2,075

    Default

    Unfortunately this info wasn't enough... I would need more logs here. To have them correspond to each other can you please
    1. Make a fresh call (e.g. Call('311','pbx:313') - the same as you did before)
    2. Take the Call Controling log (the same as cm.log)
    3. Take the extcc.log
    4. Take the spmgagent.log
    5. Take the SIP User Agent logs (the same as sip_ua.log)
    6. Zip them and attach here.

    This will give enough information to understand what is happening. It looks like the ext 313 does not answer anything, but to find the reason, we would need more logs. Actually this looks like a TSS question (as it gets a bit complex and needs logs to understand), but lets try to understand here first, before refering to TSS.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. User interface and manual
    By uspnetworks in forum Suggestions and Feedback
    Replies: 6
    Last Post: 01-26-2011, 03:55 AM
  2. A few admin interface improvements
    By ssteiner in forum Suggestions and Feedback
    Replies: 33
    Last Post: 05-05-2008, 09:09 AM
  3. WAN-Interface-Full-Duplex?
    By malibu32 in forum 'How Do I' Questions
    Replies: 2
    Last Post: 10-06-2007, 06:37 PM
  4. Interface in IE7
    By oltconsulting in forum Suggestions and Feedback
    Replies: 2
    Last Post: 09-28-2006, 12:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •