BelledonneCommunications / flexisip

Linphone.org mirror for flexisip (git://git.linphone.org/flexisip.git)
http://flexisip.org
GNU Affero General Public License v3.0
146 stars 70 forks source link

flexisip get killed after receive register message #25

Open wjswlgus123 opened 6 years ago

wjswlgus123 commented 6 years ago

2018-02-21 08:43:02:771 flexisip-debug-tport_wakeup_pri(0xeb6a50): events IN 2018-02-21 08:43:02:771 flexisip-debug-tport_recv_event(0xeb6a50) 2018-02-21 08:43:02:771 flexisip-debug-tport_recv_iovec(0xeb6a50) msg 0xebee40 from (udp/61.196.186.159:5060) has 562 bytes, veclen = 1 2018-02-21 08:43:02:771 flexisip-debug-tport_deliver(0xeb6a50): msg 0xebee40 (562 bytes) from udp/59.29.234.173:5060 next=(nil) 2018-02-21 08:43:02:771 flexisip-debug-nta: received REGISTER sip:sip.example.org SIP/2.0 (CSeq 22) 2018-02-21 08:43:02:771 flexisip-debug-nta: Via check: received=59.29.234.173 2018-02-21 08:43:02:771 flexisip-debug-nta: REGISTER (22) to message callback 2018-02-21 08:43:02:771 flexisip-debug-New SipEvent 0xebf2b8 - msg 0xebee40 2018-02-21 08:43:02:771 flexisip-debug-Receiving new Request SIP message REGISTER from sip:toto@sip.example.org : REGISTER sip:sip.example.org SIP/2.0 Via: SIP/2.0/UDP 172.30.1.3:53901;branch=z9hG4bK.98DvRkAzg;rport=53901;received=59.29.234.173 From: sip:toto@sip.example.org;tag=ayP-O2mp3 To: sip:toto@sip.example.org CSeq: 22 REGISTER Call-ID: vlrcNg8wyB Max-Forwards: 70 Supported: replaces, outbound Accept: application/sdp, text/plain, application/vnd.gsma.rcs-ft-http+xml Contact: sip:toto@172.30.1.3:53901;transport=udp;+sip.instance="" Expires: 3600 User-Agent: Linphone_iPhone9.3_iOS11.2.1/3.16.5 (belle-sip/1.6.3)

2018-02-21 08:43:02:771 flexisip-debug-Invoking onRequest() on module DoSProtection 2018-02-21 08:43:02:771 flexisip-debug-Invoking onRequest() on module SanityChecker 2018-02-21 08:43:02:771 flexisip-debug-Skipping onRequest() on module GarbageIn 2018-02-21 08:43:02:771 flexisip-debug-Invoking onRequest() on module NatHelper 2018-02-21 08:43:02:771 flexisip-debug-Fixing contact header with 172.30.1.3:53901 to 59.29.234.173:53901 2018-02-21 08:43:02:771 flexisip-debug-Invoking onRequest() on module Authentication 2018-02-21 08:43:02:771 flexisip-debug-New IncomingTransaction 0xec07e8 2018-02-21 08:43:02:771 flexisip-debug-nta_incoming_create: created incoming transaction 0xec0ac0 2018-02-21 08:43:02:771 flexisip-debug-flexisip_auth_method_digest: no credentials matched realm or no realm 2018-02-21 08:43:02:771 flexisip-debug-New nonce 5vU33gAAAADru1PeAABxjEl7rqEAAAAA 2018-02-21 08:43:02:771 flexisip-debug-Searching for toto password to have it when the authenticated request comes 2018-02-21 08:43:02:771 flexisip-debug-Syncing password file 2018-02-21 08:43:02:771 flexisip-debug-Opening file /etc/flexisip/passwd

wjswlgus123 commented 6 years ago

I have followed configuration guide and using Linphone iOS client to send the register to flexisip server.

https://wiki.linphone.org/xwiki/wiki/public/view/Flexisip/Configuration/

I have configured as Minimal registrar with authentication

the flexisip process get killed.......

djkskqyr3 commented 3 years ago

I had same issue. If your country has been blocked UDP then there is crash issue on flexisip. Use TCP or TLS