Jump to content

JuliusSart

Members
  • Posts

    11
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

JuliusSart's Achievements

Newbie

Newbie (1/14)

0

Reputation

  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. 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 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. 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. Thank you! what are these "45" and "73" values? Getting 500 errors at the moment.
  5. I'm guessing you are referring to the paccalls ? Any idea on when this would get fixed?
  6. Is there any info available on this command? Request and Response XML would be nice http://wiki.snomone.com/index.php?title=Epsilon_Geminids_(4.5.0.1090) I'm guessing this is to replace the "paccalls" ajax query which doesn't work anymore. Please correct me if i'm wrong and this is some fault in our settings.
  7. Problem solved, using the ID from callList i can fetch the long id from Legs "table" and then use that in the Transfer.
  8. Issue got resolved. the session id is used in webrequest and the session id should be in the cookiecontainer not in the actual xml that was sent.
  9. 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?
  10. 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>
  11. 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...