[FRAGE] Snom 370 und anruf über CSTA initiieren

next2you

Neuer User
Mitglied seit
11 Aug 2008
Beiträge
22
Punkte für Reaktionen
0
Punkte
0
Hallo,

ich hab gerade versucht mit curl einen Telefonanruf über das SNOM via CSTA zu initiieren. Ich hab das Beispiel von http://wiki.snom.com/CSTA
genommen (MakeCall)

Ich bekomme aber immer nur einen CSTA Error. Username, pw in der authorisierung müssten stimmen, wenn ich die ändere, dann bekomme ich ein "Unauthorized request".

Snom: 370 FW 7.3.14
Bei Security ist CSTA enabled...


Mein Kommando ist:
Code:
 curl -H 'Content-type: text/xml' --user myuser:mypw --data-binary @out.xml  http://cvdl-phone/csta

Das geschickte XML ist:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:csta="http://www.ecma-international.org/standards/ecma-323/csta/ed4">
<SOAP-ENV:Body>
<csta:MakeCall>
<csta:callingDevice></csta:callingDevice>
<csta:calledDirectoryNumber>017433757611</csta:calledDirectoryNumber>
</csta:MakeCall>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Antwort ist
Code:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"xmlns:csta="http://www.ecma-international.org/standards/ecma-323/csta/ed4">
 <SOAP-ENV:Body>
  <SOAP-ENV:Fault>
   <SOAP-ENV:faultcode>Client</SOAP-ENV:faultcode>
   <SOAP-ENV:faultstring>CSTA Error</SOAP-ENV:faultstring>
   <SOAP-ENV:detail>
    <csta:CSTAErrorCode xmlns:csta="http://www.ecma-international.org/standards/ecma-323/csta/ed4">
      <csta:operation></csta:operation>
    </csta:CSTAErrorCode>
   </SOAP-ENV:detail>
  </SOAP-ENV:Fault>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 
Kostenlos!

Statistik des Forums

Themen
247,216
Beiträge
2,263,904
Mitglieder
375,712
Neuestes Mitglied
burleybetty