Temat: Mediant 2000 + Yate (MGC)

Witam,

Nazywam się Aleksandra Sosnowska i jestem studentką Politechniki

Gdańskiej.

Mam problem z realizacją współpracy bramy Mediant 2000 (ver 5.8) z

systemem sygnalizacji SS7 oraz z protokołem MGCP.

Obecnie zajmuję sie konfiguracją Yate (jako MGC, ponieważ brama

nie ma funkcjonalności MGC) z Mediantem. Chciałabym dowiedzieć się

jak należy poprawnie skonfigurować bramę (zarzadzanie przez

przeglądarkę http) oraz samego Yate (mgcpca.conf, mgcpgw.conf)

jako MGC, aby uzyskać komunikację z urządzeniem Mediant 2000.

Aktualnie skonfigurowałam bramę zgodnie z dokumentacją "LTRT-08076

Mediant 2000 MGCP-MEGACO User's Manual Ver. 5.8". Podłączyłam

trakt SS7 z centrali do bramy. Dodałam grupę SIGTRAN,stworzyłam

Link->LinkSet. Również uaktywniłam trunk z protokołem E1

transparent 31.

Chciałabym poprosić o pomoc. Jeżeli są potrzebne dodatkowe

informacje albo pliki wówczas proszę o kontakt.

Pozdrawiam Aleksandra Sosnowska
Jakub G.

Jakub G. Technical Sales
Manager

Temat: Mediant 2000 + Yate (MGC)

Obiecany przeze mnie konfig tu:

http://pastebin.com/uxV4KWvH

Temat: Mediant 2000 + Yate (MGC)

Dziękuję za link, chciałabym zauwać, zę udało mi się 'złapać' w Wiresharku MGCP, ale z Unsupported Functionality oraz RSIP 2210 ds/tr0/*m2k_200:2427 MGCP 1.0 przy uruchomianiu urządzenia.

Z Yate otrzymałam:

<mgcpca:CALL> MGCPSpan 'TRUNK_1' is operational [0x846dfd8]
<mgcpca:INFO> MGCPCircuit::status(Idle,true) 1 [0x846f370]
<mgcpca:INFO> MGCPCircuit::status(Reserved,true) 1 [0x846f370]
<mgcpca:INFO> MGCPCircuit::status(Connected,true) 1 [0x846f370]
<yrtp:INFO> Guessed local IP '10.1.2.10' for remote '10.1.2.3'
<yrtp:INFO> Session 'yrtp/609804014' 0x846f928 bound to 10.1.2.10:28730 +RTCP [0x846f890]
<mgcp_ca:INFO> Sending message from (null):0 to 10.1.2.3:2427
-----
CRCX 1 acgw1@m2k_200:2427 MGCP 1.0
C: 6802fbb501000000
M: sendrecv

v=0
o=yate 1354272379 1354272379 IN IP4 10.1.2.10
s=PSTN Circuit
c=IN IP4 10.1.2.10
t=0 0
m=audio 28730 RTP/AVP 0 8 3 11 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:11 L16/8000
a=rtpmap:101 telephone-event/8000

oraz mam blokade portu 2727

<mgcp_ca:WARN> Failed to bind socket to :2727. Error: 98: Address already in use
<mgcp_ca:INFO> Attached endpoint 'yate@0.0.0.0'
<mgcpca:CALL> Default remote endpoint: 'acgw1@m2k_200:2427'

jednak po sprawdzeniu używanych portów 2727 przypisane jest że już Yate je wykorzystuje(polecenia netsat )

Wcześniej udało mi się uzyskać MGCP/SDP w Wiresharku oraz w logu z Yate

<mgcpca:CALL> MGCPSpan 'TRUNK_1' is operational [0x88ef578]
<mgcpca:INFO> MGCPCircuit::status(Idle,true) 1 [0x88f0478]
<mgcpca:INFO> MGCPCircuit::status(Reserved,true) 1 [0x88f0478]
<mgcpca:INFO> MGCPCircuit::status(Connected,true) 1 [0x88f0478]
<yrtp:INFO> Guessed local IP '10.1.2.10' for remote '10.1.2.3'
<yrtp:INFO> Session 'yrtp/267598473' 0x88f0aa8 bound to 10.1.2.10:31250 +RTCP [0x88f0a10]
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
CRCX 1 acgw1@m2k_200:2427 MGCP 1.0
C: 685205b601000000
M: sendrecv

v=0
o=yate 1353683842 1353683842 IN IP4 10.1.2.10
s=PSTN Circuit
c=IN IP4 10.1.2.10
t=0 0
m=audio 31250 RTP/AVP 0 8 3 11 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:11 L16/8000
a=rtpmap:101 telephone-event/8000

-----
<mgcp_ca:INFO> Received 1 message(s) from 10.1.2.3:2427
-----
500 1 FAIL

ale nie zapisałam zmian do pamięci bramy i zatrzymałam się na tym co napisałam na początku wiadomości.

Przestudiuje otrzymany link i napiszę co uzyskałam.

Temat: Mediant 2000 + Yate (MGC)

Ma ktoś może jakieś sugestie do zamieszczonych logów i otrzymanych przeze mnie wyników?
Jakub Klausa

Jakub Klausa CTO, SS7
Technologies sp. z
o.o.

Temat: Mediant 2000 + Yate (MGC)

Z logów nic nie widać - albo masz poodpalane kilka instancji MGC w pierwszym przypadku, albo dostajesz nic nie mówiącą odpowiedź 500 FAIL (zapewne z powodu błędów konfiguracji) w drugim wypadku.

Pokaż konfiguracje obu stron - może tak będzie łatwiej komuś wywróżyć o co chodzi.

Temat: Mediant 2000 + Yate (MGC)

obecnie jestem na etapie konfiguracji warstwy 3 oraz tworzeniu routingu. Jakieś propozycje co do konfiguracji, jakieś pomocne materiały ? Otrzymane logi z yate ukazują wiadomości na poziomie warstwy 2:
<ALL> Loaded 8 plugins
Initializing plugins
Initialize module LKSCTP
Initializing module SigTransport
Initializing module MGCP Call Agent
<mgcp_ca:INFO> Initialized:
type: Call Agent
bind address: :2727
allow_unknown_cmd: false
retrans_interval: 250000
retrans_count: 3
lower_case_params: true
max_recv_packet: 1500
send_provisional: true
<mgcp_ca:INFO> Attached endpoint 'yate@'
Initializing module RegexRoute
Initializing module YRTP
Initializing module SIP Channel
<sip:ALL> YateSIPEndPoint::YateSIPEndPoint(normal) [0x9bc18a8]
<sip:ALL> Transport(general) created [0x9bc3f20]
<sip:ALL> Transport(general) initialized addr='10.1.2.10:5060' default=true maxpkt=1500 rtp_localip=(null) nat_address=(null) [0x9bc3f20]
<sip:INFO> Default UDP transport is 'general'
Initializing module Register from file
Initializing module Signalling Channel
<sig/isup.decode:INFO> ISUP Call Controller pointcode-type=ITU format=alaw plan/type/pres/screen=unknown/unknown/allowed/user-provided caller-category=ordinary remote-pointcode=1-1-1 SIF/SSF=5/128 lockcircuits= userpartavail=false lockgroup=true mediareq=no outboundsls=cic [0x9bc61a8]
<sig/isup.encode:INFO> ISUP Call Controller pointcode-type=ITU format=alaw plan/type/pres/screen=unknown/unknown/allowed/user-provided caller-category=ordinary remote-pointcode=1-1-1 SIF/SSF=5/128 lockcircuits= userpartavail=false lockgroup=true mediareq=no outboundsls=cic [0x9bd0280]
<mgcpca:ALL> MGCPSpan::MGCPSpan(0xbfeadde0,'ds/tr0') [0x9bd0ae8]
<mgcpca:NOTE> MGCPSpan 'ds/tr0' first circuit=29 'ds/tr0/30@m2k_200:2427'
<mgcpca:CALL> MGCPSpan 'ds/tr0' is operational [0x9bd0ae8]
<mgcpca:INFO> MGCPCircuit::status(Idle,true) 29 [0x9bd3190]
<isup1/L1/Data:NOTE> Added range ds/tr0: 29 [0x9bd08f8]
<mgcpca:ALL> MGCPSpan::MGCPSpan(0xbfeadde0,'ds/tr1') [0x9bd3528]
<mgcpca:NOTE> MGCPSpan 'ds/tr1' first circuit=(null)
<mgcpca:CALL> MGCPSpan 'ds/tr1' is operational [0x9bd3528]
<isup1/L1/Data:NOTE> Added range ds/tr1: (null) [0x9bd08f8]
<NOTE> Failed to open config file '/usr/local/etc/yate/ysigdata.conf', using defaults (2: No such file or directory)
<isup1/ISUP:INFO> ISUP Call Controller pointcode-type=ITU format=alaw plan/type/pres/screen=isdn/unknown/allowed/user-provided caller-category=ordinary remote-pointcode=0-0-1 SIF/SSF=5/128 lockcircuits= userpartavail=false lockgroup=true mediareq=no outboundsls=auto [0x9bd0fc0]
<ss7router:ALL> Attached service (0x9bd43d0,'ss7snm') [0x9bd1348]
<ss7snm:ALL> Attached network/router (0x9bd134c,'ss7router') [0x9bd43d0]
<isup1/ISUP:ALL> Attached network/router (0x9bd134c,'ss7router') [0x9bd1024]
<ss7router:ALL> Attached service (0x9bd1024,'isup1/ISUP') [0x9bd1348]
<m2k-linkset:ALL> Point code types are 'ITU' [0x9bd4958]
Destinations of 'm2k-linkset': [0x9bd4958]
ITU 0-0-2 > 0-0-1 0 (unknown)
<m2k-link0:NOTE> Link inhibition changed 0x01 -> 0x03 [0x9bd5180]
<m2k-linkset:ALL> Attached link (0x9bd5180,'m2k-link0') with SLS=0 [0x9bd4958]
<m2k-link0:ALL> Attached L2 user (0x9bd49fc,'m2k-linkset') [0x9bd5180]
<Transport:m2k-link0:ALL> Transport created (0x9bd5988)
<m2k-link0:ALL> ASP state change: AspDown -> AspUpRq [0x9bd54d0]
<Transport:m2k-link0:MILD> Cannot send message, stream 0 not connected [0x9bd5988]
<m2k-linkset:ALL> Attached L3 user (0x9bd1348,'ss7router') [0x9bd4958]
<ss7router:ALL> Attached network (0x9bd4958,'m2k-linkset') [0x9bd1348]
Routing table of 'ss7router': [0x9bd134c]
ITU 0-0-1 (unknown) m2k-linkset,0,unknown
Initialization complete
<ALL> Engine dispatching start message
Yate engine is initialized and starting up on debian
<INFO> Creating new message dispatching thread (0 running)
<sip:ALL> Listener(UDP,'general') initializing socket addr='10.1.2.10:5060'
<sip:INFO> Listener(UDP,'general') started on '10.1.2.10:5060'
<mgcp_ca:INFO> Received 4 message(s) from 10.1.2.3:2427
-----
RSIP 2177 ds/tr0/*@m2k_200:2427 MGCP 1.0
RM: restart
.
RSIP 2178 ds/tr1/*@m2k_200:2427 MGCP 1.0
RM: forced
.
RSIP 2179 ds/tr0/*@m2k_200:2427 MGCP 1.0
RM: X-KeepAlive
.
RSIP 2180 ds/tr1/*@m2k_200:2427 MGCP 1.0
RM: X-KeepAlive

-----
<mgcp_ca:INFO> Received 2 message(s) from 10.1.2.3:2427
-----
RSIP 2179 ds/tr0/*@m2k_200:2427 MGCP 1.0
RM: X-KeepAlive
.
RSIP 2180 ds/tr1/*@m2k_200:2427 MGCP 1.0
RM: X-KeepAlive

-----
<mgcp_ca:INFO> Received 2 message(s) from 10.1.2.3:2427
-----
RSIP 2179 ds/tr0/*@m2k_200:2427 MGCP 1.0
RM: X-KeepAlive
.
RSIP 2180 ds/tr1/*@m2k_200:2427 MGCP 1.0
RM: X-KeepAlive

-----
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
100 2177 Trying

-----
<mgcp_ca:INFO> RSIP 'restart' from 'ds/tr0/*@m2k_200:2427'
<mgcpca:NOTE> MGCPSpan 'ds/tr0' using version 'MGCP 1.0' [0x9bd0ae8]
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
200 2177 OK
K:

-----
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
100 2178 Trying

-----
<mgcp_ca:INFO> RSIP 'forced' from 'ds/tr1/*@m2k_200:2427'
<mgcpca:CALL> MGCPSpan 'ds/tr1' is not operational [0x9bd3528]
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
200 2178 OK
K:

-----
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
100 2179 Trying

-----
<mgcp_ca:INFO> RSIP 'X-KeepAlive' from 'ds/tr0/*@m2k_200:2427'
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
200 2179 OK
K:

-----
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
100 2180 Trying

-----
<mgcp_ca:INFO> RSIP 'X-KeepAlive' from 'ds/tr1/*@m2k_200:2427'
<mgcpca:NOTE> MGCPSpan 'ds/tr1' using version 'MGCP 1.0' [0x9bd3528]
<mgcpca:CALL> MGCPSpan 'ds/tr1' is operational [0x9bd3528]
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
200 2180 OK
K:

-----
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
200 2177 OK
K:

-----
<mgcp_ca:INFO> Transaction(0,2177). Retransmitted 200 remaining=2 [0x9be20c0]
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
200 2178 OK
K:

-----
<mgcp_ca:INFO> Transaction(0,2178). Retransmitted 200 remaining=2 [0x9be2190]
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
200 2179 OK
K:

-----
<mgcp_ca:INFO> Transaction(0,2179). Retransmitted 200 remaining=2 [0x9be2298]
<mgcp_ca:INFO> Sending message from 0.0.0.0:2727 to 10.1.2.3:2427
-----
200 2180 OK

Temat: Mediant 2000 + Yate (MGC)

http://dl.dropbox.com/u/77008265/yate.tar.gz - pliki które mam na Yate.

Temat: Mediant 2000 + Yate (MGC)

http://dl.dropbox.com/u/77008265/BOARD%20(4).ini - plik, który mam na bramie

Temat: Mediant 2000 + Yate (MGC)

Można wystawić GW na publicznym?

Następna dyskusja:

Mediant 2000 z Yate




Wyślij zaproszenie do