HowTo add transport=UDP to Contact header

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

 



HI!

Thanks for respond.

1)       Can it be done by adding a parameter to CLI while starting
PjSUA?

2)       Where do I find pjsua_acc_config file? Is build/make needed as
param added?

 

Regards,

Evgeny Miloslavsky

Systest Engineer

Juniper Networks Solutions Israel LTD.

Office: 972-9-9712355

Office: 972-74-7170072

________________________________

From: pjsip-bounces@xxxxxxxxxxxxxxx
[mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Rachel Baskaran
Sent: Thursday, September 10, 2009 7:41 PM
To: pjsip list
Subject: Re: HowTo add transport=UDP to Contact header

 

URI Context
URI context specifies where the URI is being used (e.g. in request line,
in
From/To header, etc.). The context specifies what URI elements are
allowed to
appear in that context. For example, transport parameter is not allowed
to appear
in From/To header, etc.

I came across this text while reading the Developer's guide for Pjsip.
Just thought to post it here.

On Thu, Sep 10, 2009 at 4:57 AM, Johan Lantz <johan.lantz at genaker.net>
wrote:

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;





_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090913/0e074197/attachment.html>


[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