sipgate_io 0.3.1 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -26657,3 +26657,2351 @@ Processing by SipgateIo::EventsController#create as HTML
26657
26657
  Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
26658
26658
  Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
26659
26659
   (0.0ms) rollback transaction
26660
+  (0.1ms) begin transaction
26661
+ --------------------------------------------------------------------
26662
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
26663
+ --------------------------------------------------------------------
26664
+  (0.1ms) rollback transaction
26665
+  (0.1ms) begin transaction
26666
+ ----------------------------------------------------------------------
26667
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
26668
+ ----------------------------------------------------------------------
26669
+  (0.0ms) rollback transaction
26670
+  (0.1ms) begin transaction
26671
+ ----------------------------------------------------------------------
26672
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
26673
+ ----------------------------------------------------------------------
26674
+  (0.1ms) rollback transaction
26675
+  (0.1ms) begin transaction
26676
+ ----------------------------------------------------------
26677
+ SipgateIo::XmlResponseTestTest: test_reject_without_reason
26678
+ ----------------------------------------------------------
26679
+  (0.0ms) rollback transaction
26680
+  (0.1ms) begin transaction
26681
+ -----------------------------------------------------------------------------------
26682
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
26683
+ -----------------------------------------------------------------------------------
26684
+  (0.0ms) rollback transaction
26685
+  (0.1ms) begin transaction
26686
+ ------------------------------------------------------------
26687
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
26688
+ ------------------------------------------------------------
26689
+  (0.1ms) rollback transaction
26690
+  (0.1ms) begin transaction
26691
+ ---------------------------------------------------
26692
+ SipgateIo::XmlResponseTestTest: test_only_on_answer
26693
+ ---------------------------------------------------
26694
+  (0.0ms) rollback transaction
26695
+  (0.1ms) begin transaction
26696
+ ---------------------------------------------------------------------------------
26697
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
26698
+ ---------------------------------------------------------------------------------
26699
+  (0.0ms) rollback transaction
26700
+  (0.1ms) begin transaction
26701
+ ---------------------------------------------------------------------------------
26702
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
26703
+ ---------------------------------------------------------------------------------
26704
+  (0.1ms) rollback transaction
26705
+  (0.1ms) begin transaction
26706
+ -------------------------------------------------------
26707
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason
26708
+ -------------------------------------------------------
26709
+  (0.0ms) rollback transaction
26710
+  (0.0ms) begin transaction
26711
+ ---------------------------------------------------------------------------
26712
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
26713
+ ---------------------------------------------------------------------------
26714
+  (0.0ms) rollback transaction
26715
+  (0.1ms) begin transaction
26716
+ --------------------------------------------------
26717
+ SipgateIo::XmlResponseTestTest: test_play_with_url
26718
+ --------------------------------------------------
26719
+  (0.0ms) rollback transaction
26720
+  (0.1ms) begin transaction
26721
+ ---------------------------------------------------------------
26722
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
26723
+ ---------------------------------------------------------------
26724
+  (0.0ms) rollback transaction
26725
+  (0.1ms) begin transaction
26726
+ -----------------------------------------------------------------------
26727
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
26728
+ -----------------------------------------------------------------------
26729
+  (0.0ms) rollback transaction
26730
+  (0.1ms) begin transaction
26731
+ --------------------------------------------------------------------------
26732
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
26733
+ --------------------------------------------------------------------------
26734
+  (0.1ms) rollback transaction
26735
+  (0.0ms) begin transaction
26736
+ --------------------------------------------------------------------------
26737
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
26738
+ --------------------------------------------------------------------------
26739
+  (0.0ms) rollback transaction
26740
+  (0.1ms) begin transaction
26741
+ ---------------------------------------------------
26742
+ SipgateIo::XmlResponseTestTest: test_only_on_hangup
26743
+ ---------------------------------------------------
26744
+  (0.0ms) rollback transaction
26745
+  (0.1ms) begin transaction
26746
+ ------------------------------------------------------------------------------------
26747
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
26748
+ ------------------------------------------------------------------------------------
26749
+  (0.0ms) rollback transaction
26750
+  (0.1ms) begin transaction
26751
+ ---------------------------------------------------------------
26752
+ SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
26753
+ ---------------------------------------------------------------
26754
+  (0.0ms) rollback transaction
26755
+  (0.1ms) begin transaction
26756
+ -----------------------------------------------------
26757
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
26758
+ -----------------------------------------------------
26759
+ Processing by SipgateIo::EventsController#create as HTML
26760
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
26761
+ Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms)
26762
+  (0.1ms) rollback transaction
26763
+  (0.2ms) begin transaction
26764
+ -------------------------------------------------------
26765
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
26766
+ -------------------------------------------------------
26767
+ Processing by SipgateIo::EventsController#create as HTML
26768
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
26769
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
26770
+  (0.1ms) rollback transaction
26771
+  (0.1ms) begin transaction
26772
+ ---------------------------------------------------------------------
26773
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
26774
+ ---------------------------------------------------------------------
26775
+ Processing by SipgateIo::EventsController#create as HTML
26776
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
26777
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
26778
+  (0.1ms) rollback transaction
26779
+  (0.1ms) begin transaction
26780
+ -------------------------------------------------------
26781
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
26782
+ -------------------------------------------------------
26783
+ Processing by SipgateIo::EventsController#create as HTML
26784
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
26785
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
26786
+  (0.1ms) rollback transaction
26787
+  (0.1ms) begin transaction
26788
+ --------------------------------------------------
26789
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
26790
+ --------------------------------------------------
26791
+ Processing by SipgateIo::EventsController#create as HTML
26792
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
26793
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
26794
+  (0.1ms) rollback transaction
26795
+  (0.1ms) begin transaction
26796
+ ----------------------------------------------------
26797
+ SipgateIo::EventsControllerTest: test_a_valid_answer
26798
+ ----------------------------------------------------
26799
+ Processing by SipgateIo::EventsController#create as HTML
26800
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
26801
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
26802
+  (0.1ms) rollback transaction
26803
+  (0.1ms) begin transaction
26804
+ ------------------------------------------------
26805
+ SipgateIo::EventsControllerTest: test_a_new_call
26806
+ ------------------------------------------------
26807
+ Processing by SipgateIo::EventsController#create as HTML
26808
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
26809
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
26810
+  (0.1ms) rollback transaction
26811
+  (0.1ms) begin transaction
26812
+ ----------------------------------------------------
26813
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
26814
+ ----------------------------------------------------
26815
+ Processing by SipgateIo::EventsController#create as HTML
26816
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
26817
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
26818
+  (0.0ms) rollback transaction
26819
+  (0.1ms) begin transaction
26820
+ ---------------------------------------------------------------------
26821
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
26822
+ ---------------------------------------------------------------------
26823
+ Processing by SipgateIo::EventsController#create as HTML
26824
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
26825
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
26826
+  (0.1ms) rollback transaction
26827
+  (0.1ms) begin transaction
26828
+ ---------------------------------------------------------------------
26829
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
26830
+ ---------------------------------------------------------------------
26831
+ Processing by SipgateIo::EventsController#create as HTML
26832
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
26833
+  (0.1ms) rollback transaction
26834
+  (0.1ms) begin transaction
26835
+ -------------------------
26836
+ SipgateIoTest: test_truth
26837
+ -------------------------
26838
+  (0.1ms) rollback transaction
26839
+  (0.2ms) begin transaction
26840
+ -------------------------------------------------------
26841
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
26842
+ -------------------------------------------------------
26843
+ Processing by SipgateIo::EventsController#create as HTML
26844
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
26845
+ Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
26846
+  (0.1ms) rollback transaction
26847
+  (0.1ms) begin transaction
26848
+ ------------------------------------------------
26849
+ SipgateIo::EventsControllerTest: test_a_new_call
26850
+ ------------------------------------------------
26851
+ Processing by SipgateIo::EventsController#create as HTML
26852
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
26853
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
26854
+  (0.1ms) rollback transaction
26855
+  (0.1ms) begin transaction
26856
+ ---------------------------------------------------------------------
26857
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
26858
+ ---------------------------------------------------------------------
26859
+ Processing by SipgateIo::EventsController#create as HTML
26860
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
26861
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
26862
+  (0.1ms) rollback transaction
26863
+  (0.1ms) begin transaction
26864
+ -----------------------------------------------------
26865
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
26866
+ -----------------------------------------------------
26867
+ Processing by SipgateIo::EventsController#create as HTML
26868
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
26869
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
26870
+  (0.1ms) rollback transaction
26871
+  (0.1ms) begin transaction
26872
+ ---------------------------------------------------------------------
26873
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
26874
+ ---------------------------------------------------------------------
26875
+ Processing by SipgateIo::EventsController#create as HTML
26876
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
26877
+  (0.1ms) rollback transaction
26878
+  (0.1ms) begin transaction
26879
+ ----------------------------------------------------
26880
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
26881
+ ----------------------------------------------------
26882
+ Processing by SipgateIo::EventsController#create as HTML
26883
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
26884
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
26885
+  (0.1ms) rollback transaction
26886
+  (0.1ms) begin transaction
26887
+ ---------------------------------------------------------------------
26888
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
26889
+ ---------------------------------------------------------------------
26890
+ Processing by SipgateIo::EventsController#create as HTML
26891
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
26892
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
26893
+  (0.1ms) rollback transaction
26894
+  (0.1ms) begin transaction
26895
+ --------------------------------------------------
26896
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
26897
+ --------------------------------------------------
26898
+ Processing by SipgateIo::EventsController#create as HTML
26899
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
26900
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
26901
+  (0.1ms) rollback transaction
26902
+  (0.1ms) begin transaction
26903
+ -------------------------------------------------------
26904
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
26905
+ -------------------------------------------------------
26906
+ Processing by SipgateIo::EventsController#create as HTML
26907
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
26908
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
26909
+  (0.1ms) rollback transaction
26910
+  (0.1ms) begin transaction
26911
+ ----------------------------------------------------
26912
+ SipgateIo::EventsControllerTest: test_a_valid_answer
26913
+ ----------------------------------------------------
26914
+ Processing by SipgateIo::EventsController#create as HTML
26915
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
26916
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
26917
+  (0.1ms) rollback transaction
26918
+  (0.1ms) begin transaction
26919
+ -------------------------
26920
+ SipgateIoTest: test_truth
26921
+ -------------------------
26922
+  (0.0ms) rollback transaction
26923
+  (0.1ms) begin transaction
26924
+ -----------------------------------------------------------------------------------
26925
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
26926
+ -----------------------------------------------------------------------------------
26927
+  (0.1ms) rollback transaction
26928
+  (0.1ms) begin transaction
26929
+ ---------------------------------------------------
26930
+ SipgateIo::XmlResponseTestTest: test_only_on_answer
26931
+ ---------------------------------------------------
26932
+  (0.0ms) rollback transaction
26933
+  (0.0ms) begin transaction
26934
+ --------------------------------------------------
26935
+ SipgateIo::XmlResponseTestTest: test_play_with_url
26936
+ --------------------------------------------------
26937
+  (0.0ms) rollback transaction
26938
+  (0.2ms) begin transaction
26939
+ --------------------------------------------------------------------------
26940
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
26941
+ --------------------------------------------------------------------------
26942
+  (0.0ms) rollback transaction
26943
+  (0.1ms) begin transaction
26944
+ --------------------------------------------------------------------
26945
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
26946
+ --------------------------------------------------------------------
26947
+  (0.1ms) rollback transaction
26948
+  (0.1ms) begin transaction
26949
+ ----------------------------------------------------------
26950
+ SipgateIo::XmlResponseTestTest: test_reject_without_reason
26951
+ ----------------------------------------------------------
26952
+  (0.1ms) rollback transaction
26953
+  (0.1ms) begin transaction
26954
+ ---------------------------------------------------------------
26955
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
26956
+ ---------------------------------------------------------------
26957
+  (0.0ms) rollback transaction
26958
+  (0.1ms) begin transaction
26959
+ -----------------------------------------------------------------------
26960
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
26961
+ -----------------------------------------------------------------------
26962
+  (0.1ms) rollback transaction
26963
+  (0.1ms) begin transaction
26964
+ -------------------------------------------------------
26965
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason
26966
+ -------------------------------------------------------
26967
+  (0.0ms) rollback transaction
26968
+  (0.1ms) begin transaction
26969
+ ---------------------------------------------------------------------------------
26970
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
26971
+ ---------------------------------------------------------------------------------
26972
+  (0.0ms) rollback transaction
26973
+  (0.1ms) begin transaction
26974
+ ---------------------------------------------------------------------------
26975
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
26976
+ ---------------------------------------------------------------------------
26977
+  (0.0ms) rollback transaction
26978
+  (0.1ms) begin transaction
26979
+ ---------------------------------------------------------------
26980
+ SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
26981
+ ---------------------------------------------------------------
26982
+  (0.0ms) rollback transaction
26983
+  (0.1ms) begin transaction
26984
+ --------------------------------------------------------------------------
26985
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
26986
+ --------------------------------------------------------------------------
26987
+  (0.0ms) rollback transaction
26988
+  (0.1ms) begin transaction
26989
+ ----------------------------------------------------------------------
26990
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
26991
+ ----------------------------------------------------------------------
26992
+  (0.0ms) rollback transaction
26993
+  (0.1ms) begin transaction
26994
+ ----------------------------------------------------------------------
26995
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
26996
+ ----------------------------------------------------------------------
26997
+  (0.1ms) rollback transaction
26998
+  (0.1ms) begin transaction
26999
+ ---------------------------------------------------------------------------------
27000
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
27001
+ ---------------------------------------------------------------------------------
27002
+  (0.0ms) rollback transaction
27003
+  (0.1ms) begin transaction
27004
+ ---------------------------------------------------
27005
+ SipgateIo::XmlResponseTestTest: test_only_on_hangup
27006
+ ---------------------------------------------------
27007
+  (0.2ms) rollback transaction
27008
+  (0.1ms) begin transaction
27009
+ ------------------------------------------------------------------------------------
27010
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
27011
+ ------------------------------------------------------------------------------------
27012
+  (0.0ms) rollback transaction
27013
+  (0.0ms) begin transaction
27014
+ ------------------------------------------------------------
27015
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
27016
+ ------------------------------------------------------------
27017
+  (0.0ms) rollback transaction
27018
+  (0.1ms) begin transaction
27019
+ ----------------------------------------------------
27020
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
27021
+ ----------------------------------------------------
27022
+ Processing by SipgateIo::EventsController#create as HTML
27023
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
27024
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
27025
+  (0.1ms) rollback transaction
27026
+  (0.1ms) begin transaction
27027
+ ---------------------------------------------------------------------
27028
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
27029
+ ---------------------------------------------------------------------
27030
+ Processing by SipgateIo::EventsController#create as HTML
27031
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27032
+ Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
27033
+  (0.1ms) rollback transaction
27034
+  (0.1ms) begin transaction
27035
+ ----------------------------------------------------
27036
+ SipgateIo::EventsControllerTest: test_a_valid_answer
27037
+ ----------------------------------------------------
27038
+ Processing by SipgateIo::EventsController#create as HTML
27039
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
27040
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
27041
+  (0.1ms) rollback transaction
27042
+  (0.1ms) begin transaction
27043
+ -------------------------------------------------------
27044
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
27045
+ -------------------------------------------------------
27046
+ Processing by SipgateIo::EventsController#create as HTML
27047
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
27048
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
27049
+  (0.1ms) rollback transaction
27050
+  (0.1ms) begin transaction
27051
+ -------------------------------------------------------
27052
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
27053
+ -------------------------------------------------------
27054
+ Processing by SipgateIo::EventsController#create as HTML
27055
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
27056
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
27057
+  (0.1ms) rollback transaction
27058
+  (0.1ms) begin transaction
27059
+ ------------------------------------------------
27060
+ SipgateIo::EventsControllerTest: test_a_new_call
27061
+ ------------------------------------------------
27062
+ Processing by SipgateIo::EventsController#create as HTML
27063
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27064
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
27065
+  (0.1ms) rollback transaction
27066
+  (0.1ms) begin transaction
27067
+ ---------------------------------------------------------------------
27068
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
27069
+ ---------------------------------------------------------------------
27070
+ Processing by SipgateIo::EventsController#create as HTML
27071
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
27072
+  (0.1ms) rollback transaction
27073
+  (0.1ms) begin transaction
27074
+ ---------------------------------------------------------------------
27075
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
27076
+ ---------------------------------------------------------------------
27077
+ Processing by SipgateIo::EventsController#create as HTML
27078
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27079
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
27080
+  (0.1ms) rollback transaction
27081
+  (0.1ms) begin transaction
27082
+ -----------------------------------------------------
27083
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
27084
+ -----------------------------------------------------
27085
+ Processing by SipgateIo::EventsController#create as HTML
27086
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
27087
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
27088
+  (0.1ms) rollback transaction
27089
+  (0.1ms) begin transaction
27090
+ --------------------------------------------------
27091
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
27092
+ --------------------------------------------------
27093
+ Processing by SipgateIo::EventsController#create as HTML
27094
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
27095
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
27096
+  (0.1ms) rollback transaction
27097
+  (0.1ms) begin transaction
27098
+ -----------------------------------------------------------------------------------
27099
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
27100
+ -----------------------------------------------------------------------------------
27101
+  (0.1ms) rollback transaction
27102
+  (0.1ms) begin transaction
27103
+ --------------------------------------------------------------------
27104
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
27105
+ --------------------------------------------------------------------
27106
+  (0.0ms) rollback transaction
27107
+  (0.1ms) begin transaction
27108
+ --------------------------------------------------------------------------
27109
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
27110
+ --------------------------------------------------------------------------
27111
+  (0.0ms) rollback transaction
27112
+  (0.1ms) begin transaction
27113
+ -------------------------------------------------------
27114
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason
27115
+ -------------------------------------------------------
27116
+  (0.1ms) rollback transaction
27117
+  (0.1ms) begin transaction
27118
+ ------------------------------------------------------------------------------------
27119
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
27120
+ ------------------------------------------------------------------------------------
27121
+  (0.1ms) rollback transaction
27122
+  (0.1ms) begin transaction
27123
+ ---------------------------------------------------------------
27124
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
27125
+ ---------------------------------------------------------------
27126
+  (0.1ms) rollback transaction
27127
+  (0.1ms) begin transaction
27128
+ ---------------------------------------------------------------------------------
27129
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
27130
+ ---------------------------------------------------------------------------------
27131
+  (0.1ms) rollback transaction
27132
+  (0.1ms) begin transaction
27133
+ ---------------------------------------------------
27134
+ SipgateIo::XmlResponseTestTest: test_only_on_hangup
27135
+ ---------------------------------------------------
27136
+  (0.1ms) rollback transaction
27137
+  (0.1ms) begin transaction
27138
+ --------------------------------------------------
27139
+ SipgateIo::XmlResponseTestTest: test_play_with_url
27140
+ --------------------------------------------------
27141
+  (0.2ms) rollback transaction
27142
+  (0.1ms) begin transaction
27143
+ ----------------------------------------------------------------------
27144
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
27145
+ ----------------------------------------------------------------------
27146
+  (0.0ms) rollback transaction
27147
+  (0.1ms) begin transaction
27148
+ -----------------------------------------------------------------------
27149
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
27150
+ -----------------------------------------------------------------------
27151
+  (0.0ms) rollback transaction
27152
+  (0.1ms) begin transaction
27153
+ ---------------------------------------------------
27154
+ SipgateIo::XmlResponseTestTest: test_only_on_answer
27155
+ ---------------------------------------------------
27156
+  (0.0ms) rollback transaction
27157
+  (0.1ms) begin transaction
27158
+ ----------------------------------------------------------
27159
+ SipgateIo::XmlResponseTestTest: test_reject_without_reason
27160
+ ----------------------------------------------------------
27161
+  (0.0ms) rollback transaction
27162
+  (0.1ms) begin transaction
27163
+ ----------------------------------------------------------------------
27164
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
27165
+ ----------------------------------------------------------------------
27166
+  (0.1ms) rollback transaction
27167
+  (0.1ms) begin transaction
27168
+ ---------------------------------------------------------------------------------
27169
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
27170
+ ---------------------------------------------------------------------------------
27171
+  (0.0ms) rollback transaction
27172
+  (0.1ms) begin transaction
27173
+ ---------------------------------------------------------------
27174
+ SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
27175
+ ---------------------------------------------------------------
27176
+  (0.0ms) rollback transaction
27177
+  (0.0ms) begin transaction
27178
+ ------------------------------------------------------------
27179
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
27180
+ ------------------------------------------------------------
27181
+  (0.0ms) rollback transaction
27182
+  (0.0ms) begin transaction
27183
+ ---------------------------------------------------------------------------
27184
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
27185
+ ---------------------------------------------------------------------------
27186
+  (0.0ms) rollback transaction
27187
+  (0.0ms) begin transaction
27188
+ --------------------------------------------------------------------------
27189
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
27190
+ --------------------------------------------------------------------------
27191
+  (0.0ms) rollback transaction
27192
+  (0.1ms) begin transaction
27193
+ -------------------------
27194
+ SipgateIoTest: test_truth
27195
+ -------------------------
27196
+  (0.0ms) rollback transaction
27197
+  (0.1ms) begin transaction
27198
+ ----------------------------------------------------
27199
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
27200
+ ----------------------------------------------------
27201
+ Processing by SipgateIo::EventsController#create as HTML
27202
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
27203
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
27204
+  (0.1ms) rollback transaction
27205
+  (0.1ms) begin transaction
27206
+ ----------------------------------------------------
27207
+ SipgateIo::EventsControllerTest: test_a_valid_answer
27208
+ ----------------------------------------------------
27209
+ Processing by SipgateIo::EventsController#create as HTML
27210
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
27211
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
27212
+  (0.1ms) rollback transaction
27213
+  (0.0ms) begin transaction
27214
+ -------------------------------------------------------
27215
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
27216
+ -------------------------------------------------------
27217
+ Processing by SipgateIo::EventsController#create as HTML
27218
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
27219
+ Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
27220
+  (0.1ms) rollback transaction
27221
+  (0.0ms) begin transaction
27222
+ --------------------------------------------------
27223
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
27224
+ --------------------------------------------------
27225
+ Processing by SipgateIo::EventsController#create as HTML
27226
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
27227
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
27228
+  (0.1ms) rollback transaction
27229
+  (0.1ms) begin transaction
27230
+ ------------------------------------------------
27231
+ SipgateIo::EventsControllerTest: test_a_new_call
27232
+ ------------------------------------------------
27233
+ Processing by SipgateIo::EventsController#create as HTML
27234
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27235
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
27236
+  (0.0ms) rollback transaction
27237
+  (0.1ms) begin transaction
27238
+ ---------------------------------------------------------------------
27239
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
27240
+ ---------------------------------------------------------------------
27241
+ Processing by SipgateIo::EventsController#create as HTML
27242
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27243
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
27244
+  (0.1ms) rollback transaction
27245
+  (0.1ms) begin transaction
27246
+ ---------------------------------------------------------------------
27247
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
27248
+ ---------------------------------------------------------------------
27249
+ Processing by SipgateIo::EventsController#create as HTML
27250
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27251
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
27252
+  (0.1ms) rollback transaction
27253
+  (0.1ms) begin transaction
27254
+ -------------------------------------------------------
27255
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
27256
+ -------------------------------------------------------
27257
+ Processing by SipgateIo::EventsController#create as HTML
27258
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
27259
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
27260
+  (0.1ms) rollback transaction
27261
+  (0.1ms) begin transaction
27262
+ -----------------------------------------------------
27263
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
27264
+ -----------------------------------------------------
27265
+ Processing by SipgateIo::EventsController#create as HTML
27266
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
27267
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
27268
+  (0.1ms) rollback transaction
27269
+  (0.1ms) begin transaction
27270
+ ---------------------------------------------------------------------
27271
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
27272
+ ---------------------------------------------------------------------
27273
+ Processing by SipgateIo::EventsController#create as HTML
27274
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
27275
+  (0.1ms) rollback transaction
27276
+  (0.1ms) begin transaction
27277
+ ---------------------------------------------------------------------------------
27278
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
27279
+ ---------------------------------------------------------------------------------
27280
+  (0.1ms) rollback transaction
27281
+  (0.1ms) begin transaction
27282
+ ---------------------------------------------------------------
27283
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
27284
+ ---------------------------------------------------------------
27285
+  (0.0ms) rollback transaction
27286
+  (0.1ms) begin transaction
27287
+ ---------------------------------------------------
27288
+ SipgateIo::XmlResponseTestTest: test_only_on_hangup
27289
+ ---------------------------------------------------
27290
+  (0.0ms) rollback transaction
27291
+  (0.1ms) begin transaction
27292
+ ---------------------------------------------------------------
27293
+ SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
27294
+ ---------------------------------------------------------------
27295
+  (0.0ms) rollback transaction
27296
+  (0.1ms) begin transaction
27297
+ -----------------------------------------------------------------------------------
27298
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
27299
+ -----------------------------------------------------------------------------------
27300
+  (0.1ms) rollback transaction
27301
+  (0.1ms) begin transaction
27302
+ ------------------------------------------------------------------------------------
27303
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
27304
+ ------------------------------------------------------------------------------------
27305
+  (0.0ms) rollback transaction
27306
+  (0.1ms) begin transaction
27307
+ --------------------------------------------------------------------
27308
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
27309
+ --------------------------------------------------------------------
27310
+  (0.1ms) rollback transaction
27311
+  (0.1ms) begin transaction
27312
+ ----------------------------------------------------------
27313
+ SipgateIo::XmlResponseTestTest: test_reject_without_reason
27314
+ ----------------------------------------------------------
27315
+  (0.0ms) rollback transaction
27316
+  (0.1ms) begin transaction
27317
+ ------------------------------------------------------------
27318
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
27319
+ ------------------------------------------------------------
27320
+  (0.0ms) rollback transaction
27321
+  (0.1ms) begin transaction
27322
+ --------------------------------------------------
27323
+ SipgateIo::XmlResponseTestTest: test_play_with_url
27324
+ --------------------------------------------------
27325
+  (0.0ms) rollback transaction
27326
+  (0.1ms) begin transaction
27327
+ --------------------------------------------------------------------------
27328
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
27329
+ --------------------------------------------------------------------------
27330
+  (0.0ms) rollback transaction
27331
+  (0.0ms) begin transaction
27332
+ ---------------------------------------------------
27333
+ SipgateIo::XmlResponseTestTest: test_only_on_answer
27334
+ ---------------------------------------------------
27335
+  (0.0ms) rollback transaction
27336
+  (0.1ms) begin transaction
27337
+ ----------------------------------------------------------------------
27338
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
27339
+ ----------------------------------------------------------------------
27340
+  (0.0ms) rollback transaction
27341
+  (0.1ms) begin transaction
27342
+ --------------------------------------------------------------------------
27343
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
27344
+ --------------------------------------------------------------------------
27345
+  (0.0ms) rollback transaction
27346
+  (0.1ms) begin transaction
27347
+ ---------------------------------------------------------------------------
27348
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
27349
+ ---------------------------------------------------------------------------
27350
+  (0.0ms) rollback transaction
27351
+  (0.1ms) begin transaction
27352
+ ---------------------------------------------------------------------------------
27353
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
27354
+ ---------------------------------------------------------------------------------
27355
+  (0.0ms) rollback transaction
27356
+  (0.1ms) begin transaction
27357
+ ----------------------------------------------------------------------
27358
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
27359
+ ----------------------------------------------------------------------
27360
+  (0.0ms) rollback transaction
27361
+  (0.1ms) begin transaction
27362
+ -----------------------------------------------------------------------
27363
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
27364
+ -----------------------------------------------------------------------
27365
+  (0.0ms) rollback transaction
27366
+  (0.1ms) begin transaction
27367
+ -------------------------------------------------------
27368
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason
27369
+ -------------------------------------------------------
27370
+  (0.1ms) rollback transaction
27371
+  (0.0ms) begin transaction
27372
+ -------------------------
27373
+ SipgateIoTest: test_truth
27374
+ -------------------------
27375
+  (0.0ms) rollback transaction
27376
+  (0.1ms) begin transaction
27377
+ -------------------------
27378
+ SipgateIoTest: test_truth
27379
+ -------------------------
27380
+  (0.0ms) rollback transaction
27381
+  (0.0ms) begin transaction
27382
+ ---------------------------------------------------------------------------
27383
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
27384
+ ---------------------------------------------------------------------------
27385
+  (0.0ms) rollback transaction
27386
+  (0.1ms) begin transaction
27387
+ ----------------------------------------------------------------------
27388
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
27389
+ ----------------------------------------------------------------------
27390
+  (0.1ms) rollback transaction
27391
+  (0.1ms) begin transaction
27392
+ ----------------------------------------------------------------------
27393
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
27394
+ ----------------------------------------------------------------------
27395
+  (0.0ms) rollback transaction
27396
+  (0.1ms) begin transaction
27397
+ ---------------------------------------------------------------------------------
27398
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
27399
+ ---------------------------------------------------------------------------------
27400
+  (0.0ms) rollback transaction
27401
+  (0.1ms) begin transaction
27402
+ -------------------------------------------------------
27403
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason
27404
+ -------------------------------------------------------
27405
+  (0.0ms) rollback transaction
27406
+  (0.1ms) begin transaction
27407
+ ----------------------------------------------------------
27408
+ SipgateIo::XmlResponseTestTest: test_reject_without_reason
27409
+ ----------------------------------------------------------
27410
+  (0.0ms) rollback transaction
27411
+  (0.0ms) begin transaction
27412
+ ---------------------------------------------------------------------------------
27413
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
27414
+ ---------------------------------------------------------------------------------
27415
+  (0.1ms) rollback transaction
27416
+  (0.0ms) begin transaction
27417
+ ---------------------------------------------------
27418
+ SipgateIo::XmlResponseTestTest: test_only_on_hangup
27419
+ ---------------------------------------------------
27420
+  (0.0ms) rollback transaction
27421
+  (0.1ms) begin transaction
27422
+ --------------------------------------------------------------------------
27423
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
27424
+ --------------------------------------------------------------------------
27425
+  (0.0ms) rollback transaction
27426
+  (0.1ms) begin transaction
27427
+ -----------------------------------------------------------------------
27428
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
27429
+ -----------------------------------------------------------------------
27430
+  (0.0ms) rollback transaction
27431
+  (0.1ms) begin transaction
27432
+ ------------------------------------------------------------------------------------
27433
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
27434
+ ------------------------------------------------------------------------------------
27435
+  (0.0ms) rollback transaction
27436
+  (0.1ms) begin transaction
27437
+ ------------------------------------------------------------
27438
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
27439
+ ------------------------------------------------------------
27440
+  (0.0ms) rollback transaction
27441
+  (0.0ms) begin transaction
27442
+ ---------------------------------------------------------------
27443
+ SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
27444
+ ---------------------------------------------------------------
27445
+  (0.0ms) rollback transaction
27446
+  (0.1ms) begin transaction
27447
+ ---------------------------------------------------
27448
+ SipgateIo::XmlResponseTestTest: test_only_on_answer
27449
+ ---------------------------------------------------
27450
+  (0.0ms) rollback transaction
27451
+  (0.0ms) begin transaction
27452
+ ---------------------------------------------------------------
27453
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
27454
+ ---------------------------------------------------------------
27455
+  (0.0ms) rollback transaction
27456
+  (0.1ms) begin transaction
27457
+ --------------------------------------------------
27458
+ SipgateIo::XmlResponseTestTest: test_play_with_url
27459
+ --------------------------------------------------
27460
+  (0.0ms) rollback transaction
27461
+  (0.1ms) begin transaction
27462
+ --------------------------------------------------------------------
27463
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
27464
+ --------------------------------------------------------------------
27465
+  (0.0ms) rollback transaction
27466
+  (0.1ms) begin transaction
27467
+ -----------------------------------------------------------------------------------
27468
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
27469
+ -----------------------------------------------------------------------------------
27470
+  (0.0ms) rollback transaction
27471
+  (0.0ms) begin transaction
27472
+ --------------------------------------------------------------------------
27473
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
27474
+ --------------------------------------------------------------------------
27475
+  (0.0ms) rollback transaction
27476
+  (0.0ms) begin transaction
27477
+ ----------------------------------------------------
27478
+ SipgateIo::EventsControllerTest: test_a_valid_answer
27479
+ ----------------------------------------------------
27480
+ Processing by SipgateIo::EventsController#create as HTML
27481
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
27482
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
27483
+  (0.1ms) rollback transaction
27484
+  (0.1ms) begin transaction
27485
+ ---------------------------------------------------------------------
27486
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
27487
+ ---------------------------------------------------------------------
27488
+ Processing by SipgateIo::EventsController#create as HTML
27489
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27490
+ Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms)
27491
+  (0.1ms) rollback transaction
27492
+  (0.1ms) begin transaction
27493
+ ------------------------------------------------
27494
+ SipgateIo::EventsControllerTest: test_a_new_call
27495
+ ------------------------------------------------
27496
+ Processing by SipgateIo::EventsController#create as HTML
27497
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27498
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
27499
+  (0.1ms) rollback transaction
27500
+  (0.1ms) begin transaction
27501
+ ----------------------------------------------------
27502
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
27503
+ ----------------------------------------------------
27504
+ Processing by SipgateIo::EventsController#create as HTML
27505
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
27506
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
27507
+  (0.1ms) rollback transaction
27508
+  (0.1ms) begin transaction
27509
+ ---------------------------------------------------------------------
27510
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
27511
+ ---------------------------------------------------------------------
27512
+ Processing by SipgateIo::EventsController#create as HTML
27513
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
27514
+  (0.1ms) rollback transaction
27515
+  (0.1ms) begin transaction
27516
+ -------------------------------------------------------
27517
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
27518
+ -------------------------------------------------------
27519
+ Processing by SipgateIo::EventsController#create as HTML
27520
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
27521
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
27522
+  (0.0ms) rollback transaction
27523
+  (0.1ms) begin transaction
27524
+ ---------------------------------------------------------------------
27525
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
27526
+ ---------------------------------------------------------------------
27527
+ Processing by SipgateIo::EventsController#create as HTML
27528
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27529
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
27530
+  (0.1ms) rollback transaction
27531
+  (0.1ms) begin transaction
27532
+ -----------------------------------------------------
27533
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
27534
+ -----------------------------------------------------
27535
+ Processing by SipgateIo::EventsController#create as HTML
27536
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
27537
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
27538
+  (0.1ms) rollback transaction
27539
+  (0.1ms) begin transaction
27540
+ -------------------------------------------------------
27541
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
27542
+ -------------------------------------------------------
27543
+ Processing by SipgateIo::EventsController#create as HTML
27544
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
27545
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
27546
+  (0.1ms) rollback transaction
27547
+  (0.1ms) begin transaction
27548
+ --------------------------------------------------
27549
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
27550
+ --------------------------------------------------
27551
+ Processing by SipgateIo::EventsController#create as HTML
27552
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
27553
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
27554
+  (0.0ms) rollback transaction
27555
+  (0.1ms) begin transaction
27556
+ -------------------------------------------------------
27557
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
27558
+ -------------------------------------------------------
27559
+  (0.1ms) begin transaction
27560
+ -----------------------------------------------------
27561
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
27562
+ -----------------------------------------------------
27563
+  (0.2ms) rollback transaction
27564
+  (0.1ms) begin transaction
27565
+ -----------------------------------------------------
27566
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
27567
+ -----------------------------------------------------
27568
+  (0.1ms) rollback transaction
27569
+  (0.1ms) begin transaction
27570
+ ----------------------------------------------------
27571
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
27572
+ ----------------------------------------------------
27573
+ Processing by SipgateIo::EventsController#create as HTML
27574
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
27575
+ Processing by SipgateIo::EventsController#create as HTML
27576
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
27577
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (1.7ms)
27578
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (1.6ms)
27579
+ Completed 200 OK in 221ms (Views: 220.5ms | ActiveRecord: 0.0ms)
27580
+  (0.1ms) rollback transaction
27581
+  (0.1ms) begin transaction
27582
+ -------------------------------------------------------
27583
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
27584
+ -------------------------------------------------------
27585
+ Processing by SipgateIo::EventsController#create as HTML
27586
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
27587
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27588
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
27589
+  (0.1ms) rollback transaction
27590
+  (0.1ms) begin transaction
27591
+ ---------------------------------------------------------------------
27592
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
27593
+ ---------------------------------------------------------------------
27594
+ Completed 200 OK in 229ms (Views: 228.7ms | ActiveRecord: 0.0ms)
27595
+  (0.1ms) rollback transaction
27596
+ Processing by SipgateIo::EventsController#create as HTML
27597
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27598
+  (0.1ms) begin transaction
27599
+ ---------------------------------------------------------------------
27600
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
27601
+ ---------------------------------------------------------------------
27602
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27603
+ Processing by SipgateIo::EventsController#create as HTML
27604
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27605
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
27606
+  (0.1ms) rollback transaction
27607
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27608
+  (0.1ms) begin transaction
27609
+ --------------------------------------------------
27610
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
27611
+ --------------------------------------------------
27612
+ Processing by SipgateIo::EventsController#create as HTML
27613
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
27614
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
27615
+  (0.1ms) rollback transaction
27616
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27617
+  (0.1ms) begin transaction
27618
+ --------------------------------------------------
27619
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
27620
+ --------------------------------------------------
27621
+ Processing by SipgateIo::EventsController#create as HTML
27622
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
27623
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
27624
+  (0.1ms) rollback transaction
27625
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27626
+  (0.1ms) begin transaction
27627
+ -------------------------------------------------------
27628
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
27629
+ -------------------------------------------------------
27630
+ Processing by SipgateIo::EventsController#create as HTML
27631
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
27632
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
27633
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27634
+  (0.1ms) rollback transaction
27635
+  (0.1ms) begin transaction
27636
+ ----------------------------------------------------
27637
+ SipgateIo::EventsControllerTest: test_a_valid_answer
27638
+ ----------------------------------------------------
27639
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
27640
+ Processing by SipgateIo::EventsController#create as HTML
27641
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
27642
+  (0.1ms) rollback transaction
27643
+  (0.1ms) begin transaction
27644
+ ---------------------------------------------------------------------
27645
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
27646
+ ---------------------------------------------------------------------
27647
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27648
+ Processing by SipgateIo::EventsController#create as HTML
27649
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27650
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
27651
+  (0.1ms) rollback transaction
27652
+  (0.1ms) begin transaction
27653
+ ---------------------------------------------------------------------
27654
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
27655
+ ---------------------------------------------------------------------
27656
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
27657
+  (0.1ms) rollback transaction
27658
+ Processing by SipgateIo::EventsController#create as HTML
27659
+  (0.1ms) begin transaction
27660
+ ------------------------------------------------
27661
+ SipgateIo::EventsControllerTest: test_a_new_call
27662
+ ------------------------------------------------
27663
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27664
+ Processing by SipgateIo::EventsController#create as HTML
27665
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27666
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
27667
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27668
+  (0.1ms) rollback transaction
27669
+  (0.1ms) begin transaction
27670
+ ----------------------------------------------------
27671
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
27672
+ ----------------------------------------------------
27673
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
27674
+ Processing by SipgateIo::EventsController#create as HTML
27675
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
27676
+  (0.1ms) rollback transaction
27677
+  (0.1ms) begin transaction
27678
+ ----------------------------------------------------
27679
+ SipgateIo::EventsControllerTest: test_a_valid_answer
27680
+ ----------------------------------------------------
27681
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27682
+ Processing by SipgateIo::EventsController#create as HTML
27683
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
27684
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
27685
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27686
+  (0.1ms) rollback transaction
27687
+  (0.1ms) begin transaction
27688
+ -------------------------------------------------------
27689
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
27690
+ -------------------------------------------------------
27691
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
27692
+  (0.1ms) rollback transaction
27693
+ Processing by SipgateIo::EventsController#create as HTML
27694
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
27695
+  (0.1ms) begin transaction
27696
+ ---------------------------------------------------------------------
27697
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
27698
+ ---------------------------------------------------------------------
27699
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27700
+ Processing by SipgateIo::EventsController#create as HTML
27701
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27702
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27703
+ Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)
27704
+  (0.1ms) rollback transaction
27705
+  (0.0ms) begin transaction
27706
+ ---------------------------------------------------------------------
27707
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
27708
+ ---------------------------------------------------------------------
27709
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
27710
+  (0.1ms) rollback transaction
27711
+ Processing by SipgateIo::EventsController#create as HTML
27712
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27713
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.0ms)
27714
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
27715
+  (0.1ms) rollback transaction
27716
+  (0.1ms) begin transaction
27717
+ ------------------------------------------------
27718
+ SipgateIo::EventsControllerTest: test_a_new_call
27719
+ ------------------------------------------------
27720
+ Processing by SipgateIo::EventsController#create as HTML
27721
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27722
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27723
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
27724
+  (0.2ms) rollback transaction
27725
+  (0.1ms) begin transaction
27726
+  (0.1ms) begin transaction
27727
+ ------------------------------------------------
27728
+ --------------------------------------------------
27729
+ SipgateIo::EventsControllerTest: test_a_new_call
27730
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
27731
+ ------------------------------------------------
27732
+ --------------------------------------------------
27733
+  (0.2ms) rollback transaction
27734
+  (0.1ms) begin transaction
27735
+ -------------------------------------------------------
27736
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
27737
+ -------------------------------------------------------
27738
+  (0.1ms) rollback transaction
27739
+  (0.1ms) begin transaction
27740
+ -------------------------------------------------------
27741
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
27742
+ -------------------------------------------------------
27743
+ Processing by SipgateIo::EventsController#create as HTML
27744
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
27745
+ Processing by SipgateIo::EventsController#create as HTML
27746
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
27747
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (1.2ms)
27748
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (1.2ms)
27749
+ Completed 200 OK in 196ms (Views: 195.5ms | ActiveRecord: 0.0ms)
27750
+ Completed 200 OK in 196ms (Views: 196.0ms | ActiveRecord: 0.0ms)
27751
+  (0.1ms) rollback transaction
27752
+  (0.1ms) rollback transaction
27753
+  (0.1ms) begin transaction
27754
+ -----------------------------------------------------
27755
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
27756
+ -----------------------------------------------------
27757
+  (0.1ms) begin transaction
27758
+ ---------------------------------------------------------------------
27759
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
27760
+ ---------------------------------------------------------------------
27761
+ Processing by SipgateIo::EventsController#create as HTML
27762
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
27763
+ Processing by SipgateIo::EventsController#create as HTML
27764
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27765
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27766
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27767
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
27768
+ Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)
27769
+  (0.1ms) rollback transaction
27770
+  (0.1ms) rollback transaction
27771
+  (0.1ms) begin transaction
27772
+  (0.1ms) begin transaction
27773
+ ---------------------------------------------------------------------
27774
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
27775
+ ---------------------------------------------------------------------
27776
+ ---------------------------------------------------------------------
27777
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
27778
+ ---------------------------------------------------------------------
27779
+ Processing by SipgateIo::EventsController#create as HTML
27780
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27781
+ Processing by SipgateIo::EventsController#create as HTML
27782
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27783
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27784
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
27785
+  (0.1ms) rollback transaction
27786
+  (0.1ms) begin transaction
27787
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
27788
+ ----------------------------------------------------
27789
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
27790
+ ----------------------------------------------------
27791
+  (0.1ms) rollback transaction
27792
+  (0.1ms) begin transaction
27793
+ -----------------------------------------------------
27794
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
27795
+ -----------------------------------------------------
27796
+ Processing by SipgateIo::EventsController#create as HTML
27797
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
27798
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.0ms)
27799
+ Processing by SipgateIo::EventsController#create as HTML
27800
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
27801
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27802
+ Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms)
27803
+  (0.1ms) rollback transaction
27804
+  (0.1ms) begin transaction
27805
+ ---------------------------------------------------------------------
27806
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
27807
+ ---------------------------------------------------------------------
27808
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
27809
+  (0.1ms) rollback transaction
27810
+  (0.1ms) begin transaction
27811
+ ----------------------------------------------------
27812
+ SipgateIo::EventsControllerTest: test_a_valid_answer
27813
+ ----------------------------------------------------
27814
+ Processing by SipgateIo::EventsController#create as HTML
27815
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27816
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.0ms)
27817
+ Processing by SipgateIo::EventsController#create as HTML
27818
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
27819
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.0ms)
27820
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
27821
+  (0.1ms) rollback transaction
27822
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
27823
+  (0.1ms) begin transaction
27824
+ ----------------------------------------------------
27825
+ SipgateIo::EventsControllerTest: test_a_valid_answer
27826
+ ----------------------------------------------------
27827
+  (0.1ms) rollback transaction
27828
+  (0.1ms) begin transaction
27829
+ ----------------------------------------------------
27830
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
27831
+ ----------------------------------------------------
27832
+ Processing by SipgateIo::EventsController#create as HTML
27833
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
27834
+ Processing by SipgateIo::EventsController#create as HTML
27835
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
27836
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27837
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.0ms)
27838
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
27839
+  (0.1ms) rollback transaction
27840
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
27841
+  (0.1ms) rollback transaction
27842
+  (0.1ms) begin transaction
27843
+ -------------------------------------------------------
27844
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
27845
+ -------------------------------------------------------
27846
+  (0.1ms) begin transaction
27847
+ ---------------------------------------------------------------------
27848
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
27849
+ ---------------------------------------------------------------------
27850
+ Processing by SipgateIo::EventsController#create as HTML
27851
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
27852
+ Processing by SipgateIo::EventsController#create as HTML
27853
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.0ms)
27854
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.0ms)
27855
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
27856
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
27857
+  (0.1ms) rollback transaction
27858
+  (0.1ms) rollback transaction
27859
+  (0.1ms) begin transaction
27860
+  (0.1ms) begin transaction
27861
+ -------------------------------------------------------
27862
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
27863
+ -------------------------------------------------------
27864
+ ---------------------------------------------------------------------
27865
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
27866
+ ---------------------------------------------------------------------
27867
+ Processing by SipgateIo::EventsController#create as HTML
27868
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
27869
+ Processing by SipgateIo::EventsController#create as HTML
27870
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27871
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27872
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.0ms)
27873
+ Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms)
27874
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
27875
+  (0.1ms) rollback transaction
27876
+  (0.1ms) rollback transaction
27877
+  (0.1ms) begin transaction
27878
+  (0.1ms) begin transaction
27879
+ --------------------------------------------------
27880
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
27881
+ --------------------------------------------------
27882
+ ------------------------------------------------
27883
+ SipgateIo::EventsControllerTest: test_a_new_call
27884
+ ------------------------------------------------
27885
+ Processing by SipgateIo::EventsController#create as HTML
27886
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
27887
+ Processing by SipgateIo::EventsController#create as HTML
27888
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27889
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.1ms)
27890
+ Rendered /Users/christian/projects/gem/sipgate_io/app/views/sipgate_io/events/create.html.erb within layouts/sipgate_io/application (0.0ms)
27891
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
27892
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
27893
+  (0.1ms) rollback transaction
27894
+  (0.1ms) rollback transaction
27895
+  (0.3ms) begin transaction
27896
+ ---------------------------------------------------------------------
27897
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
27898
+ ---------------------------------------------------------------------
27899
+ Processing by SipgateIo::EventsController#create as HTML
27900
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
27901
+  (0.2ms) rollback transaction
27902
+  (0.2ms) begin transaction
27903
+ ---------------------------------------------------------------------
27904
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
27905
+ ---------------------------------------------------------------------
27906
+ Processing by SipgateIo::EventsController#create as HTML
27907
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27908
+ Completed 500 Internal Server Error in 24ms (ActiveRecord: 0.0ms)
27909
+  (0.1ms) rollback transaction
27910
+  (0.1ms) begin transaction
27911
+ -------------------------------------------------------
27912
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
27913
+ -------------------------------------------------------
27914
+ Processing by SipgateIo::EventsController#create as HTML
27915
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
27916
+ Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms)
27917
+  (0.1ms) rollback transaction
27918
+  (0.1ms) begin transaction
27919
+ ----------------------------------------------------
27920
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
27921
+ ----------------------------------------------------
27922
+ Processing by SipgateIo::EventsController#create as HTML
27923
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
27924
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
27925
+  (0.1ms) rollback transaction
27926
+  (0.1ms) begin transaction
27927
+ --------------------------------------------------
27928
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
27929
+ --------------------------------------------------
27930
+ Processing by SipgateIo::EventsController#create as HTML
27931
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
27932
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
27933
+  (0.1ms) rollback transaction
27934
+  (0.1ms) begin transaction
27935
+ ----------------------------------------------------
27936
+ SipgateIo::EventsControllerTest: test_a_valid_answer
27937
+ ----------------------------------------------------
27938
+ Processing by SipgateIo::EventsController#create as HTML
27939
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
27940
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
27941
+  (0.1ms) rollback transaction
27942
+  (0.2ms) begin transaction
27943
+ -----------------------------------------------------
27944
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
27945
+ -----------------------------------------------------
27946
+ Processing by SipgateIo::EventsController#create as HTML
27947
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
27948
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
27949
+  (0.1ms) rollback transaction
27950
+  (0.1ms) begin transaction
27951
+ -------------------------------------------------------
27952
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
27953
+ -------------------------------------------------------
27954
+ Processing by SipgateIo::EventsController#create as HTML
27955
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
27956
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
27957
+  (0.2ms) rollback transaction
27958
+  (0.1ms) begin transaction
27959
+ ---------------------------------------------------------------------
27960
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
27961
+ ---------------------------------------------------------------------
27962
+ Processing by SipgateIo::EventsController#create as HTML
27963
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27964
+ Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)
27965
+  (0.1ms) rollback transaction
27966
+  (0.1ms) begin transaction
27967
+ ------------------------------------------------
27968
+ SipgateIo::EventsControllerTest: test_a_new_call
27969
+ ------------------------------------------------
27970
+ Processing by SipgateIo::EventsController#create as HTML
27971
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27972
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
27973
+  (0.2ms) rollback transaction
27974
+  (0.3ms) begin transaction
27975
+ ------------------------------------------------
27976
+ SipgateIo::EventsControllerTest: test_a_new_call
27977
+ ------------------------------------------------
27978
+ Processing by SipgateIo::EventsController#create as HTML
27979
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27980
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)
27981
+  (0.2ms) rollback transaction
27982
+  (0.1ms) begin transaction
27983
+ ---------------------------------------------------------------------
27984
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
27985
+ ---------------------------------------------------------------------
27986
+ Processing by SipgateIo::EventsController#create as HTML
27987
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
27988
+ Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)
27989
+  (0.1ms) rollback transaction
27990
+  (0.1ms) begin transaction
27991
+ ---------------------------------------------------------------------
27992
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
27993
+ ---------------------------------------------------------------------
27994
+ Processing by SipgateIo::EventsController#create as HTML
27995
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
27996
+  (0.1ms) rollback transaction
27997
+  (0.1ms) begin transaction
27998
+ ----------------------------------------------------
27999
+ SipgateIo::EventsControllerTest: test_a_valid_answer
28000
+ ----------------------------------------------------
28001
+ Processing by SipgateIo::EventsController#create as HTML
28002
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
28003
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28004
+  (0.1ms) rollback transaction
28005
+  (0.1ms) begin transaction
28006
+ --------------------------------------------------
28007
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
28008
+ --------------------------------------------------
28009
+ Processing by SipgateIo::EventsController#create as HTML
28010
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
28011
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28012
+  (0.1ms) rollback transaction
28013
+  (0.1ms) begin transaction
28014
+ -----------------------------------------------------
28015
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
28016
+ -----------------------------------------------------
28017
+ Processing by SipgateIo::EventsController#create as HTML
28018
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
28019
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
28020
+  (0.1ms) rollback transaction
28021
+  (0.1ms) begin transaction
28022
+ -------------------------------------------------------
28023
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
28024
+ -------------------------------------------------------
28025
+ Processing by SipgateIo::EventsController#create as HTML
28026
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
28027
+ Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
28028
+  (0.2ms) rollback transaction
28029
+  (0.1ms) begin transaction
28030
+ ----------------------------------------------------
28031
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
28032
+ ----------------------------------------------------
28033
+ Processing by SipgateIo::EventsController#create as HTML
28034
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
28035
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28036
+  (0.1ms) rollback transaction
28037
+  (0.1ms) begin transaction
28038
+ -------------------------------------------------------
28039
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
28040
+ -------------------------------------------------------
28041
+ Processing by SipgateIo::EventsController#create as HTML
28042
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
28043
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
28044
+  (0.2ms) rollback transaction
28045
+  (0.1ms) begin transaction
28046
+ ---------------------------------------------------------------------
28047
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
28048
+ ---------------------------------------------------------------------
28049
+ Processing by SipgateIo::EventsController#create as HTML
28050
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28051
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
28052
+  (0.1ms) rollback transaction
28053
+  (0.2ms) begin transaction
28054
+ ---------------------------------------------------------------------
28055
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
28056
+ ---------------------------------------------------------------------
28057
+ Processing by SipgateIo::EventsController#create as HTML
28058
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
28059
+  (0.1ms) rollback transaction
28060
+  (0.0ms) begin transaction
28061
+ -------------------------------------------------------
28062
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
28063
+ -------------------------------------------------------
28064
+ Processing by SipgateIo::EventsController#create as HTML
28065
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
28066
+ Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
28067
+  (0.1ms) rollback transaction
28068
+  (0.0ms) begin transaction
28069
+ --------------------------------------------------
28070
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
28071
+ --------------------------------------------------
28072
+ Processing by SipgateIo::EventsController#create as HTML
28073
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
28074
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28075
+  (0.1ms) rollback transaction
28076
+  (0.0ms) begin transaction
28077
+ ----------------------------------------------------
28078
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
28079
+ ----------------------------------------------------
28080
+ Processing by SipgateIo::EventsController#create as HTML
28081
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
28082
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
28083
+  (0.1ms) rollback transaction
28084
+  (0.1ms) begin transaction
28085
+ ------------------------------------------------
28086
+ SipgateIo::EventsControllerTest: test_a_new_call
28087
+ ------------------------------------------------
28088
+ Processing by SipgateIo::EventsController#create as HTML
28089
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28090
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28091
+  (0.1ms) rollback transaction
28092
+  (0.1ms) begin transaction
28093
+ -------------------------------------------------------
28094
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
28095
+ -------------------------------------------------------
28096
+ Processing by SipgateIo::EventsController#create as HTML
28097
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
28098
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28099
+  (0.1ms) rollback transaction
28100
+  (0.1ms) begin transaction
28101
+ ---------------------------------------------------------------------
28102
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
28103
+ ---------------------------------------------------------------------
28104
+ Processing by SipgateIo::EventsController#create as HTML
28105
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28106
+ Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
28107
+  (0.2ms) rollback transaction
28108
+  (0.1ms) begin transaction
28109
+ ---------------------------------------------------------------------
28110
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
28111
+ ---------------------------------------------------------------------
28112
+ Processing by SipgateIo::EventsController#create as HTML
28113
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28114
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28115
+  (0.0ms) rollback transaction
28116
+  (0.1ms) begin transaction
28117
+ -----------------------------------------------------
28118
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
28119
+ -----------------------------------------------------
28120
+ Processing by SipgateIo::EventsController#create as HTML
28121
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
28122
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28123
+  (0.1ms) rollback transaction
28124
+  (0.1ms) begin transaction
28125
+ ----------------------------------------------------
28126
+ SipgateIo::EventsControllerTest: test_a_valid_answer
28127
+ ----------------------------------------------------
28128
+ Processing by SipgateIo::EventsController#create as HTML
28129
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
28130
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28131
+  (0.0ms) rollback transaction
28132
+  (0.0ms) begin transaction
28133
+ ---------------------------------------------------------------------------------
28134
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
28135
+ ---------------------------------------------------------------------------------
28136
+  (0.0ms) rollback transaction
28137
+  (0.1ms) begin transaction
28138
+ -------------------------------------------------------
28139
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason
28140
+ -------------------------------------------------------
28141
+  (0.0ms) rollback transaction
28142
+  (0.1ms) begin transaction
28143
+ -----------------------------------------------------------------------------------
28144
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
28145
+ -----------------------------------------------------------------------------------
28146
+  (0.0ms) rollback transaction
28147
+  (0.1ms) begin transaction
28148
+ ----------------------------------------------------------
28149
+ SipgateIo::XmlResponseTestTest: test_reject_without_reason
28150
+ ----------------------------------------------------------
28151
+  (0.0ms) rollback transaction
28152
+  (0.1ms) begin transaction
28153
+ ---------------------------------------------------------------
28154
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
28155
+ ---------------------------------------------------------------
28156
+  (0.0ms) rollback transaction
28157
+  (0.1ms) begin transaction
28158
+ --------------------------------------------------------------------------
28159
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
28160
+ --------------------------------------------------------------------------
28161
+  (0.0ms) rollback transaction
28162
+  (0.1ms) begin transaction
28163
+ ----------------------------------------------------------------------
28164
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
28165
+ ----------------------------------------------------------------------
28166
+  (0.0ms) rollback transaction
28167
+  (0.1ms) begin transaction
28168
+ ------------------------------------------------------------
28169
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
28170
+ ------------------------------------------------------------
28171
+  (0.0ms) rollback transaction
28172
+  (0.1ms) begin transaction
28173
+ ---------------------------------------------------------------------------
28174
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
28175
+ ---------------------------------------------------------------------------
28176
+  (0.0ms) rollback transaction
28177
+  (0.1ms) begin transaction
28178
+ --------------------------------------------------
28179
+ SipgateIo::XmlResponseTestTest: test_play_with_url
28180
+ --------------------------------------------------
28181
+  (0.0ms) rollback transaction
28182
+  (0.1ms) begin transaction
28183
+ ----------------------------------------------------------------------
28184
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
28185
+ ----------------------------------------------------------------------
28186
+  (0.0ms) rollback transaction
28187
+  (0.1ms) begin transaction
28188
+ ---------------------------------------------------
28189
+ SipgateIo::XmlResponseTestTest: test_only_on_hangup
28190
+ ---------------------------------------------------
28191
+  (0.0ms) rollback transaction
28192
+  (0.1ms) begin transaction
28193
+ ------------------------------------------------------------------------------------
28194
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
28195
+ ------------------------------------------------------------------------------------
28196
+  (0.0ms) rollback transaction
28197
+  (0.1ms) begin transaction
28198
+ ---------------------------------------------------------------
28199
+ SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
28200
+ ---------------------------------------------------------------
28201
+  (0.0ms) rollback transaction
28202
+  (0.1ms) begin transaction
28203
+ --------------------------------------------------------------------
28204
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
28205
+ --------------------------------------------------------------------
28206
+  (0.0ms) rollback transaction
28207
+  (0.1ms) begin transaction
28208
+ ---------------------------------------------------------------------------------
28209
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
28210
+ ---------------------------------------------------------------------------------
28211
+  (0.0ms) rollback transaction
28212
+  (0.1ms) begin transaction
28213
+ --------------------------------------------------------------------------
28214
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
28215
+ --------------------------------------------------------------------------
28216
+  (0.0ms) rollback transaction
28217
+  (0.1ms) begin transaction
28218
+ ---------------------------------------------------
28219
+ SipgateIo::XmlResponseTestTest: test_only_on_answer
28220
+ ---------------------------------------------------
28221
+  (0.0ms) rollback transaction
28222
+  (0.1ms) begin transaction
28223
+ -----------------------------------------------------------------------
28224
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
28225
+ -----------------------------------------------------------------------
28226
+  (0.0ms) rollback transaction
28227
+  (0.1ms) begin transaction
28228
+ -------------------------
28229
+ SipgateIoTest: test_truth
28230
+ -------------------------
28231
+  (0.0ms) rollback transaction
28232
+  (0.1ms) begin transaction
28233
+ ----------------------------------------------------
28234
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
28235
+ ----------------------------------------------------
28236
+  (0.1ms) begin transaction
28237
+ ---------------------------------------------------------------------
28238
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
28239
+ ---------------------------------------------------------------------
28240
+ Processing by SipgateIo::EventsController#create as HTML
28241
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
28242
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28243
+  (0.1ms) rollback transaction
28244
+  (0.1ms) begin transaction
28245
+ -------------------------------------------------------
28246
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
28247
+ -------------------------------------------------------
28248
+ Processing by SipgateIo::EventsController#create as HTML
28249
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
28250
+ Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)
28251
+  (0.1ms) rollback transaction
28252
+  (0.1ms) begin transaction
28253
+ -------------------------------------------------------
28254
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
28255
+ -------------------------------------------------------
28256
+ Processing by SipgateIo::EventsController#create as HTML
28257
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
28258
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28259
+  (0.1ms) rollback transaction
28260
+  (0.1ms) begin transaction
28261
+ ------------------------------------------------
28262
+ SipgateIo::EventsControllerTest: test_a_new_call
28263
+ ------------------------------------------------
28264
+ Processing by SipgateIo::EventsController#create as HTML
28265
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28266
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28267
+  (0.1ms) rollback transaction
28268
+  (0.1ms) begin transaction
28269
+ ---------------------------------------------------------------------
28270
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
28271
+ ---------------------------------------------------------------------
28272
+ Processing by SipgateIo::EventsController#create as HTML
28273
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28274
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
28275
+  (0.1ms) rollback transaction
28276
+  (0.1ms) begin transaction
28277
+ ---------------------------------------------------------------------
28278
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
28279
+ ---------------------------------------------------------------------
28280
+ Processing by SipgateIo::EventsController#create as HTML
28281
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
28282
+  (0.1ms) rollback transaction
28283
+  (0.1ms) begin transaction
28284
+ -----------------------------------------------------
28285
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
28286
+ -----------------------------------------------------
28287
+ Processing by SipgateIo::EventsController#create as HTML
28288
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
28289
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28290
+ Processing by SipgateIo::EventsController#create as HTML
28291
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28292
+  (0.1ms) rollback transaction
28293
+  (0.1ms) begin transaction
28294
+ ---------------------------------------------------------------------
28295
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
28296
+ ---------------------------------------------------------------------
28297
+ Processing by SipgateIo::EventsController#create as HTML
28298
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28299
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
28300
+  (0.1ms) rollback transaction
28301
+  (0.1ms) begin transaction
28302
+ ----------------------------------------------------
28303
+ SipgateIo::EventsControllerTest: test_a_valid_answer
28304
+ ----------------------------------------------------
28305
+ Processing by SipgateIo::EventsController#create as HTML
28306
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
28307
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28308
+  (0.1ms) rollback transaction
28309
+  (0.0ms) begin transaction
28310
+ --------------------------------------------------
28311
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
28312
+ --------------------------------------------------
28313
+ Processing by SipgateIo::EventsController#create as HTML
28314
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
28315
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28316
+  (0.0ms) rollback transaction
28317
+ Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
28318
+  (0.1ms) rollback transaction
28319
+  (0.1ms) begin transaction
28320
+ ---------------------------------------------------------------------
28321
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
28322
+ ---------------------------------------------------------------------
28323
+ Processing by SipgateIo::EventsController#create as HTML
28324
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
28325
+  (0.0ms) rollback transaction
28326
+  (0.1ms) begin transaction
28327
+ ---------------------------------------------------------------------
28328
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
28329
+ ---------------------------------------------------------------------
28330
+ Processing by SipgateIo::EventsController#create as HTML
28331
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28332
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
28333
+  (0.1ms) rollback transaction
28334
+  (0.2ms) begin transaction
28335
+ ----------------------------------------------------
28336
+ SipgateIo::EventsControllerTest: test_a_valid_answer
28337
+ ----------------------------------------------------
28338
+ Processing by SipgateIo::EventsController#create as HTML
28339
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
28340
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28341
+  (0.1ms) rollback transaction
28342
+  (0.1ms) begin transaction
28343
+ -------------------------------------------------------
28344
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
28345
+ -------------------------------------------------------
28346
+ Processing by SipgateIo::EventsController#create as HTML
28347
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
28348
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28349
+  (0.1ms) rollback transaction
28350
+  (0.1ms) begin transaction
28351
+ -------------------------------------------------------
28352
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
28353
+ -------------------------------------------------------
28354
+ Processing by SipgateIo::EventsController#create as HTML
28355
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
28356
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28357
+  (0.1ms) rollback transaction
28358
+  (0.2ms) begin transaction
28359
+ ------------------------------------------------
28360
+ SipgateIo::EventsControllerTest: test_a_new_call
28361
+ ------------------------------------------------
28362
+ Processing by SipgateIo::EventsController#create as HTML
28363
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28364
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28365
+  (0.1ms) rollback transaction
28366
+  (0.1ms) begin transaction
28367
+ -----------------------------------------------------
28368
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
28369
+ -----------------------------------------------------
28370
+ Processing by SipgateIo::EventsController#create as HTML
28371
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
28372
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28373
+  (0.1ms) rollback transaction
28374
+  (0.1ms) begin transaction
28375
+ --------------------------------------------------
28376
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
28377
+ --------------------------------------------------
28378
+ Processing by SipgateIo::EventsController#create as HTML
28379
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
28380
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28381
+  (0.1ms) rollback transaction
28382
+  (0.1ms) begin transaction
28383
+ ----------------------------------------------------
28384
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
28385
+ ----------------------------------------------------
28386
+ Processing by SipgateIo::EventsController#create as HTML
28387
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
28388
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28389
+  (0.1ms) rollback transaction
28390
+  (0.1ms) begin transaction
28391
+ ---------------------------------------------------------------------
28392
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
28393
+ ---------------------------------------------------------------------
28394
+ Processing by SipgateIo::EventsController#create as HTML
28395
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
28396
+  (0.1ms) rollback transaction
28397
+  (0.1ms) begin transaction
28398
+ ---------------------------------------------------------------------
28399
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
28400
+ ---------------------------------------------------------------------
28401
+ Processing by SipgateIo::EventsController#create as HTML
28402
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28403
+ Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)
28404
+  (0.1ms) rollback transaction
28405
+  (0.1ms) begin transaction
28406
+ ------------------------------------------------
28407
+ SipgateIo::EventsControllerTest: test_a_new_call
28408
+ ------------------------------------------------
28409
+ Processing by SipgateIo::EventsController#create as HTML
28410
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28411
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28412
+  (0.1ms) rollback transaction
28413
+  (0.1ms) begin transaction
28414
+ -------------------------------------------------------
28415
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
28416
+ -------------------------------------------------------
28417
+ Processing by SipgateIo::EventsController#create as HTML
28418
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
28419
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28420
+  (0.1ms) rollback transaction
28421
+  (0.1ms) begin transaction
28422
+ -------------------------------------------------------
28423
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
28424
+ -------------------------------------------------------
28425
+ Processing by SipgateIo::EventsController#create as HTML
28426
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
28427
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28428
+  (0.1ms) rollback transaction
28429
+  (0.1ms) begin transaction
28430
+ ----------------------------------------------------
28431
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
28432
+ ----------------------------------------------------
28433
+ Processing by SipgateIo::EventsController#create as HTML
28434
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
28435
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28436
+  (0.1ms) rollback transaction
28437
+  (0.1ms) begin transaction
28438
+ ---------------------------------------------------------------------
28439
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
28440
+ ---------------------------------------------------------------------
28441
+ Processing by SipgateIo::EventsController#create as HTML
28442
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
28443
+  (0.0ms) rollback transaction
28444
+  (0.1ms) begin transaction
28445
+ ----------------------------------------------------
28446
+ SipgateIo::EventsControllerTest: test_a_valid_answer
28447
+ ----------------------------------------------------
28448
+ Processing by SipgateIo::EventsController#create as HTML
28449
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
28450
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28451
+  (0.1ms) rollback transaction
28452
+  (0.0ms) begin transaction
28453
+ -----------------------------------------------------
28454
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
28455
+ -----------------------------------------------------
28456
+ Processing by SipgateIo::EventsController#create as HTML
28457
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
28458
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
28459
+  (0.1ms) rollback transaction
28460
+  (0.0ms) begin transaction
28461
+ ---------------------------------------------------------------------
28462
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
28463
+ ---------------------------------------------------------------------
28464
+ Processing by SipgateIo::EventsController#create as HTML
28465
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28466
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
28467
+  (0.1ms) rollback transaction
28468
+  (0.1ms) begin transaction
28469
+ --------------------------------------------------
28470
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
28471
+ --------------------------------------------------
28472
+ Processing by SipgateIo::EventsController#create as HTML
28473
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
28474
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28475
+  (0.1ms) rollback transaction
28476
+  (0.0ms) begin transaction
28477
+ ---------------------------------------------------------------------------------
28478
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
28479
+ ---------------------------------------------------------------------------------
28480
+  (0.0ms) rollback transaction
28481
+  (0.0ms) begin transaction
28482
+ ---------------------------------------------------------------------------
28483
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
28484
+ ---------------------------------------------------------------------------
28485
+  (0.0ms) rollback transaction
28486
+  (0.0ms) begin transaction
28487
+ -------------------------------------------------------
28488
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason
28489
+ -------------------------------------------------------
28490
+  (0.0ms) rollback transaction
28491
+  (0.0ms) begin transaction
28492
+ ---------------------------------------------------------------------------------
28493
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
28494
+ ---------------------------------------------------------------------------------
28495
+  (0.0ms) rollback transaction
28496
+  (0.0ms) begin transaction
28497
+ ----------------------------------------------------------------------
28498
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
28499
+ ----------------------------------------------------------------------
28500
+  (0.0ms) rollback transaction
28501
+  (0.0ms) begin transaction
28502
+ ----------------------------------------------------------
28503
+ SipgateIo::XmlResponseTestTest: test_reject_without_reason
28504
+ ----------------------------------------------------------
28505
+  (0.0ms) rollback transaction
28506
+  (0.0ms) begin transaction
28507
+ ------------------------------------------------------------------------------------
28508
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
28509
+ ------------------------------------------------------------------------------------
28510
+  (0.0ms) rollback transaction
28511
+  (0.0ms) begin transaction
28512
+ ---------------------------------------------------
28513
+ SipgateIo::XmlResponseTestTest: test_only_on_hangup
28514
+ ---------------------------------------------------
28515
+  (0.0ms) rollback transaction
28516
+  (0.0ms) begin transaction
28517
+ -----------------------------------------------------------------------------------
28518
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
28519
+ -----------------------------------------------------------------------------------
28520
+  (0.0ms) rollback transaction
28521
+  (0.0ms) begin transaction
28522
+ ---------------------------------------------------
28523
+ SipgateIo::XmlResponseTestTest: test_only_on_answer
28524
+ ---------------------------------------------------
28525
+  (0.0ms) rollback transaction
28526
+  (0.0ms) begin transaction
28527
+ ----------------------------------------------------------------------
28528
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
28529
+ ----------------------------------------------------------------------
28530
+  (0.0ms) rollback transaction
28531
+  (0.1ms) begin transaction
28532
+ --------------------------------------------------
28533
+ SipgateIo::XmlResponseTestTest: test_play_with_url
28534
+ --------------------------------------------------
28535
+  (0.0ms) rollback transaction
28536
+  (0.0ms) begin transaction
28537
+ ---------------------------------------------------------------
28538
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
28539
+ ---------------------------------------------------------------
28540
+  (0.0ms) rollback transaction
28541
+  (0.0ms) begin transaction
28542
+ ------------------------------------------------------------
28543
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
28544
+ ------------------------------------------------------------
28545
+  (0.0ms) rollback transaction
28546
+  (0.0ms) begin transaction
28547
+ --------------------------------------------------------------------
28548
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
28549
+ --------------------------------------------------------------------
28550
+  (0.0ms) rollback transaction
28551
+  (0.0ms) begin transaction
28552
+ ---------------------------------------------------------------
28553
+ SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
28554
+ ---------------------------------------------------------------
28555
+  (0.0ms) rollback transaction
28556
+  (0.0ms) begin transaction
28557
+ -----------------------------------------------------------------------
28558
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
28559
+ -----------------------------------------------------------------------
28560
+  (0.0ms) rollback transaction
28561
+  (0.0ms) begin transaction
28562
+ --------------------------------------------------------------------------
28563
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
28564
+ --------------------------------------------------------------------------
28565
+  (0.0ms) rollback transaction
28566
+  (0.1ms) begin transaction
28567
+ --------------------------------------------------------------------------
28568
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
28569
+ --------------------------------------------------------------------------
28570
+  (0.1ms) rollback transaction
28571
+  (0.1ms) begin transaction
28572
+ ---------------------------------------------------------------------
28573
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
28574
+ ---------------------------------------------------------------------
28575
+ Processing by SipgateIo::EventsController#create as HTML
28576
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28577
+ Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms)
28578
+  (0.1ms) rollback transaction
28579
+  (0.0ms) begin transaction
28580
+ -----------------------------------------------------
28581
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
28582
+ -----------------------------------------------------
28583
+ Processing by SipgateIo::EventsController#create as HTML
28584
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
28585
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28586
+  (0.1ms) rollback transaction
28587
+  (0.0ms) begin transaction
28588
+ ------------------------------------------------
28589
+ SipgateIo::EventsControllerTest: test_a_new_call
28590
+ ------------------------------------------------
28591
+ Processing by SipgateIo::EventsController#create as HTML
28592
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28593
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28594
+  (0.1ms) rollback transaction
28595
+  (0.1ms) begin transaction
28596
+ ----------------------------------------------------
28597
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
28598
+ ----------------------------------------------------
28599
+ Processing by SipgateIo::EventsController#create as HTML
28600
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
28601
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28602
+  (0.1ms) rollback transaction
28603
+  (0.1ms) begin transaction
28604
+ ----------------------------------------------------
28605
+ SipgateIo::EventsControllerTest: test_a_valid_answer
28606
+ ----------------------------------------------------
28607
+ Processing by SipgateIo::EventsController#create as HTML
28608
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
28609
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28610
+  (0.0ms) rollback transaction
28611
+  (0.1ms) begin transaction
28612
+ --------------------------------------------------
28613
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
28614
+ --------------------------------------------------
28615
+ Processing by SipgateIo::EventsController#create as HTML
28616
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
28617
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28618
+  (0.0ms) rollback transaction
28619
+  (0.0ms) begin transaction
28620
+ -------------------------------------------------------
28621
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
28622
+ -------------------------------------------------------
28623
+ Processing by SipgateIo::EventsController#create as HTML
28624
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
28625
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28626
+  (0.0ms) rollback transaction
28627
+  (0.0ms) begin transaction
28628
+ ---------------------------------------------------------------------
28629
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
28630
+ ---------------------------------------------------------------------
28631
+ Processing by SipgateIo::EventsController#create as HTML
28632
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
28633
+  (0.0ms) rollback transaction
28634
+  (0.0ms) begin transaction
28635
+ -------------------------------------------------------
28636
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
28637
+ -------------------------------------------------------
28638
+ Processing by SipgateIo::EventsController#create as HTML
28639
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
28640
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28641
+  (0.1ms) rollback transaction
28642
+  (0.0ms) begin transaction
28643
+ ---------------------------------------------------------------------
28644
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
28645
+ ---------------------------------------------------------------------
28646
+ Processing by SipgateIo::EventsController#create as HTML
28647
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28648
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28649
+  (0.0ms) rollback transaction
28650
+  (0.1ms) begin transaction
28651
+ -----------------------------------------------------
28652
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
28653
+ -----------------------------------------------------
28654
+ Processing by SipgateIo::EventsController#create as HTML
28655
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
28656
+ Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
28657
+  (0.1ms) rollback transaction
28658
+  (0.1ms) begin transaction
28659
+ ---------------------------------------------------------------------
28660
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
28661
+ ---------------------------------------------------------------------
28662
+ Processing by SipgateIo::EventsController#create as HTML
28663
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28664
+ Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
28665
+  (0.1ms) rollback transaction
28666
+  (0.1ms) begin transaction
28667
+ ----------------------------------------------------
28668
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
28669
+ ----------------------------------------------------
28670
+ Processing by SipgateIo::EventsController#create as HTML
28671
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
28672
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
28673
+  (0.1ms) rollback transaction
28674
+  (0.1ms) begin transaction
28675
+ ---------------------------------------------------------------------
28676
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
28677
+ ---------------------------------------------------------------------
28678
+ Processing by SipgateIo::EventsController#create as HTML
28679
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28680
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
28681
+  (0.1ms) rollback transaction
28682
+  (0.1ms) begin transaction
28683
+ ---------------------------------------------------------------------
28684
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
28685
+ ---------------------------------------------------------------------
28686
+ Processing by SipgateIo::EventsController#create as HTML
28687
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
28688
+  (0.0ms) rollback transaction
28689
+  (0.0ms) begin transaction
28690
+ ----------------------------------------------------
28691
+ SipgateIo::EventsControllerTest: test_a_valid_answer
28692
+ ----------------------------------------------------
28693
+ Processing by SipgateIo::EventsController#create as HTML
28694
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
28695
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28696
+  (0.0ms) rollback transaction
28697
+  (0.1ms) begin transaction
28698
+ -------------------------------------------------------
28699
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
28700
+ -------------------------------------------------------
28701
+ Processing by SipgateIo::EventsController#create as HTML
28702
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
28703
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28704
+  (0.0ms) rollback transaction
28705
+  (0.1ms) begin transaction
28706
+ ------------------------------------------------
28707
+ SipgateIo::EventsControllerTest: test_a_new_call
28708
+ ------------------------------------------------
28709
+ Processing by SipgateIo::EventsController#create as HTML
28710
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28711
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28712
+  (0.0ms) rollback transaction
28713
+  (0.1ms) begin transaction
28714
+ -------------------------------------------------------
28715
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
28716
+ -------------------------------------------------------
28717
+ Processing by SipgateIo::EventsController#create as HTML
28718
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
28719
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28720
+  (0.0ms) rollback transaction
28721
+  (0.1ms) begin transaction
28722
+ --------------------------------------------------
28723
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
28724
+ --------------------------------------------------
28725
+ Processing by SipgateIo::EventsController#create as HTML
28726
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
28727
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28728
+  (0.1ms) rollback transaction
28729
+  (0.1ms) begin transaction
28730
+ ------------------------------------------------------------
28731
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
28732
+ ------------------------------------------------------------
28733
+  (0.0ms) rollback transaction
28734
+  (0.1ms) begin transaction
28735
+ -------------------------------------------------------
28736
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason
28737
+ -------------------------------------------------------
28738
+  (0.1ms) rollback transaction
28739
+  (0.1ms) begin transaction
28740
+ -----------------------------------------------------------------------------------
28741
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
28742
+ -----------------------------------------------------------------------------------
28743
+  (0.1ms) rollback transaction
28744
+  (0.1ms) begin transaction
28745
+ ---------------------------------------------------------------
28746
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
28747
+ ---------------------------------------------------------------
28748
+  (0.0ms) rollback transaction
28749
+  (0.1ms) begin transaction
28750
+ --------------------------------------------------------------------------
28751
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
28752
+ --------------------------------------------------------------------------
28753
+  (0.1ms) rollback transaction
28754
+  (0.1ms) begin transaction
28755
+ ---------------------------------------------------
28756
+ SipgateIo::XmlResponseTestTest: test_only_on_hangup
28757
+ ---------------------------------------------------
28758
+  (0.0ms) rollback transaction
28759
+  (0.1ms) begin transaction
28760
+ ---------------------------------------------------------------
28761
+ SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
28762
+ ---------------------------------------------------------------
28763
+  (0.0ms) rollback transaction
28764
+  (0.1ms) begin transaction
28765
+ ----------------------------------------------------------------------
28766
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
28767
+ ----------------------------------------------------------------------
28768
+  (0.0ms) rollback transaction
28769
+  (0.1ms) begin transaction
28770
+ ----------------------------------------------------------
28771
+ SipgateIo::XmlResponseTestTest: test_reject_without_reason
28772
+ ----------------------------------------------------------
28773
+  (0.0ms) rollback transaction
28774
+  (0.1ms) begin transaction
28775
+ ----------------------------------------------------------------------
28776
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
28777
+ ----------------------------------------------------------------------
28778
+  (0.0ms) rollback transaction
28779
+  (0.1ms) begin transaction
28780
+ ---------------------------------------------------------------------------
28781
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
28782
+ ---------------------------------------------------------------------------
28783
+  (0.0ms) rollback transaction
28784
+  (0.1ms) begin transaction
28785
+ -----------------------------------------------------------------------
28786
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
28787
+ -----------------------------------------------------------------------
28788
+  (0.1ms) rollback transaction
28789
+  (0.1ms) begin transaction
28790
+ ---------------------------------------------------------------------------------
28791
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
28792
+ ---------------------------------------------------------------------------------
28793
+  (0.1ms) rollback transaction
28794
+  (0.1ms) begin transaction
28795
+ --------------------------------------------------------------------------
28796
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
28797
+ --------------------------------------------------------------------------
28798
+  (0.1ms) rollback transaction
28799
+  (0.1ms) begin transaction
28800
+ --------------------------------------------------------------------
28801
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
28802
+ --------------------------------------------------------------------
28803
+  (0.0ms) rollback transaction
28804
+  (0.1ms) begin transaction
28805
+ ---------------------------------------------------
28806
+ SipgateIo::XmlResponseTestTest: test_only_on_answer
28807
+ ---------------------------------------------------
28808
+  (0.0ms) rollback transaction
28809
+  (0.1ms) begin transaction
28810
+ ------------------------------------------------------------------------------------
28811
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
28812
+ ------------------------------------------------------------------------------------
28813
+  (0.0ms) rollback transaction
28814
+  (0.1ms) begin transaction
28815
+ ---------------------------------------------------------------------------------
28816
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
28817
+ ---------------------------------------------------------------------------------
28818
+  (0.0ms) rollback transaction
28819
+  (0.1ms) begin transaction
28820
+ --------------------------------------------------
28821
+ SipgateIo::XmlResponseTestTest: test_play_with_url
28822
+ --------------------------------------------------
28823
+  (0.0ms) rollback transaction
28824
+  (0.1ms) begin transaction
28825
+ -------------------------
28826
+ SipgateIoTest: test_truth
28827
+ -------------------------
28828
+  (0.0ms) rollback transaction
28829
+  (0.1ms) begin transaction
28830
+ ----------------------------------------------------
28831
+ SipgateIo::EventsControllerTest: test_a_valid_hangup
28832
+ ----------------------------------------------------
28833
+ Processing by SipgateIo::EventsController#create as HTML
28834
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"normalClearing"}
28835
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28836
+  (0.1ms) rollback transaction
28837
+  (0.0ms) begin transaction
28838
+ ----------------------------------------------------
28839
+ SipgateIo::EventsControllerTest: test_a_valid_answer
28840
+ ----------------------------------------------------
28841
+ Processing by SipgateIo::EventsController#create as HTML
28842
+ Parameters: {"event"=>"answer", "callId"=>"55555", "user"=>["Bob"]}
28843
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28844
+  (0.1ms) rollback transaction
28845
+  (0.1ms) begin transaction
28846
+ ---------------------------------------------------------------------
28847
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
28848
+ ---------------------------------------------------------------------
28849
+ Processing by SipgateIo::EventsController#create as HTML
28850
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
28851
+  (0.1ms) rollback transaction
28852
+  (0.0ms) begin transaction
28853
+ ---------------------------------------------------------------------
28854
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
28855
+ ---------------------------------------------------------------------
28856
+ Processing by SipgateIo::EventsController#create as HTML
28857
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28858
+ Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms)
28859
+  (0.1ms) rollback transaction
28860
+  (0.1ms) begin transaction
28861
+ -----------------------------------------------------
28862
+ SipgateIo::EventsControllerTest: test_an_invalid_dtmf
28863
+ -----------------------------------------------------
28864
+ Processing by SipgateIo::EventsController#create as HTML
28865
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234abc"}
28866
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28867
+  (0.0ms) rollback transaction
28868
+  (0.1ms) begin transaction
28869
+ -------------------------------------------------------
28870
+ SipgateIo::EventsControllerTest: test_an_invalid_answer
28871
+ -------------------------------------------------------
28872
+ Processing by SipgateIo::EventsController#create as HTML
28873
+ Parameters: {"event"=>"answer", "callId"=>"55555"}
28874
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28875
+  (0.0ms) rollback transaction
28876
+  (0.1ms) begin transaction
28877
+ ---------------------------------------------------------------------
28878
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
28879
+ ---------------------------------------------------------------------
28880
+ Processing by SipgateIo::EventsController#create as HTML
28881
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28882
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28883
+  (0.0ms) rollback transaction
28884
+  (0.1ms) begin transaction
28885
+ --------------------------------------------------
28886
+ SipgateIo::EventsControllerTest: test_a_valid_dtmf
28887
+ --------------------------------------------------
28888
+ Processing by SipgateIo::EventsController#create as HTML
28889
+ Parameters: {"event"=>"dtmf", "callId"=>"55555", "dtmf"=>"1234"}
28890
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28891
+  (0.0ms) rollback transaction
28892
+  (0.1ms) begin transaction
28893
+ -------------------------------------------------------
28894
+ SipgateIo::EventsControllerTest: test_an_invalid_hangup
28895
+ -------------------------------------------------------
28896
+ Processing by SipgateIo::EventsController#create as HTML
28897
+ Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
28898
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
28899
+  (0.0ms) rollback transaction
28900
+  (0.1ms) begin transaction
28901
+ ------------------------------------------------
28902
+ SipgateIo::EventsControllerTest: test_a_new_call
28903
+ ------------------------------------------------
28904
+ Processing by SipgateIo::EventsController#create as HTML
28905
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
28906
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28907
+  (0.1ms) rollback transaction
28908
+  (0.1ms) begin transaction
28909
+ -------------------------
28910
+ SipgateIoTest: test_truth
28911
+ -------------------------
28912
+  (0.1ms) rollback transaction
28913
+  (0.1ms) begin transaction
28914
+ -------------------------------------------------------
28915
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason
28916
+ -------------------------------------------------------
28917
+  (0.0ms) rollback transaction
28918
+  (0.1ms) begin transaction
28919
+ ---------------------------------------------------------------------------------
28920
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
28921
+ ---------------------------------------------------------------------------------
28922
+  (0.0ms) rollback transaction
28923
+  (0.0ms) begin transaction
28924
+ ----------------------------------------------------------------------
28925
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
28926
+ ----------------------------------------------------------------------
28927
+  (0.0ms) rollback transaction
28928
+  (0.0ms) begin transaction
28929
+ --------------------------------------------------------------------------
28930
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
28931
+ --------------------------------------------------------------------------
28932
+  (0.0ms) rollback transaction
28933
+  (0.0ms) begin transaction
28934
+ ------------------------------------------------------------------------------------
28935
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
28936
+ ------------------------------------------------------------------------------------
28937
+  (0.0ms) rollback transaction
28938
+  (0.1ms) begin transaction
28939
+ ---------------------------------------------------------------
28940
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
28941
+ ---------------------------------------------------------------
28942
+  (0.0ms) rollback transaction
28943
+  (0.1ms) begin transaction
28944
+ --------------------------------------------------------------------------
28945
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
28946
+ --------------------------------------------------------------------------
28947
+  (0.0ms) rollback transaction
28948
+  (0.1ms) begin transaction
28949
+ ----------------------------------------------------------------------
28950
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
28951
+ ----------------------------------------------------------------------
28952
+  (0.0ms) rollback transaction
28953
+  (0.1ms) begin transaction
28954
+ ------------------------------------------------------------
28955
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
28956
+ ------------------------------------------------------------
28957
+  (0.0ms) rollback transaction
28958
+  (0.1ms) begin transaction
28959
+ ----------------------------------------------------------
28960
+ SipgateIo::XmlResponseTestTest: test_reject_without_reason
28961
+ ----------------------------------------------------------
28962
+  (0.0ms) rollback transaction
28963
+  (0.1ms) begin transaction
28964
+ ---------------------------------------------------------------------------
28965
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
28966
+ ---------------------------------------------------------------------------
28967
+  (0.0ms) rollback transaction
28968
+  (0.1ms) begin transaction
28969
+ -----------------------------------------------------------------------
28970
+ SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
28971
+ -----------------------------------------------------------------------
28972
+  (0.1ms) rollback transaction
28973
+  (0.1ms) begin transaction
28974
+ ---------------------------------------------------
28975
+ SipgateIo::XmlResponseTestTest: test_only_on_answer
28976
+ ---------------------------------------------------
28977
+  (0.0ms) rollback transaction
28978
+  (0.1ms) begin transaction
28979
+ ---------------------------------------------------
28980
+ SipgateIo::XmlResponseTestTest: test_only_on_hangup
28981
+ ---------------------------------------------------
28982
+  (0.0ms) rollback transaction
28983
+  (0.0ms) begin transaction
28984
+ -----------------------------------------------------------------------------------
28985
+ SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
28986
+ -----------------------------------------------------------------------------------
28987
+  (0.0ms) rollback transaction
28988
+  (0.1ms) begin transaction
28989
+ --------------------------------------------------------------------
28990
+ SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
28991
+ --------------------------------------------------------------------
28992
+  (0.0ms) rollback transaction
28993
+  (0.1ms) begin transaction
28994
+ ---------------------------------------------------------------------------------
28995
+ SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
28996
+ ---------------------------------------------------------------------------------
28997
+  (0.0ms) rollback transaction
28998
+  (0.1ms) begin transaction
28999
+ ---------------------------------------------------------------
29000
+ SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
29001
+ ---------------------------------------------------------------
29002
+  (0.0ms) rollback transaction
29003
+  (0.1ms) begin transaction
29004
+ --------------------------------------------------
29005
+ SipgateIo::XmlResponseTestTest: test_play_with_url
29006
+ --------------------------------------------------
29007
+  (0.0ms) rollback transaction