RestComm / media-core

RMS - Restcomm Media Server for Real Time Cloud Communications
http://www.restcomm.com/
GNU Affero General Public License v3.0
161 stars 124 forks source link

Media server does not respond to CRCX request #857

Open msrashed2018 opened 6 years ago

msrashed2018 commented 6 years ago

i have an application server AS which receive SIP INVITE Request from UA then send MGCP CRCX Request to media server. but AS got provisional response (100) after send duplicate CRCX Request.

this is network configuration on AS and media server

AS Configuration IP Address: 192.168.0.251

Media Server configuration mediaserver: network: bindAdress: 192.168.1.133 externalAddress: 192.168.1.133 network: 192.168.0.0 subnet: 255.255.0.0 sbc: false

Media server Logs 11:26:10,177 INFO [SpringApplication] (main) No active profile set, falling back to default profiles: default 11:26:10,247 INFO [AnnotationConfigApplicationContext] (main) Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@7803bfd: startup date [Tue Jul 31 11:26:10 EET 2018]; root of context hierarchy 11:26:12,461 DEBUG [GlobalMgcpEventProvider] (main) Registered MGCP Event Provider for package R 11:26:12,764 WARN [SpringAsrModule] (main) No ASR drivers were registered. Feature is deactivated. 11:26:12,778 INFO [MgcpEndpointManager] (main) Installed MGCP Endpoint Provider for namespace restcomm/bridge/ 11:26:12,778 INFO [MgcpEndpointManager] (main) Installed MGCP Endpoint Provider for namespace restcomm/ivr/ 11:26:12,779 INFO [MgcpEndpointManager] (main) Installed MGCP Endpoint Provider for namespace restcomm/cnf/ 11:26:12,832 INFO [PriorityQueueScheduler] (main) Starting 11:26:12,876 INFO [PriorityQueueScheduler] (main) Started 11:26:12,887 INFO [ServiceScheduler] (main) Started scheduler! 11:26:12,887 INFO [UdpManager] (main) Starting UDP Manager 11:26:12,900 INFO [UdpManager] (main) Initialized UDP interface[unknown]: bind address=192.168.1.131 11:26:12,941 WARN [MacAddressUtil] (main) Failed to find a usable hardware address from the network interfaces; using random bytes: 0d:e8:6b:ea:2a:de:22:f9 11:26:12,978 INFO [StandaloneMediaServer] (main) Media Server started 11:26:12,978 INFO [StandaloneMediaServer] (main) Called the Garbage collector to clear bootstrap data 11:26:13,170 DEBUG [AsyncNettyNetworkChannelFsm] (mgcp-0) Channel is bound to /192.168.1.131:2427 11:26:13,370 INFO [AnnotationMBeanExporter] (main) Registering beans for JMX exposure on startup 11:26:13,405 INFO [SpringApplication] (main) Started application in 4.796 seconds (JVM running for 6.68) 11:27:12,825 INFO [StandaloneMediaServer] (scheduler-worker-1) Global hearbeat is still alive 11:27:18,123 DEBUG [MgcpMessageDecoder] (mgcp-0) Incoming MGCP message from /192.168.1.254:2727:

CRCX 147483654 restcomm/ivr/$@192.168.1.131:2427 MGCP 1.0 M:sendonly C:2

v=0 o=- 3742018037 3742018037 IN IP4 192.168.0.151 s=pjmedia c=IN IP4 192.168.0.151 t=0 0 m=audio 4002 RTP/AVP 9 8 0 3 101 c=IN IP4 192.168.0.151 a=rtcp:4003 IN IP4 192.168.0.151 a=sendrecv a=rtpmap:9 G722/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16

11:27:18,127 DEBUG [GlobalMgcpTransactionManager] (mgcp-0) Created new transaction manager to handle transactions for call agent /192.168.1.254:2727 11:27:18,127 DEBUG [SubMgcpTransactionManager] (mgcp-0) Started transaction 147483654 for call agent /192.168.1.254:2727 11:27:22,082 DEBUG [MgcpMessageDecoder] (mgcp-0) Incoming MGCP message from /192.168.1.254:2727:


wireshark samples screenshot is attached where 192.168.1.254 is the ip address of Access point between two network screenshot from 2018-07-31 11-55-01