Cannot match incoming calls to peers (peers exists, ip addresses match)

Having pjsip disabled seems to have caused the error (rtp_engine.c). By enabling pjsip again (fully commented pjsip.conf) all incoming calls are routed to the default context. Yet I have no way of defining context per peer, since the “No matching peer for … from …” problem is still there.

The persisting problem is that a matching peer is never found. Defined peers show up with sip show peers, ip addresses match and I have insecure=port,invite. There are no ACLs. “SIP Domain support not enabled”.

Any ideas how to fix or debug this?