@SipApplicationKey
@Target(value=METHOD)
@Retention(value=RUNTIME)
@Inherited
public @interface SipApplicationKey
The @SipApplicationKey annotation is used to associate an incoming SIP request (and its SipSession) with a specific SipApplicationSession. This allows you to group related requests within a single application session.
Restrictions for methods annotated with @SipApplicationKey:
- The method MUST be public and static.
- The method MUST return a String.
- The method MUST accept a single argument of type SipServletRequest.
- The method MUST NOT modify the SipServletRequest passed to it.
If any of these rules are violated (e.g., incorrect method signature), the application will fail during deployment.
Optional Elements:
applicationName
public abstract java.lang.String applicationName
An optional element that specifies the name of the SIP application associated with the application key. When provided, it can help to identify or distinguish multiple SIP applications within the same deployment.
Default Value: "" (empty string)
Start innovating with Mobius
What's next? Let's talk!