Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
c4bae4ea
Commit
c4bae4ea
authored
15 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
[#3076] Fixed authentication issue and hardcoded ip address in test suite
parent
8cbadd46
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
sippxml/ip2ip_uac_send_hangup.xml
+1
-1
1 addition, 1 deletion
sippxml/ip2ip_uac_send_hangup.xml
sippxml/testsuiteuac.sh
+26
-3
26 additions, 3 deletions
sippxml/testsuiteuac.sh
tools/pysflphone/pysflphone_testdbus.py
+2
-2
2 additions, 2 deletions
tools/pysflphone/pysflphone_testdbus.py
with
29 additions
and
6 deletions
sippxml/ip2ip_uac_send_hangup.xml
+
1
−
1
View file @
c4bae4ea
...
...
@@ -78,7 +78,7 @@
<send
retrans=
"500"
>
<![CDATA[
BYE sip:
192.168.50.79
SIP/2.0
BYE sip:
[remote_ip]
SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[local_ip]:[local_port]>
;tag=[call_number]
To:
<sip:
[remote_ip]:[remote_port]
>
;tag=[$1]
...
...
This diff is collapsed.
Click to expand it.
sippxml/testsuiteuac.sh
+
26
−
3
View file @
c4bae4ea
...
...
@@ -62,12 +62,35 @@ function test_ip2ip_recv_hangup {
# sleep 1;
# start sipp client and send calls
sipp
-sf
ip2ip_uac_send_peer_hungup.xml
ip2ip_uac_send_hangup.xml
${
REMOTEADDR_lo
}
-i
${
LOCALIP_lo
}
-p
${
LOCALPORT
}
-l
1
-m
10
sipp
-sf
ip2ip_uac_send_peer_hungup.xml
${
REMOTEADDR_lo
}
-i
${
LOCALIP_lo
}
-p
${
LOCALPORT
}
-l
1
-m
10
# kill every one
# bashtrap
}
# SCENARIO 1 Test 4
function
test_ip2ip_recv_peer_hungup
{
# start sflphoned
# /usr/lib/sflphone/sflphoned&
# wait some time to make sure sflphoned is started
# sleep 1;
# python ../tools/pysflphone/pysflphone_testdbus.py &
# wait some time to make sure client is bound
# sleep 1;
# start sipp client and send calls
sipp
-sf
ip2ip_uac_send_hangup.xml
${
REMOTEADDR_lo
}
-i
${
LOCALIP_lo
}
-p
${
LOCALPORT
}
-l
1
-m
10
# kill every one
# bashtrap
}
# SCENARIO 2 Test 1
function
test_account_send_hangup
{
...
...
@@ -276,7 +299,7 @@ bashtrap()
# Test 4: - Receive an ACCOUNT call
# - Peer Hangup
#
test_account_recv_peer_hungup
test_account_recv_peer_hungup
...
...
@@ -302,4 +325,4 @@ bashtrap()
# Test 1: - Receive a call
# - Refuse (hangup without answer)
test_ip2ip_send_refused
\ No newline at end of file
# test_ip2ip_send_refused
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tools/pysflphone/pysflphone_testdbus.py
+
2
−
2
View file @
c4bae4ea
...
...
@@ -300,7 +300,7 @@ sflphone.setFirstRegisteredAccount();
# Test 4: - Receive an ACCOUNT call
# - Peer Hangup
#
testsuite.test_account_recv_peer_hungup()
testsuite
.
test_account_recv_peer_hungup
()
...
...
@@ -327,4 +327,4 @@ sflphone.setFirstRegisteredAccount();
# Test 1: - Receive an incoming call
# - Hangup without answer
testsuite
.
test_ip2ip_recv_refuse
()
#
testsuite.test_ip2ip_recv_refuse()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment