Нет исходящего звонка

Discussion in 'Web Call Server 4' started by nokiani, Feb 10, 2016.

  1. nokiani

    nokiani New Member

    Здравствуйте!
    Установил Web Call Server 4. Процессы поднимаются без ошибок. Входящие звонки есть, голос в обе стороны ходит, вот только исходящий звонок не идет. В логе пишет:

    10:01:25,773 INFO B - New I/O worker #10 Config for method call not found, using defaults
    10:01:25,828 INFO WCS4Handler - New I/O worker #10 Call start - Call{callId='3c21ebcf-1721-4aab', parentCallId='null', incoming=false, status='', sipStatus=null, caller='', callee='410', hasVideo=false, sdp='v=0
    o=- 2921470550996950185 2 IN IP4 127.0.0.1
    s=-
    t=0 0
    a=group:BUNDLE audio
    a=msid-semantic: WMS OrO2yyhlXN5hobshPxAMuc9yrZHtjUlI25Aw
    m=audio 57195 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
    c=IN IP4 169.254.93.114
    a=rtcp:57199 IN IP4 169.254.93.114
    a=ice-ufrag:1w0KR9Id7HY6nHpn
    a=ice-pwd:Mk/KTtk9dQamIbV6OYXPExjC
    a=fingerprint:sha-256 F9:05:EE:3F:26:72:08:C6:27:08:02:0E:E0:2B:74:7B:92:C0:70:B4:6F:C9:A4:B0:99:67:6D:41:39:B9:5B:07
    a=setup:actpass
    a=mid:audio
    a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
    a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
    a=sendrecv
    a=rtcp-mux
    a=rtpmap:111 opus/48000/2
    a=fmtp:111 minptime=10; useinbandfec=1
    a=rtpmap:103 ISAC/16000
    a=rtpmap:104 ISAC/32000
    a=rtpmap:9 G722/8000
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:106 CN/32000
    a=rtpmap:105 CN/16000
    a=rtpmap:13 CN/8000
    a=rtpmap:126 telephone-event/8000
    a=maxptime:60
    a=ssrc:1002233963 cname:encqeskVonlABFp6
    a=ssrc:1002233963 msid:OrO2yyhlXN5hobshPxAMuc9yrZHtjUlI25Aw fe9800ea-cdd8-410c-953a-c8a10b1b082f
    a=ssrc:1002233963 mslabel:OrO2yyhlXN5hobshPxAMuc9yrZHtjUlI25Aw
    a=ssrc:1002233963 label:fe9800ea-cdd8-410c-953a-c8a10b1b082f
    ', visibleName='Caller', inviteParameters={param1=value1, param2=value2}, mediaProvider='WebRTC', sipMessageRaw='null', isMsrp=false, target='null'}
    10:01:25,829 INFO SipFactoryHelper - New I/O worker #10 User-Agent header - User-Agent: WebRTC

    10:01:25,830 INFO SipUserAgent - New I/O worker #10 NPE DEBUG callRequest: INVITE sip:410@192.168.21.7;param1=value1;param2=value2 SIP/2.0
    Call-ID: 3c21ebcf-1721-4aab
    CSeq: 1 INVITE
    From: "Caller" <sip:666@192.168.21.7>;tag=ad39801b
    To: <sip:410@192.168.21.7>
    Via: SIP/2.0/UDP 192.168.21.210:30001
    Max-Forwards: 70
    Contact: <sip:666@192.168.21.210:30001>
    Supported: timer
    Min-SE: 90
    Session-Expires: 1800;refresher=uac
    User-Agent: WebRTC
    P-Preferred-Identity: <sip:666@192.168.21.7>
    Content-Length: 0

    this: SIP UA: login: 666 assignedPort: 30001 listeningPort: 30001 isMsrpCall: false
    10:01:25,831 INFO SipCall - New I/O worker #10 RemoteUserAgent - null
    10:01:25,831 INFO Codecs - New I/O worker #10 codecs: alaw,ulaw,g729
    10:01:25,831 INFO Codecs - New I/O worker #10 load codec: alaw priority: 9900
    10:01:25,832 INFO Codecs - New I/O worker #10 load codec: ulaw priority: 9800
    10:01:25,832 INFO Codecs - New I/O worker #10 load codec: g729 priority: 9700
    10:01:25,832 INFO Codecs - New I/O worker #10 codecs: [pcma [], pcmu [], g729 [A annexb:no]]
    10:01:25,835 ERROR MediaFieldParser - New I/O worker #10 mediaField error
    java.text.ParseException: m=audio 57195 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
    ID expected
    at gov.nist.core.LexerCore.match(LexerCore.java:244)
    at gov.nist.javax.sdp.parser.MediaFieldParser.mediaField(MediaFieldParser.java:101)
    at gov.nist.javax.sdp.parser.MediaFieldParser.parse(MediaFieldParser.java:123)
    at gov.nist.javax.sdp.parser.SDPAnnounceParser.parse(SDPAnnounceParser.java:104)
    at com.flashphoner.media.D.A(Unknown Source)
    at com.flashphoner.media.L.A(Unknown Source)
    at com.flashphoner.sip.SipUserAgent.call(Unknown Source)
    at com.flashphoner.sdk.softphone.Softphone.call(Unknown Source)
    at com.flashphoner.server.client.handler.wcs4.WCS4Handler.call(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at com.flashphoner.server.ws.B.A(Unknown Source)
    at com.flashphoner.server.ws.B.messageReceived(Unknown Source)
    at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
    at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
    at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
    at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:423)
    at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
    at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
    at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
    at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
    at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
    at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
    at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
    at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
    at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
    at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102)
    at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    10:01:28,577 INFO B - New I/O worker #10 Config for method hangup not found, using defaults
    10:01:28,624 INFO WCS4Handler - New I/O worker #10 hangup callId: 3c21ebcf-1721-4aab client: ClientConfig{rtspMedia=false, login='666', authenticationName='666', password='666', domain='192.168.21.7', outboundProxy='192.168.21.7', localPort=30001, port=5065, visibleName='666', regRequired=true, applicationName='null', swfUrl='null', useProxy=true, qValue='null', pAssociatedUri='', contactParams='0', authDate=Wed Feb 10 10:00:48 ALMT 2016, authToken='/192.168.230.112:54653/192.168.21.210:8080', logsFolderName='null'}
    10:01:28,624 INFO SipCallProcessor - New I/O worker #10 terminate: sipCall.id=3c21ebcf-1721-4aab
    10:01:28,624 INFO Agent - New I/O worker #10 Free ICE agent
    10:01:28,624 INFO Agent - New I/O worker #10 remove streams
    10:01:28,625 WARN Agent - New I/O worker #10 Free ICE agent no IceMediaStreams found!
    10:01:28,626 INFO Agent - New I/O worker #10 ICE agent freed
    10:01:28,627 INFO WCS4CallbackHandler - New I/O worker #10 finish SipCall{id='3c21ebcf-1721-4aab', cost='', callee='410', calleeVisibleName='410', caller='666', callerVisibleName='Caller', isVideoCall=false, incoming=false, terminated=true, state=FINISH, lastResponseStatusCode=-1} 666@192.168.21.7
  2. Max

    Max Administrator Staff Member

    Это проблема старых версий.
    В последних версиях сервера ее быть не должно
    Обновитесь до последней версии по ветке 4.0 или установите самую последнюю 4.1.
    Тогда все должно заработать.
  3. nokiani

    nokiani New Member

    Спасибо, помогло. Все теперь работает.

Share This Page