sipgate_io 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +144 -0
- data/app/controllers/sipgate_io/events_controller.rb +5 -0
- data/lib/sipgate_io/version.rb +1 -1
- data/test/dummy/log/development.log +12 -0
- data/test/dummy/log/test.log +2348 -0
- metadata +51 -4
data/test/dummy/log/test.log
CHANGED
@@ -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
|
[1m[35m (0.0ms)[0m rollback transaction
|
26660
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26661
|
+
--------------------------------------------------------------------
|
26662
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
|
26663
|
+
--------------------------------------------------------------------
|
26664
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26665
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26666
|
+
----------------------------------------------------------------------
|
26667
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
|
26668
|
+
----------------------------------------------------------------------
|
26669
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26670
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26671
|
+
----------------------------------------------------------------------
|
26672
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
|
26673
|
+
----------------------------------------------------------------------
|
26674
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26675
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26676
|
+
----------------------------------------------------------
|
26677
|
+
SipgateIo::XmlResponseTestTest: test_reject_without_reason
|
26678
|
+
----------------------------------------------------------
|
26679
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26680
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26681
|
+
-----------------------------------------------------------------------------------
|
26682
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
|
26683
|
+
-----------------------------------------------------------------------------------
|
26684
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26685
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26686
|
+
------------------------------------------------------------
|
26687
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
|
26688
|
+
------------------------------------------------------------
|
26689
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26690
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26691
|
+
---------------------------------------------------
|
26692
|
+
SipgateIo::XmlResponseTestTest: test_only_on_answer
|
26693
|
+
---------------------------------------------------
|
26694
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26695
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26696
|
+
---------------------------------------------------------------------------------
|
26697
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
|
26698
|
+
---------------------------------------------------------------------------------
|
26699
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26700
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26701
|
+
---------------------------------------------------------------------------------
|
26702
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
|
26703
|
+
---------------------------------------------------------------------------------
|
26704
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26705
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26706
|
+
-------------------------------------------------------
|
26707
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason
|
26708
|
+
-------------------------------------------------------
|
26709
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26710
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26711
|
+
---------------------------------------------------------------------------
|
26712
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
|
26713
|
+
---------------------------------------------------------------------------
|
26714
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26715
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26716
|
+
--------------------------------------------------
|
26717
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url
|
26718
|
+
--------------------------------------------------
|
26719
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26721
|
+
---------------------------------------------------------------
|
26722
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
|
26723
|
+
---------------------------------------------------------------
|
26724
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26725
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26726
|
+
-----------------------------------------------------------------------
|
26727
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
|
26728
|
+
-----------------------------------------------------------------------
|
26729
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26730
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26731
|
+
--------------------------------------------------------------------------
|
26732
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
|
26733
|
+
--------------------------------------------------------------------------
|
26734
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26735
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26736
|
+
--------------------------------------------------------------------------
|
26737
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
|
26738
|
+
--------------------------------------------------------------------------
|
26739
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26740
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26741
|
+
---------------------------------------------------
|
26742
|
+
SipgateIo::XmlResponseTestTest: test_only_on_hangup
|
26743
|
+
---------------------------------------------------
|
26744
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26745
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26746
|
+
------------------------------------------------------------------------------------
|
26747
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
|
26748
|
+
------------------------------------------------------------------------------------
|
26749
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26750
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26751
|
+
---------------------------------------------------------------
|
26752
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
|
26753
|
+
---------------------------------------------------------------
|
26754
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26755
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26763
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26771
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26779
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26787
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26803
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26819
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26834
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26835
|
+
-------------------------
|
26836
|
+
SipgateIoTest: test_truth
|
26837
|
+
-------------------------
|
26838
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26839
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26847
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26855
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26863
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26871
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26878
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26886
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26894
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26902
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26910
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26919
|
+
-------------------------
|
26920
|
+
SipgateIoTest: test_truth
|
26921
|
+
-------------------------
|
26922
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26923
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26924
|
+
-----------------------------------------------------------------------------------
|
26925
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
|
26926
|
+
-----------------------------------------------------------------------------------
|
26927
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26928
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26929
|
+
---------------------------------------------------
|
26930
|
+
SipgateIo::XmlResponseTestTest: test_only_on_answer
|
26931
|
+
---------------------------------------------------
|
26932
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26933
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26934
|
+
--------------------------------------------------
|
26935
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url
|
26936
|
+
--------------------------------------------------
|
26937
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26938
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26939
|
+
--------------------------------------------------------------------------
|
26940
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
|
26941
|
+
--------------------------------------------------------------------------
|
26942
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26943
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26944
|
+
--------------------------------------------------------------------
|
26945
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
|
26946
|
+
--------------------------------------------------------------------
|
26947
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26949
|
+
----------------------------------------------------------
|
26950
|
+
SipgateIo::XmlResponseTestTest: test_reject_without_reason
|
26951
|
+
----------------------------------------------------------
|
26952
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26953
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26954
|
+
---------------------------------------------------------------
|
26955
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
|
26956
|
+
---------------------------------------------------------------
|
26957
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26958
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26959
|
+
-----------------------------------------------------------------------
|
26960
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
|
26961
|
+
-----------------------------------------------------------------------
|
26962
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26964
|
+
-------------------------------------------------------
|
26965
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason
|
26966
|
+
-------------------------------------------------------
|
26967
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26969
|
+
---------------------------------------------------------------------------------
|
26970
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
|
26971
|
+
---------------------------------------------------------------------------------
|
26972
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26973
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26974
|
+
---------------------------------------------------------------------------
|
26975
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
|
26976
|
+
---------------------------------------------------------------------------
|
26977
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26978
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26979
|
+
---------------------------------------------------------------
|
26980
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
|
26981
|
+
---------------------------------------------------------------
|
26982
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26983
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26984
|
+
--------------------------------------------------------------------------
|
26985
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
|
26986
|
+
--------------------------------------------------------------------------
|
26987
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26988
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26989
|
+
----------------------------------------------------------------------
|
26990
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
|
26991
|
+
----------------------------------------------------------------------
|
26992
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26993
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26994
|
+
----------------------------------------------------------------------
|
26995
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
|
26996
|
+
----------------------------------------------------------------------
|
26997
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26998
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26999
|
+
---------------------------------------------------------------------------------
|
27000
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
|
27001
|
+
---------------------------------------------------------------------------------
|
27002
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27003
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27004
|
+
---------------------------------------------------
|
27005
|
+
SipgateIo::XmlResponseTestTest: test_only_on_hangup
|
27006
|
+
---------------------------------------------------
|
27007
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
27008
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27009
|
+
------------------------------------------------------------------------------------
|
27010
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
|
27011
|
+
------------------------------------------------------------------------------------
|
27012
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27013
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27014
|
+
------------------------------------------------------------
|
27015
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
|
27016
|
+
------------------------------------------------------------
|
27017
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27018
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27026
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27034
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27042
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27050
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27058
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27066
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27073
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27089
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27097
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27098
|
+
-----------------------------------------------------------------------------------
|
27099
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
|
27100
|
+
-----------------------------------------------------------------------------------
|
27101
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27102
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27103
|
+
--------------------------------------------------------------------
|
27104
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
|
27105
|
+
--------------------------------------------------------------------
|
27106
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27108
|
+
--------------------------------------------------------------------------
|
27109
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
|
27110
|
+
--------------------------------------------------------------------------
|
27111
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27113
|
+
-------------------------------------------------------
|
27114
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason
|
27115
|
+
-------------------------------------------------------
|
27116
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27117
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27118
|
+
------------------------------------------------------------------------------------
|
27119
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
|
27120
|
+
------------------------------------------------------------------------------------
|
27121
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27122
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27123
|
+
---------------------------------------------------------------
|
27124
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
|
27125
|
+
---------------------------------------------------------------
|
27126
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27127
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27128
|
+
---------------------------------------------------------------------------------
|
27129
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
|
27130
|
+
---------------------------------------------------------------------------------
|
27131
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27133
|
+
---------------------------------------------------
|
27134
|
+
SipgateIo::XmlResponseTestTest: test_only_on_hangup
|
27135
|
+
---------------------------------------------------
|
27136
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27137
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27138
|
+
--------------------------------------------------
|
27139
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url
|
27140
|
+
--------------------------------------------------
|
27141
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
27142
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27143
|
+
----------------------------------------------------------------------
|
27144
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
|
27145
|
+
----------------------------------------------------------------------
|
27146
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27147
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27148
|
+
-----------------------------------------------------------------------
|
27149
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
|
27150
|
+
-----------------------------------------------------------------------
|
27151
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27152
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27153
|
+
---------------------------------------------------
|
27154
|
+
SipgateIo::XmlResponseTestTest: test_only_on_answer
|
27155
|
+
---------------------------------------------------
|
27156
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27157
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27158
|
+
----------------------------------------------------------
|
27159
|
+
SipgateIo::XmlResponseTestTest: test_reject_without_reason
|
27160
|
+
----------------------------------------------------------
|
27161
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27162
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27163
|
+
----------------------------------------------------------------------
|
27164
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
|
27165
|
+
----------------------------------------------------------------------
|
27166
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27167
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27168
|
+
---------------------------------------------------------------------------------
|
27169
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
|
27170
|
+
---------------------------------------------------------------------------------
|
27171
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27172
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27173
|
+
---------------------------------------------------------------
|
27174
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
|
27175
|
+
---------------------------------------------------------------
|
27176
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27177
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27178
|
+
------------------------------------------------------------
|
27179
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
|
27180
|
+
------------------------------------------------------------
|
27181
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27182
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27183
|
+
---------------------------------------------------------------------------
|
27184
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
|
27185
|
+
---------------------------------------------------------------------------
|
27186
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27187
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27188
|
+
--------------------------------------------------------------------------
|
27189
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
|
27190
|
+
--------------------------------------------------------------------------
|
27191
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27193
|
+
-------------------------
|
27194
|
+
SipgateIoTest: test_truth
|
27195
|
+
-------------------------
|
27196
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27197
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27205
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27213
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27221
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27237
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27245
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27253
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27261
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27269
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27277
|
+
---------------------------------------------------------------------------------
|
27278
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
|
27279
|
+
---------------------------------------------------------------------------------
|
27280
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27281
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27282
|
+
---------------------------------------------------------------
|
27283
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
|
27284
|
+
---------------------------------------------------------------
|
27285
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27286
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27287
|
+
---------------------------------------------------
|
27288
|
+
SipgateIo::XmlResponseTestTest: test_only_on_hangup
|
27289
|
+
---------------------------------------------------
|
27290
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27291
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27292
|
+
---------------------------------------------------------------
|
27293
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
|
27294
|
+
---------------------------------------------------------------
|
27295
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27296
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27297
|
+
-----------------------------------------------------------------------------------
|
27298
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
|
27299
|
+
-----------------------------------------------------------------------------------
|
27300
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27301
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27302
|
+
------------------------------------------------------------------------------------
|
27303
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
|
27304
|
+
------------------------------------------------------------------------------------
|
27305
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27307
|
+
--------------------------------------------------------------------
|
27308
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
|
27309
|
+
--------------------------------------------------------------------
|
27310
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27311
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27312
|
+
----------------------------------------------------------
|
27313
|
+
SipgateIo::XmlResponseTestTest: test_reject_without_reason
|
27314
|
+
----------------------------------------------------------
|
27315
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27317
|
+
------------------------------------------------------------
|
27318
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
|
27319
|
+
------------------------------------------------------------
|
27320
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27321
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27322
|
+
--------------------------------------------------
|
27323
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url
|
27324
|
+
--------------------------------------------------
|
27325
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27327
|
+
--------------------------------------------------------------------------
|
27328
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
|
27329
|
+
--------------------------------------------------------------------------
|
27330
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27331
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27332
|
+
---------------------------------------------------
|
27333
|
+
SipgateIo::XmlResponseTestTest: test_only_on_answer
|
27334
|
+
---------------------------------------------------
|
27335
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27336
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27337
|
+
----------------------------------------------------------------------
|
27338
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
|
27339
|
+
----------------------------------------------------------------------
|
27340
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27342
|
+
--------------------------------------------------------------------------
|
27343
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
|
27344
|
+
--------------------------------------------------------------------------
|
27345
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27346
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27347
|
+
---------------------------------------------------------------------------
|
27348
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
|
27349
|
+
---------------------------------------------------------------------------
|
27350
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27351
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27352
|
+
---------------------------------------------------------------------------------
|
27353
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
|
27354
|
+
---------------------------------------------------------------------------------
|
27355
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27356
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27357
|
+
----------------------------------------------------------------------
|
27358
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
|
27359
|
+
----------------------------------------------------------------------
|
27360
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27361
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27362
|
+
-----------------------------------------------------------------------
|
27363
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
|
27364
|
+
-----------------------------------------------------------------------
|
27365
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27366
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27367
|
+
-------------------------------------------------------
|
27368
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason
|
27369
|
+
-------------------------------------------------------
|
27370
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27371
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27372
|
+
-------------------------
|
27373
|
+
SipgateIoTest: test_truth
|
27374
|
+
-------------------------
|
27375
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27376
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27377
|
+
-------------------------
|
27378
|
+
SipgateIoTest: test_truth
|
27379
|
+
-------------------------
|
27380
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27381
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27382
|
+
---------------------------------------------------------------------------
|
27383
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
|
27384
|
+
---------------------------------------------------------------------------
|
27385
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27386
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27387
|
+
----------------------------------------------------------------------
|
27388
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
|
27389
|
+
----------------------------------------------------------------------
|
27390
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27391
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27392
|
+
----------------------------------------------------------------------
|
27393
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
|
27394
|
+
----------------------------------------------------------------------
|
27395
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27396
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27397
|
+
---------------------------------------------------------------------------------
|
27398
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
|
27399
|
+
---------------------------------------------------------------------------------
|
27400
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27401
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27402
|
+
-------------------------------------------------------
|
27403
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason
|
27404
|
+
-------------------------------------------------------
|
27405
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27406
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27407
|
+
----------------------------------------------------------
|
27408
|
+
SipgateIo::XmlResponseTestTest: test_reject_without_reason
|
27409
|
+
----------------------------------------------------------
|
27410
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27411
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27412
|
+
---------------------------------------------------------------------------------
|
27413
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
|
27414
|
+
---------------------------------------------------------------------------------
|
27415
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27416
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27417
|
+
---------------------------------------------------
|
27418
|
+
SipgateIo::XmlResponseTestTest: test_only_on_hangup
|
27419
|
+
---------------------------------------------------
|
27420
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27421
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27422
|
+
--------------------------------------------------------------------------
|
27423
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
|
27424
|
+
--------------------------------------------------------------------------
|
27425
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27426
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27427
|
+
-----------------------------------------------------------------------
|
27428
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
|
27429
|
+
-----------------------------------------------------------------------
|
27430
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27431
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27432
|
+
------------------------------------------------------------------------------------
|
27433
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
|
27434
|
+
------------------------------------------------------------------------------------
|
27435
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27436
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27437
|
+
------------------------------------------------------------
|
27438
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
|
27439
|
+
------------------------------------------------------------
|
27440
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27441
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27442
|
+
---------------------------------------------------------------
|
27443
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
|
27444
|
+
---------------------------------------------------------------
|
27445
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27446
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27447
|
+
---------------------------------------------------
|
27448
|
+
SipgateIo::XmlResponseTestTest: test_only_on_answer
|
27449
|
+
---------------------------------------------------
|
27450
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27451
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27452
|
+
---------------------------------------------------------------
|
27453
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
|
27454
|
+
---------------------------------------------------------------
|
27455
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27456
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27457
|
+
--------------------------------------------------
|
27458
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url
|
27459
|
+
--------------------------------------------------
|
27460
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27462
|
+
--------------------------------------------------------------------
|
27463
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
|
27464
|
+
--------------------------------------------------------------------
|
27465
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27466
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27467
|
+
-----------------------------------------------------------------------------------
|
27468
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
|
27469
|
+
-----------------------------------------------------------------------------------
|
27470
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27471
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27472
|
+
--------------------------------------------------------------------------
|
27473
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
|
27474
|
+
--------------------------------------------------------------------------
|
27475
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27476
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27484
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27492
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27500
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27508
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27515
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27523
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27539
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27547
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27555
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27556
|
+
-------------------------------------------------------
|
27557
|
+
SipgateIo::EventsControllerTest: test_an_invalid_answer
|
27558
|
+
-------------------------------------------------------
|
27559
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27560
|
+
-----------------------------------------------------
|
27561
|
+
SipgateIo::EventsControllerTest: test_an_invalid_dtmf
|
27562
|
+
-----------------------------------------------------
|
27563
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
27564
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27565
|
+
-----------------------------------------------------
|
27566
|
+
SipgateIo::EventsControllerTest: test_an_invalid_dtmf
|
27567
|
+
-----------------------------------------------------
|
27568
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27569
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27581
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27590
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27596
|
+
Processing by SipgateIo::EventsController#create as HTML
|
27597
|
+
Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
|
27598
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27635
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27643
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27652
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27653
|
+
---------------------------------------------------------------------
|
27654
|
+
SipgateIo::EventsControllerTest: test_create_without_params_gives_500
|
27655
|
+
---------------------------------------------------------------------
|
27656
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
27657
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27658
|
+
Processing by SipgateIo::EventsController#create as HTML
|
27659
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27669
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27677
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27687
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27688
|
+
-------------------------------------------------------
|
27689
|
+
SipgateIo::EventsControllerTest: test_an_invalid_hangup
|
27690
|
+
-------------------------------------------------------
|
27691
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
27692
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27693
|
+
Processing by SipgateIo::EventsController#create as HTML
|
27694
|
+
Parameters: {"event"=>"hangup", "callId"=>"55555", "cause"=>"idk"}
|
27695
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27705
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27716
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
27725
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27727
|
+
------------------------------------------------
|
27728
|
+
--------------------------------------------------
|
27729
|
+
SipgateIo::EventsControllerTest: test_a_new_call
|
27730
|
+
SipgateIo::EventsControllerTest: test_a_valid_dtmf
|
27731
|
+
------------------------------------------------
|
27732
|
+
--------------------------------------------------
|
27733
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
27734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27735
|
+
-------------------------------------------------------
|
27736
|
+
SipgateIo::EventsControllerTest: test_an_invalid_answer
|
27737
|
+
-------------------------------------------------------
|
27738
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27739
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27752
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27753
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27754
|
+
-----------------------------------------------------
|
27755
|
+
SipgateIo::EventsControllerTest: test_an_invalid_dtmf
|
27756
|
+
-----------------------------------------------------
|
27757
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27770
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27771
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27772
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27786
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27787
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
27788
|
+
----------------------------------------------------
|
27789
|
+
SipgateIo::EventsControllerTest: test_a_valid_hangup
|
27790
|
+
----------------------------------------------------
|
27791
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27792
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27804
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27810
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27822
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
27823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27824
|
+
----------------------------------------------------
|
27825
|
+
SipgateIo::EventsControllerTest: test_a_valid_answer
|
27826
|
+
----------------------------------------------------
|
27827
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27828
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27840
|
+
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
27841
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27842
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27843
|
+
-------------------------------------------------------
|
27844
|
+
SipgateIo::EventsControllerTest: test_an_invalid_hangup
|
27845
|
+
-------------------------------------------------------
|
27846
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27858
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27859
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27860
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27876
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27877
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27878
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27894
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27895
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
27902
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27910
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27926
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27934
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27942
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27950
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
27958
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27966
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
27974
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
27982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27990
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27997
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28005
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28013
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28021
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
28029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28037
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
28045
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28053
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28060
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28068
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28076
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28084
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28092
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28100
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
28108
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28116
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28124
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28133
|
+
---------------------------------------------------------------------------------
|
28134
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
|
28135
|
+
---------------------------------------------------------------------------------
|
28136
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28137
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28138
|
+
-------------------------------------------------------
|
28139
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason
|
28140
|
+
-------------------------------------------------------
|
28141
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28142
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28143
|
+
-----------------------------------------------------------------------------------
|
28144
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
|
28145
|
+
-----------------------------------------------------------------------------------
|
28146
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28147
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28148
|
+
----------------------------------------------------------
|
28149
|
+
SipgateIo::XmlResponseTestTest: test_reject_without_reason
|
28150
|
+
----------------------------------------------------------
|
28151
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28152
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28153
|
+
---------------------------------------------------------------
|
28154
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
|
28155
|
+
---------------------------------------------------------------
|
28156
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28157
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28158
|
+
--------------------------------------------------------------------------
|
28159
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
|
28160
|
+
--------------------------------------------------------------------------
|
28161
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28162
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28163
|
+
----------------------------------------------------------------------
|
28164
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
|
28165
|
+
----------------------------------------------------------------------
|
28166
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28167
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28168
|
+
------------------------------------------------------------
|
28169
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
|
28170
|
+
------------------------------------------------------------
|
28171
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28172
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28173
|
+
---------------------------------------------------------------------------
|
28174
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
|
28175
|
+
---------------------------------------------------------------------------
|
28176
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28177
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28178
|
+
--------------------------------------------------
|
28179
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url
|
28180
|
+
--------------------------------------------------
|
28181
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28183
|
+
----------------------------------------------------------------------
|
28184
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
|
28185
|
+
----------------------------------------------------------------------
|
28186
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28187
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28188
|
+
---------------------------------------------------
|
28189
|
+
SipgateIo::XmlResponseTestTest: test_only_on_hangup
|
28190
|
+
---------------------------------------------------
|
28191
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28193
|
+
------------------------------------------------------------------------------------
|
28194
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
|
28195
|
+
------------------------------------------------------------------------------------
|
28196
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28197
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28198
|
+
---------------------------------------------------------------
|
28199
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
|
28200
|
+
---------------------------------------------------------------
|
28201
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28202
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28203
|
+
--------------------------------------------------------------------
|
28204
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
|
28205
|
+
--------------------------------------------------------------------
|
28206
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28207
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28208
|
+
---------------------------------------------------------------------------------
|
28209
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
|
28210
|
+
---------------------------------------------------------------------------------
|
28211
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28212
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28213
|
+
--------------------------------------------------------------------------
|
28214
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
|
28215
|
+
--------------------------------------------------------------------------
|
28216
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28217
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28218
|
+
---------------------------------------------------
|
28219
|
+
SipgateIo::XmlResponseTestTest: test_only_on_answer
|
28220
|
+
---------------------------------------------------
|
28221
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28223
|
+
-----------------------------------------------------------------------
|
28224
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
|
28225
|
+
-----------------------------------------------------------------------
|
28226
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28227
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28228
|
+
-------------------------
|
28229
|
+
SipgateIoTest: test_truth
|
28230
|
+
-------------------------
|
28231
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28232
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28233
|
+
----------------------------------------------------
|
28234
|
+
SipgateIo::EventsControllerTest: test_a_valid_hangup
|
28235
|
+
----------------------------------------------------
|
28236
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28244
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28260
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28268
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28283
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28293
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28301
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28309
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28317
|
+
Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
|
28318
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28319
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28334
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28342
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28350
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28358
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28366
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28374
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28382
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28390
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28397
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28405
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28413
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28421
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28429
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28437
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28444
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28452
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28460
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28468
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28476
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28477
|
+
---------------------------------------------------------------------------------
|
28478
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
|
28479
|
+
---------------------------------------------------------------------------------
|
28480
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28481
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28482
|
+
---------------------------------------------------------------------------
|
28483
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
|
28484
|
+
---------------------------------------------------------------------------
|
28485
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28486
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28487
|
+
-------------------------------------------------------
|
28488
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason
|
28489
|
+
-------------------------------------------------------
|
28490
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28491
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28492
|
+
---------------------------------------------------------------------------------
|
28493
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
|
28494
|
+
---------------------------------------------------------------------------------
|
28495
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28496
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28497
|
+
----------------------------------------------------------------------
|
28498
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
|
28499
|
+
----------------------------------------------------------------------
|
28500
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28501
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28502
|
+
----------------------------------------------------------
|
28503
|
+
SipgateIo::XmlResponseTestTest: test_reject_without_reason
|
28504
|
+
----------------------------------------------------------
|
28505
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28506
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28507
|
+
------------------------------------------------------------------------------------
|
28508
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
|
28509
|
+
------------------------------------------------------------------------------------
|
28510
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28511
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28512
|
+
---------------------------------------------------
|
28513
|
+
SipgateIo::XmlResponseTestTest: test_only_on_hangup
|
28514
|
+
---------------------------------------------------
|
28515
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28516
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28517
|
+
-----------------------------------------------------------------------------------
|
28518
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
|
28519
|
+
-----------------------------------------------------------------------------------
|
28520
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28521
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28522
|
+
---------------------------------------------------
|
28523
|
+
SipgateIo::XmlResponseTestTest: test_only_on_answer
|
28524
|
+
---------------------------------------------------
|
28525
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28526
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28527
|
+
----------------------------------------------------------------------
|
28528
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
|
28529
|
+
----------------------------------------------------------------------
|
28530
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28532
|
+
--------------------------------------------------
|
28533
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url
|
28534
|
+
--------------------------------------------------
|
28535
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28536
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28537
|
+
---------------------------------------------------------------
|
28538
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
|
28539
|
+
---------------------------------------------------------------
|
28540
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28541
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28542
|
+
------------------------------------------------------------
|
28543
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
|
28544
|
+
------------------------------------------------------------
|
28545
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28546
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28547
|
+
--------------------------------------------------------------------
|
28548
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
|
28549
|
+
--------------------------------------------------------------------
|
28550
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28551
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28552
|
+
---------------------------------------------------------------
|
28553
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
|
28554
|
+
---------------------------------------------------------------
|
28555
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28556
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28557
|
+
-----------------------------------------------------------------------
|
28558
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
|
28559
|
+
-----------------------------------------------------------------------
|
28560
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28561
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28562
|
+
--------------------------------------------------------------------------
|
28563
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
|
28564
|
+
--------------------------------------------------------------------------
|
28565
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28566
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28567
|
+
--------------------------------------------------------------------------
|
28568
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
|
28569
|
+
--------------------------------------------------------------------------
|
28570
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28571
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28579
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28587
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28595
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28603
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28611
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28619
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28627
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28634
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28642
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28650
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28658
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28666
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28674
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28682
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28689
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28697
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28705
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28713
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28721
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28729
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28730
|
+
------------------------------------------------------------
|
28731
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
|
28732
|
+
------------------------------------------------------------
|
28733
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28735
|
+
-------------------------------------------------------
|
28736
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason
|
28737
|
+
-------------------------------------------------------
|
28738
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28739
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28740
|
+
-----------------------------------------------------------------------------------
|
28741
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
|
28742
|
+
-----------------------------------------------------------------------------------
|
28743
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28744
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28745
|
+
---------------------------------------------------------------
|
28746
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
|
28747
|
+
---------------------------------------------------------------
|
28748
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28749
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28750
|
+
--------------------------------------------------------------------------
|
28751
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
|
28752
|
+
--------------------------------------------------------------------------
|
28753
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28754
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28755
|
+
---------------------------------------------------
|
28756
|
+
SipgateIo::XmlResponseTestTest: test_only_on_hangup
|
28757
|
+
---------------------------------------------------
|
28758
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28759
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28760
|
+
---------------------------------------------------------------
|
28761
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
|
28762
|
+
---------------------------------------------------------------
|
28763
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28764
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28765
|
+
----------------------------------------------------------------------
|
28766
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
|
28767
|
+
----------------------------------------------------------------------
|
28768
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28769
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28770
|
+
----------------------------------------------------------
|
28771
|
+
SipgateIo::XmlResponseTestTest: test_reject_without_reason
|
28772
|
+
----------------------------------------------------------
|
28773
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28774
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28775
|
+
----------------------------------------------------------------------
|
28776
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
|
28777
|
+
----------------------------------------------------------------------
|
28778
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28779
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28780
|
+
---------------------------------------------------------------------------
|
28781
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
|
28782
|
+
---------------------------------------------------------------------------
|
28783
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28784
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28785
|
+
-----------------------------------------------------------------------
|
28786
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
|
28787
|
+
-----------------------------------------------------------------------
|
28788
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28789
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28790
|
+
---------------------------------------------------------------------------------
|
28791
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
|
28792
|
+
---------------------------------------------------------------------------------
|
28793
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28794
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28795
|
+
--------------------------------------------------------------------------
|
28796
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
|
28797
|
+
--------------------------------------------------------------------------
|
28798
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28799
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28800
|
+
--------------------------------------------------------------------
|
28801
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
|
28802
|
+
--------------------------------------------------------------------
|
28803
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28804
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28805
|
+
---------------------------------------------------
|
28806
|
+
SipgateIo::XmlResponseTestTest: test_only_on_answer
|
28807
|
+
---------------------------------------------------
|
28808
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28809
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28810
|
+
------------------------------------------------------------------------------------
|
28811
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
|
28812
|
+
------------------------------------------------------------------------------------
|
28813
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28814
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28815
|
+
---------------------------------------------------------------------------------
|
28816
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
|
28817
|
+
---------------------------------------------------------------------------------
|
28818
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28819
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28820
|
+
--------------------------------------------------
|
28821
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url
|
28822
|
+
--------------------------------------------------
|
28823
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28824
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28825
|
+
-------------------------
|
28826
|
+
SipgateIoTest: test_truth
|
28827
|
+
-------------------------
|
28828
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28829
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28837
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28845
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28852
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28860
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28868
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28876
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28884
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28900
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28908
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28909
|
+
-------------------------
|
28910
|
+
SipgateIoTest: test_truth
|
28911
|
+
-------------------------
|
28912
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28913
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28914
|
+
-------------------------------------------------------
|
28915
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason
|
28916
|
+
-------------------------------------------------------
|
28917
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28919
|
+
---------------------------------------------------------------------------------
|
28920
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_answer_parameter
|
28921
|
+
---------------------------------------------------------------------------------
|
28922
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28924
|
+
----------------------------------------------------------------------
|
28925
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip
|
28926
|
+
----------------------------------------------------------------------
|
28927
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28928
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28929
|
+
--------------------------------------------------------------------------
|
28930
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_without_parameter
|
28931
|
+
--------------------------------------------------------------------------
|
28932
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28933
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28934
|
+
------------------------------------------------------------------------------------
|
28935
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter_and_callback
|
28936
|
+
------------------------------------------------------------------------------------
|
28937
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28938
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28939
|
+
---------------------------------------------------------------
|
28940
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_voicemail
|
28941
|
+
---------------------------------------------------------------
|
28942
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28943
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28944
|
+
--------------------------------------------------------------------------
|
28945
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_without_parameter
|
28946
|
+
--------------------------------------------------------------------------
|
28947
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28949
|
+
----------------------------------------------------------------------
|
28950
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_callback
|
28951
|
+
----------------------------------------------------------------------
|
28952
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28953
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28954
|
+
------------------------------------------------------------
|
28955
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number
|
28956
|
+
------------------------------------------------------------
|
28957
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28958
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28959
|
+
----------------------------------------------------------
|
28960
|
+
SipgateIo::XmlResponseTestTest: test_reject_without_reason
|
28961
|
+
----------------------------------------------------------
|
28962
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28964
|
+
---------------------------------------------------------------------------
|
28965
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_anonymous
|
28966
|
+
---------------------------------------------------------------------------
|
28967
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28969
|
+
-----------------------------------------------------------------------
|
28970
|
+
SipgateIo::XmlResponseTestTest: test_gather_xml_response_with_parameter
|
28971
|
+
-----------------------------------------------------------------------
|
28972
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28973
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28974
|
+
---------------------------------------------------
|
28975
|
+
SipgateIo::XmlResponseTestTest: test_only_on_answer
|
28976
|
+
---------------------------------------------------
|
28977
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28978
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28979
|
+
---------------------------------------------------
|
28980
|
+
SipgateIo::XmlResponseTestTest: test_only_on_hangup
|
28981
|
+
---------------------------------------------------
|
28982
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28983
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28984
|
+
-----------------------------------------------------------------------------------
|
28985
|
+
SipgateIo::XmlResponseTestTest: test_call_redirect_to_number_with_clip_and_callback
|
28986
|
+
-----------------------------------------------------------------------------------
|
28987
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28988
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28989
|
+
--------------------------------------------------------------------
|
28990
|
+
SipgateIo::XmlResponseTestTest: test_reject_with_reason_and_callback
|
28991
|
+
--------------------------------------------------------------------
|
28992
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28993
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28994
|
+
---------------------------------------------------------------------------------
|
28995
|
+
SipgateIo::XmlResponseTestTest: test_hangup_xml_response_with_on_hangup_parameter
|
28996
|
+
---------------------------------------------------------------------------------
|
28997
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
28998
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28999
|
+
---------------------------------------------------------------
|
29000
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url_and_callback
|
29001
|
+
---------------------------------------------------------------
|
29002
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29003
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
29004
|
+
--------------------------------------------------
|
29005
|
+
SipgateIo::XmlResponseTestTest: test_play_with_url
|
29006
|
+
--------------------------------------------------
|
29007
|
+
[1m[35m (0.0ms)[0m rollback transaction
|