HowTo add transport=UDP to Contact header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In pjsua_acc_config you have two parameters, I have not checked but I 
think you can set these through pjsua otherwise just change the init of 
pjsua when defining the pjsua_acc_config.

/**
     * Additional parameters that will be appended in the Contact header
     * for this account. This will affect the Contact header in all SIP
     * messages sent on behalf of this account, including but not limited to
     * REGISTER, INVITE, and SUBCRIBE requests or responses.
     *
     * The parameters should be preceeded by semicolon, and all strings must
     * be properly escaped. Example:
     *     ";my-param=X;another-param=Hi%20there"
     */
    pj_str_t        contact_params;

    /**
     * Additional URI parameters that will be appended in the Contact URI
     * for this account. This will affect the Contact URI in all SIP
     * messages sent on behalf of this account, including but not limited to
     * REGISTER, INVITE, and SUBCRIBE requests or responses.
     *
     * The parameters should be preceeded by semicolon, and all strings must
     * be properly escaped. Example:
     *     ";my-param=X;another-param=Hi%20there"
     */
    pj_str_t        contact_uri_params;





[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux