ошибка при подключении в Phone.html

Discussion in 'RTMP SIP Gateway' started by worker4web, Aug 17, 2015.

  1. worker4web

    worker4web New Member

    14:26:38,580 ERROR AbstractRtmpClient - Can not create Softphone
    com.flashphoner.sdk.softphone.exception.SoftphoneFactoryException: Can not create server-side softphone instance
    at com.flashphoner.sdk.softphone.SoftphoneFactory.newCustomSoftphone(Unknown Source)
    at com.flashphoner.sdk.rtmp.AbstractRtmpClient.initCustomSoftphone(Unknown Source)
    at com.flashphoner.sdk.rtmp.AbstractRtmpClient.<init>(Unknown Source)
    at com.flashphoner.phone_app.RtmpClient.<init>(Unknown Source)
    at com.flashphoner.phone_app.PhoneApp.onConnect(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:483)
    at com.wowza.wms.module.ModuleFunction.invoke(ModuleFunction.java:369)
    at com.wowza.wms.module.ModuleFunctions.a(ModuleFunctions.java:328)
    at com.wowza.wms.module.ModuleFunctions.onConnect(ModuleFunctions.java:699)
    at com.wowza.wms.module.ModuleConnect.connect(ModuleConnect.java:1222)
    at com.wowza.wms.request.RequestProcessFunctions.processFunctions(RequestProcessFunctions.java:89)
    at com.wowza.wms.request.RequestProcessData.flushFunction(RequestProcessData.java:68)
    at com.wowza.wms.request.RequestProcessData.processNextRequest(RequestProcessData.java:907)
    at com.wowza.wms.request.RTMPRequestAdapter.service(RTMPRequestAdapter.java:575)
    at com.wowza.wms.server.ServerHandler.a(ServerHandler.java:655)
    at com.wowza.wms.server.ServerHandler.a(ServerHandler.java:375)
    at com.wowza.wms.server.ServerHandler.messageReceived(ServerHandler.java:488)
    at com.wowza.wms.server.ServerHandlerThreadedSession.run(ServerHandlerThreadedSession.java:108)
    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)
    Caused by: com.flashphoner.sdk.softphone.exception.SoftphoneException: Can not register softphone instance
    at com.flashphoner.sdk.softphone.Softphone.register(Unknown Source)
    at com.flashphoner.sdk.softphone.Softphone.<init>(Unknown Source)
    ... 24 more
    Caused by: com.flashphoner.A.A.B: Can not create REGISTER message
    at com.flashphoner.A.H.C(Unknown Source)
    ... 26 more
    Caused by: java.text.ParseException: sip: 304845@206.54.171.174:30000: Missing host name
    at gov.nist.core.HostNameParser.host(HostNameParser.java:166)
    at gov.nist.core.HostNameParser.hostPort(HostNameParser.java:233)
    at gov.nist.javax.sip.parser.URLParser.sipURL(URLParser.java:592)
    at gov.nist.javax.sip.parser.URLParser.uriReference(URLParser.java:317)
    at gov.nist.javax.sip.parser.AddressParser.address(AddressParser.java:98)
    at gov.nist.javax.sip.parser.StringMsgParser.parseAddress(StringMsgParser.java:390)
    at gov.nist.javax.sip.address.AddressFactoryImpl.createAddress(AddressFactoryImpl.java:166)
    at com.flashphoner.A.B.A(Unknown Source)
    at com.flashphoner.A.H.H(Unknown Source)
    ... 27 more
  2. Max

    Max Administrator Staff Member

    Wowza/conf/flashphoner.properties
    Code:
    ip=[my_external_ip]
    ip_local=[my_network_interface_ip]
  3. worker4web

    worker4web New Member

    да все верно, заполнено
  4. Max

    Max Administrator Staff Member

    Попробуйте использовать PhoneJS.html вместо Phone.html. С ним должно работать.
    Последние билды для Wowza4 находятся здесь:
    Сервер 1670
    Клиент 289
  5. worker4web

    worker4web New Member

    спс, попробую с новыми версиями.
  6. worker4web

    worker4web New Member

    в PhoneJS.html выдает No response from VOIP server during 15 seconds.
  7. worker4web

    worker4web New Member

    ошибка исчезла как прописал локальный_ип=внешний_ип

Share This Page