Jump to content

hasan özgilik

Members
  • Posts

    21
  • Joined

  • Last visited

Everything posted by hasan özgilik

  1. Thanks for your assistance. Web Http version has worked. Also I will be very happy, You share solution for windows service over Tcp version if you have solution or it is possible. And one more thing Is it possible text to speech with Snom Ivr mechanism. Is there a way to achive this?
  2. I have found that Snom Log says: [5] 20120323134706: Too many redirection loops, configured 10, current 11 The scenario is : After user enters his 11 character number , nodes speech 11 character one by one with help of external soap server.Soap server holds number and decide which character of number will be speech. [6] 20120323134642: Received DTMF 9 [8] 20120323134642: Call state for call object 110: idle [8] 20120323134642: call port 171: state code from 200 to 200 [8] 20120323134642: Call state for call object 110: connected [8] 20120323134642: Play recordings/ivr63.wav [8] 20120323134642: call port 171: state code from 200 to 200 [6] 20120323134647: Received DTMF 1 [8] 20120323134647: call port 171: state code from 200 to 200 [6] 20120323134647: Received DTMF 2 [6] 20120323134648: Received DTMF 3 [6] 20120323134648: Received DTMF 4 [6] 20120323134649: Received DTMF 5 [6] 20120323134649: Received DTMF 6 [6] 20120323134650: Received DTMF 7 [6] 20120323134650: Received DTMF 8 [6] 20120323134651: Received DTMF 9 [6] 20120323134652: Received DTMF 1 [6] 20120323134652: Received DTMF 2 [8] 20120323134652: HTTP client: Connect to 192.168.5.220:111, pending requests 0 [8] 20120323134652: Received response code 200 with destination 421 [8] 20120323134652: Call state for call object 110: idle [8] 20120323134652: Call state for call object 110: connected [8] 20120323134652: Play recordings/ivr120.wav [8] 20120323134652: call port 171: state code from 200 to 200 [8] 20120323134656: Play recordings/ivr120.wav [8] 20120323134656: call port 171: state code from 200 to 200 [8] 20120323134656: Last message repeated 2 times [8] 20120323134656: HTTP client: Connect to 192.168.5.220:111, pending requests 0 [8] 20120323134656: Received response code 200 with destination 9001 [8] 20120323134656: Call state for call object 110: idle [8] 20120323134656: Call state for call object 110: connected [8] 20120323134656: Play recordings/ivr111.wav [8] 20120323134656: call port 171: state code from 200 to 200 [8] 20120323134658: Play recordings/ivr111.wav [8] 20120323134658: call port 171: state code from 200 to 200 [8] 20120323134658: Last message repeated 2 times [8] 20120323134658: HTTP client: Connect to 192.168.5.220:111, pending requests 0 [8] 20120323134658: Received response code 200 with destination 9002 [8] 20120323134658: Call state for call object 110: idle [8] 20120323134658: Call state for call object 110: connected [8] 20120323134658: Play recordings/ivr112.wav [8] 20120323134658: call port 171: state code from 200 to 200 [8] 20120323134659: Play recordings/ivr112.wav [8] 20120323134659: call port 171: state code from 200 to 200 [8] 20120323134659: Last message repeated 2 times [8] 20120323134659: HTTP client: Connect to 192.168.5.220:111, pending requests 0 [8] 20120323134659: Received response code 200 with destination 9003 [8] 20120323134659: Call state for call object 110: idle [8] 20120323134659: Call state for call object 110: connected [8] 20120323134659: Play recordings/ivr113.wav [8] 20120323134659: call port 171: state code from 200 to 200 [8] 20120323134700: Play recordings/ivr113.wav [8] 20120323134700: call port 171: state code from 200 to 200 [8] 20120323134700: Last message repeated 2 times [8] 20120323134700: HTTP client: Connect to 192.168.5.220:111, pending requests 0 [8] 20120323134700: Received response code 200 with destination 9004 [8] 20120323134700: Call state for call object 110: idle [8] 20120323134700: Call state for call object 110: connected [8] 20120323134700: Play recordings/ivr119.wav [8] 20120323134700: call port 171: state code from 200 to 200 [8] 20120323134701: Play recordings/ivr119.wav [8] 20120323134701: call port 171: state code from 200 to 200 [8] 20120323134701: Last message repeated 2 times [8] 20120323134701: HTTP client: Connect to 192.168.5.220:111, pending requests 0 [8] 20120323134701: Received response code 200 with destination 9005 [8] 20120323134701: Call state for call object 110: idle [8] 20120323134701: Call state for call object 110: connected [8] 20120323134701: Play recordings/ivr114.wav [8] 20120323134701: call port 171: state code from 200 to 200 [8] 20120323134703: Play recordings/ivr114.wav [8] 20120323134703: call port 171: state code from 200 to 200 [8] 20120323134703: Last message repeated 2 times [8] 20120323134703: HTTP client: Connect to 192.168.5.220:111, pending requests 0 [8] 20120323134703: Received response code 200 with destination 9006 [8] 20120323134703: Call state for call object 110: idle [8] 20120323134703: Call state for call object 110: connected [8] 20120323134703: Play recordings/ivr115.wav [8] 20120323134703: call port 171: state code from 200 to 200 [8] 20120323134704: Play recordings/ivr115.wav [8] 20120323134704: call port 171: state code from 200 to 200 [8] 20120323134704: Last message repeated 2 times [8] 20120323134704: HTTP client: Connect to 192.168.5.220:111, pending requests 0 [8] 20120323134704: Received response code 200 with destination 9007 [8] 20120323134704: Call state for call object 110: idle [8] 20120323134704: Call state for call object 110: connected [8] 20120323134704: Play recordings/ivr116.wav [8] 20120323134704: call port 171: state code from 200 to 200 [8] 20120323134705: Play recordings/ivr116.wav [8] 20120323134705: call port 171: state code from 200 to 200 [8] 20120323134705: Last message repeated 2 times [8] 20120323134705: HTTP client: Connect to 192.168.5.220:111, pending requests 0 [8] 20120323134705: Received response code 200 with destination 9008 [8] 20120323134705: Call state for call object 110: idle [8] 20120323134705: Call state for call object 110: connected [8] 20120323134705: Play recordings/ivr117.wav [8] 20120323134705: call port 171: state code from 200 to 200 [8] 20120323134706: Play recordings/ivr117.wav [8] 20120323134706: call port 171: state code from 200 to 200 [8] 20120323134706: Last message repeated 2 times [8] 20120323134706: HTTP client: Connect to 192.168.5.220:111, pending requests 0 [8] 20120323134706: Received response code 200 with destination 9009 [5] 20120323134706: Too many redirection loops, configured 10, current 11 [8] 20120323134706: call port 171: state code from 200 to 482 [/Code]
  3. Thanks. As I sad no problem with soap format.Anyway It works for first 8 ivr node correctly but then suddenly break down call connection. Is there a limit for consecutive ivr executes or IIS issues. This is for IvrHandler.aspx. For Windows service, sending response to snom can not be achive yet. I wonder, Is it impossible with windows service?
  4. For IVRHandler.aspx I want to user, enter 11 number and I am reading those numbers one by one. No problem until 8th number character .Reads 8 IVR nodes succesfully. Then suddenly break down call connection. Snom doesn't send following IVR node soap information to External Soap Server. Wireshark trace says : 192.168.5.220(Source PBX server) 192.168.9.10(Destination Client) ICMP(Protocol) 138 Destination unreachable (Port unreachable) For Windows Service I can not get any wireshark trace about getting response from service. Suppose that response can not be sent. I use for sending response. stream.Write(responseArray, 0, responseArray.Length); stream.Flush(); I didn' use client.Close(); or stream.Close(); because breaking down call connection.
  5. Hi,My IvrHandler.aspx as ivr soap server works correctly sends response to snom and executes ivrnode(421). But web version sometimes works slowly and sends responses late. I write windows service version of this code but I can not achive send response to snom. Getting Ivr request but can not send response. My code examples are below please help me. IvrHandler.aspx IvrHelper ivrHelper = new IvrHelper(); byte[] array = Request.BinaryRead(Request.TotalBytes); string ivrData = ASCIIEncoding.ASCII.GetString(array); IvrRequest ivrRequest = ivrHelper.GetIvrRequest(ivrData); IvrResponse ivrResponse = new IvrResponse(); ivrResponse.CallID = ivrRequest.CallID; ivrResponse.Destination = "421"; // IVR Node string responseString = ivrResponse.Serialize(); Response.Write(responseString); My Windows Service this.listener.Start(); Byte[] bytes = new Byte[256]; while (true) { TcpClient client = listener.AcceptTcpClient(); client.NoDelay = true; StringBuilder data = new StringBuilder(); NetworkStream stream = client.GetStream(); int i = 0; do { i = stream.Read(bytes, 0, bytes.Length); data.Append(System.Text.Encoding.ASCII.GetString(bytes, 0, i)); } while (i == bytes.Length); string ivrData = data.ToString(); IvrHelper ivrHelper = new IvrHelper(); IvrRequest ivrRequest = ivrHelper.GetIvrRequest(ivrData); IvrResponse ivrResponse = new IvrResponse(); ivrResponse.CallID = ivrRequest.CallID; ivrResponse.Destination = "421"; string responseString = ivrResponse.Serialize(); ASCIIEncoding asen = new ASCIIEncoding(); byte[] responseArray = asen.GetBytes(responseString); //THIS CODE IS SENDING RESPONSE BUT NOT WORK stream.Write(responseArray, 0, responseArray.Length); stream.Flush(); //client.Close(); //When I close call is closing //I have Tried this not work //StreamWriter streamWriter = new StreamWriter(networkStream); //streamWriter.Write(responseString); //streamWriter.Flush(); }
  6. Call start date is coming without second information. Is there a setting for this. <Start>01/03 14:40</Start> <From>3285567</From> <To>4684700 (6041)</To> <State>connected</State> <Index>99821</Index> <Gain/> <Trunk>CC GELEN/GOZTEPE</Trunk>
  7. DBSearch function on calls table did not response anything. Also Snomone folder structure has no "Calls" folder.Snomone version is DBSearch https://wiki.snomone.com/index.php?title=Access_to_the_Database#calls REQUEST <?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:DBSearch><Table>calls</Table><Max>10</Max><Column><Name>to</Name><Value>70</Value></Column></sns:DBSearch></env:Body></env:Envelope> RESPONSE <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sns="http://soap.com/pbx"><env:Body><sns:DBSearchResponse></sns:DBSearchResponse></env:Body></env:Envelope> PBXNSIP Web Interface Status Tab Shows Start From To State Trunk Action 12/26 11:02 905076955611 70 alerting TELES Gateway
  8. Hi, when I call this link http://10.200.2.123:8089/ajax.htm?action=call_list&domain=pbx.centricall.com&token=whatever without login to web page I get: <Call> <Start>12/22 16:58</Start> <From>05374435533</From> <To>70@10.200.2.123</To> <State>connected</State> <Index>14307</Index> <Gain/> <Trunk>CC GELEN</Trunk> </Call> But I login <Call> <Start>12/22 16:58</Start> <From>05374435533</From> <To>70 (6021)</To> <State>connected</State> <Index>14307</Index> <Gain/> <Trunk>CC GELEN</Trunk> </Call> Only Difference between "To" Tags <To>70@10.200.2.123</To> <To>70 (6021)</To> I have tried lots of thing. We could not keep sessions for login with .Net code (HttpWebRequest). Is there a way to get "<To>70 (6021)</To>" information without login.
  9. Hi I download BPSNMPMon.exe and I enter Commununity : public, ( as Pbxnsip port settings) Host : 192.168.5.220 (Pbxnsip IP) Where I put snmp port(default 161) and OID like in (http://wiki.snomone.com/index.php?title=SNMP_Ports)? Thanks.
  10. These links have very limited information. Could you help us developing a .NET based(csharp)CSTA application, If there is an documentation or code block or forum topic. I found in PHP I coded in csharp windows service application but not work. And how use SNMP Ports. http://wiki.snomone....itle=SNMP_Ports Thanks.
  11. Hi, How get current registered extesions from sip server programatically. And how determine an extensions is dnd or in acd.I see only way parsing xml files in snom folder structure. Thanks.
  12. Also , how get other list like domain list , currently registered domain list , terminal list in dnd,terminal list in acd etc using this method. Or another methods.
  13. Hi, Is there a general document describing CDR(or ACD) mechanism and meanings of each field in CDR for all different issues and call scenarios in detail. For example in outgoing call this field x this field y, in incoming call this field x this field y, etc.
  14. We are using ver.3 We can not update to version 4 because of changing CDR and ACD format changes in ver 4. All our system works with ver. 3.4.0.3201 soap mechanism. In ver 3 is there an update that corrected this bug?
  15. It is only for pickup calls (*87). All other call types produce call records in defined path and produce soundrecordpath in cdr files and soap messages.
  16. I tried "C:\calls\rec\$d\$t-$i-$u-$n.wav" but there is no change. Pickup calls dont produce sound file. Also there is no soundpath tag in cdr files or soap files. Have you got any choice ? Thanks.
  17. We are using 3.4.0.3201 (Win32) version. Our configuration: Record Location : C:\calls\rec\$d/$t-$i-$u-$n.wav On pickup calls pbxnsip does'nt produce sound record as wav and does'nt produce rec tag like "<rec>C:\calls\rec\20110803/091921-o-4002-4003.wav</rec>" Please help.Is there a configuration or is it a bug?
  18. Thank you very much for this feature. Allright , Is there a configuration setting for ACD packets.Can we get primary_call_id in acd packets. Now we are getting packets as xml and parsing its.If there was a feature like cdrs it will be wonderful. SOAP Interface: Queue Status URL: http://192.168.5.216:3200
  19. We have tried 4.2.0.3981 the last version but the problem is still continue. But I recognize that When CDR URL is file:disk no problem.Master call id comes. For Example A Transfer call cdrs pbx.centricall.com,YjI0MGUxMjMxMzBjYjQ1MDRkYWZlNTIwMjNhZDQxYTI.,b1803475@pbx,Agent 2 (6001),Agent 3 (6002),O,attendant,20110624170826,20110624170830,20110624170846,,,,\REC\20110624/170830-i-6002-6001.wav,,,6003, pbx.centricall.com,YjI0MGUxMjMxMzBjYjQ1MDRkYWZlNTIwMjNhZDQxYTI.,becd7036@pbx,Agent 2 (6001),Agent 3 (6002),O,attendant,20110624170846,20110624170851,20110624170858,,,,\REC\20110624/170851-i-6003-6001.wav,,,6003, pbx.centricall.com,YjI0MGUxMjMxMzBjYjQ1MDRkYWZlNTIwMjNhZDQxYTI.,YjI0MGUxMjMxMzBjYjQ1MDRkYWZlNTIwMjNhZDQxYTI.,Agent 2 (6001),Agent 3 (6002),I,attendant,20110624170826,20110624170830,20110624170859,,6001,,\REC\20110624/170830-o-6002-6001.wav \REC\20110624/170851-o-6002-6001.wav,,udp:192.168.5.147:22188,6003, When CDR URL is cdr:192.168.5.216:3300 problem occurs . Master Ids is not coming. "Agent 2" <sip:6001@pbx.centricall.com>,"Agent 3" <sip:6002@pbx.centricall.com>,a87fb28f@pbx,attendant,pbx.centricall.com,en,,1308923905,0,6,,,6001@pbx.centricall.com,6002@pbx.centricall.com,,5,,20110624165825,165825,20110624,6002,O,6002,9,-5224,\REC\20110624/165816-i-6002-6001.wav "Agent 2" <sip:6001@pbx.centricall.com>,"Agent 3" <sip:6002@pbx.centricall.com>,568be2e8@pbx,attendant,pbx.centricall.com,en,,1308923914,0,6,,,6001@pbx.centricall.com,6002@pbx.centricall.com,,5,,20110624165834,165834,20110624,6003,O,6002,5,-5228,\REC\20110624/165829-i-6003-6001.wav "Agent 2" <sip:6001@pbx.centricall.com>,"Agent 3" <sip:6002@pbx.centricall.com>,M2YyMWNlNWQ1Mjk4MDhmOGFmZTU1N2Q0MjkzZmJlODA.,attendant,pbx.centricall.com,en,6001@pbx.centricall.com,1308923914,0,6,,,6001@pbx.centricall.com,6002@pbx.centricall.com,,5,,20110624165834,165834,20110624,6001,I,6002,18,-5215,\REC\20110624/165816-o-6002-6001.wav \REC\20110624/165829-o-6002-6001.wav Is There a Cdr setting for getting master call Id.
  20. We are using version 4.2.0.3958 (Win32) at http://www.pbxnsip.com/download-software/software.php last version seems 4.2.0.3981. Is the problem fixed at this version. Thanks.
  21. My cdr settings: cdr:192.168.5.154:3300 <cdr_format>$f,$t,$i,$v,$m,$l,$R,$S,$C,$A,$x,$y,$F,$T,$r,$E,$W,$w,$B,$b,$e,$o,$c,$d,$s,$(record_location)</cdr_format> Getting two cdr files that has different call Ids. And only one of them has SoundPath. How can combine them. And why producing different callIds for same call. Also $c is remote_call_id but produce callee numbers(1002,800 ...) is not it sipcallId. One more thing , Some of sipcallIds long , some of short , what is the meaning? Thanks a lot.
×
×
  • Create New...