Hi!!
I've managed to get seagull working on TCP and UDP,
but SCTP is not working correctly.
I've set
config/conf.server.xml
config/conf.client.xml
to support SCTP:
####SERVER
####
<define entity="transport"
name="trans_sctp"
file="libtrans_extsctp.so"
create_function="create_cipsctpio_instance"
delete_function="delete_cipsctpio_instance"
init-args="type=tcp">
</define>
<define entity="channel"
name="channel-1"
protocol="sip-protocol"
transport="trans_sctp"
open-args="mode=server;source=127.0.0.1:5060">
</define>
####CLIENT
####
<define entity="transport"
name="trans_sctp"
file="libtrans_extsctp.so"
create_function="create_cipsctpio_instance"
delete_function="delete_cipsctpio_instance"
init-args="type=tcp">
</define>
<define entity="channel"
name="channel-1"
protocol="sip-protocol"
transport="trans_sctp"
open-args="mode=client;source=127.0.0.1:5071;dest=127.0.0.1:5060">
</define>
(Note that TCP and UDP were working correctly on the same scenarios, and slightly different conf.file !!)
I run
$sudo ./start_client_test.ksh
$sudo ./start_server_test.ksh
And I can see SCTP messages flying on the wire - read by Wireshark - but seagull says
##Client mode
| Successful calls | 0 | 0 |
| Failed calls | 1 | 3 |
| Refused calls | 0 | 0 |
| Aborted calls | 0 | 0 |
| Timeout calls | 1 | 3 |
And Wireshark says that there is exchange in SCTP messages just like it should be ,except that:
CLIENT sends last message (6) BYE
and there is no response from SERVER...
|(1) INVITE |
|--------------------->| |(2) 180 Ringing |
|<---------------------| |(3) 200 OK |
|<---------------------| |(4) ACK |
|--------------------->|
| |
|(5) PAUSE |
| |
|(6) BYE |
|--------------------->|
I don't have an idea what can be wrong.. so I would be grateful for any hint.
Thanks in advance
_______________________________________________
sctp-discussion mailing list
sctp-discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/sctp-discussion
Archive powered by MHonArc 2.6.19+.