Detect SIP vendor from a config file
detect_sip_vendor_from_config[cost: free (pure CPU, no network) | read-only]
Heuristic-only sibling of detect_sip_stack, scoped to vendor configs. Returns the matched vendor slug, a confidence level, and the structural signals that fired (loadmodule syntax, route blocks, profile elements, etc.).
Use this when the user asks 'what is this config?' or attaches a SIP config file. Detect-only - does not extract directives or flag risks.
Pair with: review_sip_config for the structured outline + risk flags; search_sip_docs(vendor=<slug>, ...) to ground each directive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Config blob (UTF-8 plaintext). | |
| filenameHint | No | Optional filename ("kamailio.cfg", "pjsip.conf", "sofia/external.xml") to bias detection. |