Yate Community Forum
General Category => Yate users hangout place => Topic started by: dj_ndc on May 06, 2016, 05:48:26 AM
-
Hello
Is there a way to configure Yate to work with cisco configured with DSS1 ?
Like:
pri-group timeslots 1-31 service mgcp
and mgcpca ?
And:
module=sig,trunk=dss1-1,type=isdn-pri-net;circuits=30,status=Layer 2 missing,calls=0,available=30,resetting=0,locked=0,idle=30
How to configure sig parameter for "type=isdn-pri-net" ?
To do sometning like ciscosm, but for DSS1 ?
Greetings
Andrzej Ciupek
-
Hello
I think I should do that by "isdn-iua" but I don't know how to configure ysigchan.conf for it. I have configured cisco iua, as AS and ASP, I have established session by SCTP, but don't know how to configure parameters for "type=isdn-iua" in ysigchan ?
[dss1]
enable=yes
type=isdn-iua
voice=mg2600 ????
[sigrandss1]
local=10.10.10.10:2400
remote=10.10.10.20:2400
type=sctp
stream=no
endpoint=yes
CISCO:
ISDN Serial1/0:15 interface
dsl 0, interface ISDN Switchtype = primary-net5
L2 Protocol = Q.921 L3 Protocol(s) = IUA BACKHAUL
Name of ASP : yate
Current State of ASP: ASP-Down
Current state of underlying SCTP Association IUA_ASSOC_ESTAB , association id 0
-
I have established SCTP, but I works only when I set "type=ss7-m2pa", nothing happens when I try to set type=isdn-iua or type=isdn-iua-gateway or type=isdn-iua-client.
mg2600#show ip sctp association statistics 0
** SCTP Association Statistics **
AssocID/InstanceID: 0/0
Current State: ESTABLISHED
Control Chunks
Sent: 4 Rcvd: 1
Data Chunks Sent
Total: 1 Retransmitted: 0
Ordered: 1 Unordered: 0
Avg bundled: 1 Total Bytes: 24
Data Chunks Rcvd
Total: 4 Discarded: 1
Ordered: 3 Unordered: 0
Avg bundled: 1 Total Bytes: 68
Out of Seq TSN: 0
ULP Dgrams
Sent: 1 Ready: 3 Rcvd: 3
And with ss7-m2pa I have (what is true, because I have PRI ISDN):
2016-05-12_10:10:20.080969 <link0:INFO> Interface is up [0x1df1650]
2016-05-12_10:10:21.074139 <link0:WARN> Received non M2PA message class 0
2016-05-12_10:10:21.074170 <link0:INFO> SS7M2PA Received:
-----
Version: 1 Message class: 0 Message type: Unknown
Stream: 0
FSN : 7 BSN: 786448
Data: 01 00 00 01 00 00 00 08
-----
2016-05-12_10:10:25.083986 <link0:NOTE> Aborting alignment: Out of service timeout
-
Has someone any experience with this kind of configuration ?
My SCTP from Cisco works only when I place type=ss7-m2pa,
I have tried isdn-iua, isdn-iua-client, isdn-iua-gateway, isdn-q921 without success, logs doesn't show me anything, like loading configuration with types above are ignored.
I have:
sigtransport.conf
[dss-iua]
local=10.10.10.11:2400
remote=10.10.10.20:2400
type=sctp
stream=no
endpoint=yes
Try to configiure ysigchan.conf:
[link-1]
enable=yes
type=isdn-q931
voice=mg2600
[linkset-1]
type=isdn-q931
link=link0
[link0]
type=isdn-iua
sig=dss-iua
autostart=yes
CISCO:
!
iua
AS mg2600 10.10.10.20 2400
AS mg2600 sctp-t1init 1000
ASP yate AS mg2600 10.10.10.11 2400
!
controller E1 1/0
pri-group timeslots 1-31 service mgcp
!
interface Serial1/0:15
no ip address
no logging event link-status
isdn switch-type primary-net5
isdn incoming-voice voice
isdn bind-l3 iua-backhaul mg2600
isdn sending-complete
no cdp enable
!
mgcp
mgcp request timeout 10000
mgcp call-agent 10.10.10.11 2727 service-type mgcp version 0.1
Could You help ? Or tell me if it is possible ?
When I change:
[link0]
type=ss7-m2pa
[linkset-1]
type=ss7-mtp3
link=link0
Sigtran start to work, but expecting SS7,which I don't want to use from IAU:
mg2600# show ip sctp association list
** SCTP Association List **
AssocID: 0, Instance ID: 0
Current state: ESTABLISHED
Local port: 2400, Addrs: 10.10.10.20
Remote port: 2400, Addrs: 10.10.10.11
2016-05-12_12:04:49.957648 <link0:INFO> Interface is up [0x23d3e90]
2016-05-12_12:04:50.938418 <link0:WARN> Received non M2PA message class 0
2016-05-12_12:04:50.938648 <link0:INFO> SS7M2PA Received:
-----
Version: 1 Message class: 0 Message type: Unknown
Stream: 0
FSN : 7 BSN: 786448
Data: 01 00 00 01 00 00 00 08
-
Changing to m3ua, makes AS and ASP ACTIVE, but still has no idea, how to use isdn-iua/isdn-iua-gateway/isdn-iua-client:
[linkset-1]
type=ss7-m3ua
link=link0
[link0]
type=ss7-m2ua
sig=dss-iua
[dss-iua]
local=10.10.10.12:2400
remote=10.10.10.20:2400
type=sctp
stream=no
endpoint=yes
Makes:
2016-05-13_14:08:18.934292 <link0:STUB> Please handle ASP message 0 class MGMT
2016-05-13_14:08:18.942106 <link0:NOTE> ASP traffic is now active [0x1f5a5e0]
CISCO:
IUA: AS mg2600 old-state AS-Inactive new-state AS-Active
Name of AS : mg2600
Total num of ASPs configured : 1
yate
Current state : ACTIVE
Active ASP : yate
Number of ASPs up : 1
Fail-Over time : 4000 milliseconds
Local address list : 10.10.10.20
Local port: 2400
Interface IDs registered with this AS
Interface ID
256 (Serial1/0:15)
-
Hello,
Yate doesn't support IUA.
Diana
-
Hello
Thank You for information, because I have found information like: https://twitter.com/yate_voip/status/18256952436,
and I have looked into source code and have found that there are: isdn-iua types in ysigchan.cpp. But debug doesn't show me anything during start. Now I can stop my experimenting.
and:
http://old.yate.ro/pmwiki/index.php?n=Main.Yate3
Yate 3.0.0
This is the first released version of Yate 3. In addition of what version 2.2 provided the following new features are available:
•Linux kernel SCTP support for SIGTRAN
•SIGTRAN M2PA, M2UA and IUA implementation