GSDHE Posted October 29, 2016 #1 Share Posted October 29, 2016 Hallo Zusammen, ich versuche seit mehreren Tagen eine Asterisk Freepbx mit einem Netphone Version 8.01.0678 per SIP-Trunk zu verbinden. Beide PBX sind im gleichen Netz. 192.168.131.x Anruf aus Netphone zu Asterisk fünktioniert. Rufnummer 1005 zu 3711 geht (1993711) Anruf aus Asterisk zur Netphone Anrufer besetzt. Rufnummer 3711 zu 1005. Über jede Hilfe wäre ich dankbar. Viele Grüße GS Asterisk : IP 192.168.131.94 Netphone: IP: 192.168.131.6 Einstellungen unter Netphone: Sip-Trunk: Freepbx-SIP-Trunk Allgemein: Computername netphone -> Typ Sip -> Trunk-Gruppen: Sip-Group: in Gruppeneigenschaften: Register Profil: SIP-(angepasst) -> ein und ausgehende Anrufe Kanonisch mit + Register SIP: SIP-Registrierung aktivieren -> Registrar: 192.168.131.94:5060 ->Intervall für erneute Registrierung 10 -> Stun-Support deaktiviert -> Proxy 192.168.131.94:5060 -> Realm: leer -> DTMF RFC 2833 EVENT Register Weiterleitungseinträge Prio 400 : Zulassen Zielrufnummer 199* Register Rufnummernsignalisierung: Rufnummer des Anrufers signalisieren -> Codecs/Kanäle: G722, G711a, G711,G729 Register Anzahl gleichzeitiger Rufe: 2. Maximale Anzahl gleichzeiter ausgehender Rufe 2, Maximale Anzahl gleichzeitiger ankommender Rufe 2 Verschlüsselung: Keine Verschlüsselung Register SIP-Registrierung: SIP-Benutzer-ID: toswyx SIP-Benutzername: toswyx SIP-Kennwort: toswyx Register Rufnummern: 49 941 xxxxxx1005 Register SIP-URIs: *@192.168.131.94:5060 3711@192.168.131.94:5060 *@192.168.131.94 *@192.168.131.94:65002 *@192.168.131.6:65002 *@192.168.131.6:5060 Einstellung Asterisk (Freepbx): Trunkname: Trunk-swyx outgoing: context=default disallow=all allow=g729&g723&ulaw&alaw&gsm host=192.168.131.6 type=friend username=toswyx secret=toswyx port=5060 insecure=very&invite dtmfmode=rfc2833 incoming: username=toswyx type=friend secret=toswyx port=5060 insecure=very&invite host=dynamic dtmfmode=rfc2833 Register String: toswyx:toswyx@192.168.131.6 Versuch von Asterisk 3711 zu Netphone 1005 IPpbxSrv,log 29 12:16:08.613 001134 Info SwSIP 13BB8930 000020ac SwSIPCall::SendSipResponse () SEND SIP 180 Ringing 29 12:16:08.613 001134 Info SwSIP 13BB8930 000020ac SwSIPCall::TraceTransition () Proceeding --evtSigAlerting--> Proceeding (Result: 0) 29 12:16:09.022 001690 Info SwSIPReg 06D1AFC8 00000000 SwSIPReceiver::HandleSipRequest () RECV SIP REGISTER 29 12:16:09.023 001690 Info SwSIPReg 00B420D0 00000000 SwSIPRegistrar::GetBindingByAOR () Found binding with AOR '{123A8204-15D7-408D-B01C-CBC09F36E01A}@firma.local' and IP address 192.168.131.130 port 5070 in list of bindings. 29 12:16:09.023 001b70 Info SwSIPReg 00B420D0 00000000 SwSIPRegistrar::GetAllContacts (U:1018, T:0) 29 12:16:09.023 001b70 Info SwSIPReg 00B420D0 00000000 SwSIPReg::GetAllBindingsByUserOrTrunkId () Found 3 binding(s) with internal user ID 1018 29 12:16:09.023 001b70 Info SwSIPReg 13271FE8 00000000 SwSIPBinding::Send200Ok () SEND SIP 200 OK 29 12:16:09.023 001b70 Inf3 SrvGk 0AA6DA70 00000000 SDeviceImpl::ReRegistered () [0x0AA6DA70 SwyxItCTIMaster, Reg: (Client,1018,Telefondienst VI), 192.168.131.130, G722 G711a G711u G729 T.38 ] 29 12:16:09.023 001b70 Info SwSIPReg 13271FE8 00000000 SFsm::OnProcessEvent () Registered evtRegister Result: 0 NewSt: Registered 29 12:16:09.023 001b70 Info SwSIPReg 13271FE8 00000000 SwSIPBinding::EnterStateRegistered (0) Starting registration expiry timer for 130 seconds. 29 12:16:09.659 00199c Inf3 SrvPBXCtl 13BD9130 000020ac SPhoneCallHandler::OnDelLastPCallIdWrite() updated last phone call Id (Server) to 7873306 29 12:16:10.243 001690 Info SwSIPReg 00B420D0 00000000 SwSIPRegistrar::GetBindngByUserId () Search for binding by User ID '3711' and IP address 192.168.131.94 port 5060 29 12:16:10.243 001690 Info SwSIPReg 00B420D0 00000000 SwSIPRegistrar::GetBindngByUserId () Could not find binding with user ID '3711' and IP address 192.168.131.94 port 5060 in list of bindings. 29 12:16:10.243 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetDevice () Binding not found via UserId/IP:Port, trying via AOR: 3711@192.168.131.94 29 12:16:10.243 001690 Info SwSIPReg 00B420D0 00000000 SwSIPRegistr::GetAllBindingsByAOR () Found 0 binding(s) with AOR '3711@192.168.131.94' 29 12:16:10.243 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetDevice () Found 0 bindings for AOR 3711@192.168.131.94 search correct one via IP Ip:192.168.131.94:5060:false 29 12:16:10.243 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetDevice () No Binding found! 29 12:16:10.243 001690 Info SwSIPReg 00B420D0 00000000 SwSIPRegistrar::GetBindngByUserId () Search for binding by User ID '3711' and IP address 192.168.131.94 port 5060 29 12:16:10.243 001690 Info SwSIPReg 00B420D0 00000000 SwSIPRegistrar::GetBindngByUserId () Could not find binding with user ID '3711' and IP address 192.168.131.94 port 5060 in list of bindings. 29 12:16:10.243 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetDevice () Binding not found via UserId/IP:Port, trying via AOR: 3711@192.168.131.94:5060 29 12:16:10.243 001690 Info SwSIPReg 00B420D0 00000000 SwSIPRegistr::GetAllBindingsByAOR () Found 0 binding(s) with AOR '3711@192.168.131.94:5060' 29 12:16:10.244 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetDevice () Found 0 bindings for AOR 3711@192.168.131.94:5060 search correct one via IP Ip:192.168.131.94:5060:false 29 12:16:10.244 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetDevice () No Binding found! 29 12:16:10.244 001690 Info SwSIPReg 00000000 00000000 SwSIPEndpoint::GetUserAgentString () User Agent: FPBX-13.0.188.8(13.11.2) 29 12:16:10.244 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetDevByTAndIp () Didn't find device for (Ip:192.168.131.94:5060:false) of type SIPGateway3rdPty 29 12:16:10.244 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetDeviceByToUri () this search is only applied for LinkManager -> return NULL 29 12:16:10.244 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetDeviceByRequestUri () this search is only applied for LinkManager -> return NULL 29 12:16:10.244 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetDeviceByMsgSrcIP () this search is only applied for LinkManager -> return NULL 29 12:16:10.244 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetPublicDevice () 29 12:16:10.244 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetPublicDevice () last device not found -> we take the first in the list 29 12:16:10.244 001690 Warn SwSIP 06D10EF8 00000000 SwSIPEndpoint::GetPublicDevice () no public device in list 29 12:16:10.244 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::ForwardRequestToCall () Received SIP INVITE but could not find SIP device -> sending SIP 404 Not Found 29 12:16:10.244 001690 Info SwSIP 06D10EF8 00000000 SwSIPEndpoint::SendSipResponse () SEND SIP 404 Not Found 29 12:16:10.570 000cc8 Inf3 SrvPBXCtl 06D11E10 00000000 SPBXEndpoint::OnDBChanged ('users', 'userphonecalls', entry 648, not deleted) 29 12:16:10.570 000cc8 Info SwSIPSub 06D10EF8 00000000 SwSIPEndpoint::OnUserDataChanged () Searching for server subscriptions with IpPbx user id 648 and event package 'x-ippbx' or 'message-summary'... 29 12:16:10.603 001da8 Inf2 SrvPBXCtl 137A8FD8 000020ac SScrServer::EvtAlertTimeout () 29 12:16:10.603 001b24 Inf2 SrvPBXCtl 13A05D80 000020ac SScriptFsm::ActionOnAlertToutGetDtmf () 29 12:16:10.603 001b24 Inf3 SrvPBXCtl 137A8FD8 000020ac SPBXCallHub::SetDisconnectReason () reset stored disconnect reason Linkmanager.log LinkMgr-20161029-120215.log Link to comment Share on other sites More sharing options...
Steffen Posted October 29, 2016 #2 Share Posted October 29, 2016 Hallo, der Link Manager lauscht zwar auf Port 5060 und nimmt die Anfragen auch an, antwortet aber immer mit 404 not found. Per default verwendet der Linmanager den Port 65002. Link to comment Share on other sites More sharing options...
GSDHE Posted October 29, 2016 Author #3 Share Posted October 29, 2016 Hallo Steffen, Danke für deine Antwort, bei der Asterisk für outgoing SIP Port 65002 eingestellt und nun funktioniert das ganze. Danke für die Hilfe. Gruß GS Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.