Jump to content

JuliusSart

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by JuliusSart

  1. Greetings,

     

    I'm trying to make calls via CSTA. Currently i can get the call going if the other end is in the same domain. If i try to call "external" number it fails. From the logs i can see that the target number gets the domain added to it twice.

     

     

    <?xml version="1.0" standalone="yes" ?>

    - <env:Body>
    - <sns:MakeCall>
    <callingDevice>1200@domain.fi</callingDevice>
    <calledDirectoryNumber>1211</calledDirectoryNumber>
    </sns:MakeCall>
    </env:Body>
    </env:Envelope>

    This will work just fine since there is an extension within the same domain (1211@domain.fi). This call wont show up in the dom_callog.htm. BUT it will show up in dom_calls.htm where the "TO" field has 1211@domain.fi@domain.fi

     

    Then if i try to call to an "external" number

     

    <?xml version="1.0" standalone="yes" ?>

    - <env:Body>
    - <sns:MakeCall>
    <callingDevice>1200@domain.fi</callingDevice>
    <calledDirectoryNumber>+3583315259</calledDirectoryNumber>
    </sns:MakeCall>
    </env:Body>
    </env:Envelope>

    The call just ends as soon as the 1200 picks up the call. This call will show up in the dom_calllog.htm but the "TO" field has +358443315259@domain.fi@domain.fi. I assume this double domain is the issue here?

     

    Any tricks & tips on how to get this working?

  2. Currently sending

    <?xml version="1.0" standalone="yes" ?> 
     <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sns="http://www.pbxnsip.com/soap/pbx">
     <env:Body>
     <sns:GetForwarding xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3">
     <device>[ext]@[domain]</device> 
     </sns:GetForwarding>
     </env:Body>
     </env:Envelope>

     

    And i works fine if the extension does not have any Forwarding set. But after i set the "Call forward all calls to:" value, it crashes every time i try the get the value. I can get the value via different route so this is just for your information.

  3. 45 is the agent and 73 is agent group as explained in the message that I posted

     

    <agentID>45@domain.com</agentID>

     

    <acdGroup>73@domain.com</acdGroup>

     

    Sorry for not being clear with my question. is the agentid same as the extensionid seen on the webinterface url [server]/dom_ext.htm?id=24. And the acdGroupId is probably the same as in the url of the group dom_acd.htm?id=30?

  4.  

    <?xml version="1.0" encoding="UTF-8"?>
    <GetAgentState xmlns=“http://www.ecma-international.org/standards/ecma-323/csta/ed5">
    <device>45@domain.com</device>
    <acdGroup>73@domain.com</acdGroup>
    </GetAgentState> 
    

     

    Thank you! what are these "45" and "73" values? Getting 500 errors at the moment.

  5. We also tried that a few days ago--and also did not get any response on the CSTA... Seems something got broken there.

     

    I'm guessing you are referring to the paccalls ? Any idea on when this would get fixed?

  6. I'm currently trying to transfer call with CSTA and the problem is the CallID. The ID i use is the Index give by the ajax CallList action (ajax.htm?action=call_list). This ID seems to be wrong. How can i resolve the proper ID for the call to be transferred?

  7. Did you take a look at http://wiki.snomone.com/index.php?title=CSTA_example page for the sequence of operations?

     

    I have read the example but there is no mention of session id or how it should be supplied. After the Application Session Start all of the listed queries return the same invalidSession error. any actual code samples anywhere? not just the xml that should be sent but everything from start to end.

    Currently my send function is as follows:

    var bytesSent = Encoding.UTF8.GetBytes([xmlstring]); 
               Socket s = ConnectSocket(IPAddress.Parse([serverIP]), [portnumber]);   
               if (s == null)
                   return ("Connection failed");  
               s.Send(bytesSent, bytesSent.Length, 0);

     

    with the

    [xmlstring] as
    <?xml version="1.0" encoding="UTF-8"><MonitorStart xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed4"><monitorObject><deviceObject>[extension@domain]</deviceObject></monitorObject>monitorType>device</monitorType></MonitorStart>

  8. I'm trying to get a handle on this CSTA and i get proper response when starting application session but everything after that returns CSTAError:invalidSessionID. Could not find any example where the session ID is sent, where should i insert this data?

    currently sending:

    <?xml version=\"1.0\" encoding=\"UTF-8\"><GetCSTAFeatures xmlns=\"http://www.ecma-international.org/standards/ecma-323/csta/ed3\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><sessionID>2sdftETwer23421</sessionID></GetCSTAFeatures>

     

    Any suggestions?

×
×
  • Create New...