|
From: | Peio Rigaux |
Subject: | Re: flexisip-error-no realm found |
Date: | Mon, 5 Oct 2020 18:35:17 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
Hello.
Why do you need to set this parameter ?
What happens if you let it empty ?
Regards
Peio Rigaux
Junior Software Engineer
Belledonne Communications, the company behind Linphone
Linphone.org
Hello,
i am in the process of setting up a flexisip server and permanently get a "flexisip-error-no realm found".
Lets say my auth-domain in flexisip.conf is
"auth-domains=sip.host.com localhost".
The regexps i did try are:
realm-regex='sip:.*@sip\.(.*)\.com'
realm-regex='sip:.*@(sip\.host.\.com)'
The result is always the same, "no realm found". Below is the sip REFISTER message (domain changed) and the releveant lines of the logfiles. What am i doing wrong?
====== flexisip log entry ======
2020-10-02 13:54:20:895 flexisip-debug-Receiving new Request SIP message REGISTER from sip:user1@sip.host.com :
REGISTER sip:sip.host.com SIP/2.0
CSeq: 97 REGISTER
Via: SIP/2.0/UDP 192.168.24.24:5060;branch=z9hG4bK787a99ac-1303-eb11-827d-2016b93b0f1f;rport=5060;received=203.128.94.26
User-Agent: Ekiga/4.0.1
From: <sip:user1@sip.host.com>;tag=464db8ab-1303-eb11-827d-2016b93b0f1f
Call-ID: 3838b8ab-1303-eb11-827d-2016b93b0f1f@Colossus
To: <sip:user1@sip.host.com>
Contact: <sip:user1@192.168.42.23:5060>;q=1
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, SUBSCRIBE, NOTIFY, REFER, MESSAGE, INFO, PING, PRACK
Expires: 3600
Content-Length: 0
Max-Forwards: 70
2020-10-02 13:54:20:895 flexisip-debug-Skipping onRequest() on module DoSProtection
2020-10-02 13:54:20:895 flexisip-debug-Invoking onRequest() on module SanityChecker
2020-10-02 13:54:20:895 flexisip-debug-Skipping onRequest() on module GarbageIn
2020-10-02 13:54:20:895 flexisip-debug-Invoking onRequest() on module NatHelper
2020-10-02 13:54:20:895 flexisip-debug-Fixing contact header with 192.168.24.24:5060 to 203.128.94.26:5060
2020-10-02 13:54:20:895 flexisip-debug-Invoking onRequest() on module Authentication
2020-10-02 13:54:20:895 flexisip-debug-New IncomingTransaction 0x5599a5c2d290
2020-10-02 13:54:20:895 flexisip-debug-nta_incoming_create: created incoming transaction 0x5599a5c2d350
2020-10-02 13:54:20:895 flexisip-debug-Searching for realm in From URI (sip:user1@sip.host.com) with ''sip:.*@sip\.(.*)\.com'' as extracting regex
2020-10-02 13:54:20:895 flexisip-error-no realm found
2020-10-02 13:54:20:895 flexisip-debug-Replying Request SIP message: 500 Internal error
====== SIP Register Message ======
thx!
0x99D28356FED78143.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |