Setting the local/source port in SIP responses

Oracle/Weblogic SIP server picks up 'random' local or source port when sending SIP responses. This is a problem for
one of our load balancer. Can we make it use '5060' or some 'constant' port number instead of 'random' behavior ?
Any help would be appreciated.
Thanks,
Krishna V

Yes..
SIP Server network channels provide a SourcePorts attribute that you can use to configure one or more static ports that a server uses for originating UDP packets.
Snippet from config.xml
<network-access-point>
<name>sip</name>
<protocol>sip</protocol>
<listen-port>5060</listen-port>
<public-port>5060</public-port>
<custom-properties>SourcePorts=5060</custom-properties>
</network-access-point>

Similar Messages

  • Setting the XDP source at runtime

    Hi,
    I would like to set the template source for an InteractiveForm UI element via the IWDInteractiveForm.<b>setTemplateSource</b> method in the wdDoModifyView of my view. I would like to set it to a URL or something like that.
    But I always get the following exception:
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.impl.PDFDocumentRuntimeException: ResourceNotFoundException occured while creating template stream from the URL : Object could not be found in cache, key is null!
        at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.AdobeFormHelper.getTemplateStream(AdobeFormHelper.java:560)
    My source is quite simple:
      public static void wdDoModifyView(...)
        //@@begin wdDoModifyView
         ((IWDInteractiveForm)view.getElement("Form01")).setTemplateSource(
          "http://localhost:53000/irj/go/km/docs/room_extensions/cm_stores/documents/workspaces/b003600e-b334-2810-4593-be953ca4873a/2005/11/22/dyn01.xdp");
        //@@end
    Could anybody help me ?
    Thanks in advance!
    Regards,
    Ferenc

    Hi,
    Sorry for late response. I installed BS6.5 some days ago.
    Regarding localhost: The ADS is also on my local machine, so I thing that it can not be a problem.
    I tried it with and without 'localhost', but it does not work. Now I use a workaround: copy first the proper template from the KM into the directory from the original template deployed with the WD can be obtained by the application. Then I set the template source using simply the name of the file.
    Regards,
    Ferenc

  • Failed to set the EventLog source

    Hi all,
    I have encountered the following problem. During installation DS 5.2 on Windows 2000 I got message from installer: "Failed to set the EventLog source", but installaion continued. It looks that DS is installed, but I cannot start slapd and I can see the same message.
    Thanks for any help

    Thank Mayank for your reply
    I'm not clear about the concept of "directory server instance name "
    and I list the information to u:
    Server Console Login Dialog:
    User ID: cn=directory manager
    Administration URL: http://xxx.com:40001
    Information below is from Server Console:
    Directory Server(xxx) (whole computer name is xxx.com)
    Server name: Directory Server(xxx)
    product name: Directory Server
    Version: 5.2_Pathc_4
    Build number:2005.230.0301
    Security level:domestic
    Server status: Started
    Port:40000
    Administration Server
    Server name: Administration Server
    Product name:Administration Server
    Version:5.2.4
    Build number:2005.206.2139
    Security level:domestic
    Server status: Started
    Port:40001
    and it can work on my machine(windows xp with sp2), but can't on that Server(windows 2003 with sp1), and Both are using default setting when setting up the Directory.
    thanks ,
    Time here is 2007-3-1 11:05. ^_^
    Message was edited by:
    fofw2000

  • Using a PhaseListener in order to set the locale on the UIViewRoot

    Hello,
    I am wondering which is the best phase to set the locale on the UIViewRoot...
    I don't know whether to choose the "update model values" or the "invoke application" phase and whether to set it before or after the phase.
    Can anyone please help?
    Thanks in advance,
    J.

    I'd say at any time AFTER the restore view and BEFORE the render response phase should be fine. I cannot be 100% sure as I've never actually done this. I would experiment and find out if I were you, only way to be really sure.
    I'm assuming you want to do this to only have to put this code in one place. Its not an option to use f:loadBundle in a facelets template that you share among all your pages? Then you don't have to muck about with phase listeners.

  • Trying to programmatically set the data-source for a Crystal reports report.

    I've got the following existing procedure that I need to add to in order to programmatically set the data-source (server, database, username, and password) for a Crystal reports report.
     I added the connectionInfo parts, but can’t figure out how to attach this to the existing
    this._report object.
    This is currently getting the connection data from the report file, but I now need to populate this connection data from a 'config.xml' text file.
    Am I trying to do this all wrong?
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using CrystalDecisions.CrystalReports.Engine;
    using WGS.Reports.Reports;
    using CrystalDecisions.Shared;
    using WGS.Reports.Forms;
    namespace WGS.Reports
    public class ReportService
    ReportClass _report;
    ParameterFields paramFields;
    ConnectionInfo connectionInfo; // <- I added this
    public ReportService()
    public void DisplayReport(string reportName, int allocationNo)
    if (reportName.ToLower() == "allocationexceptions")
    this._report = new AllocationExceptions();
    PrepareConnection(); // <- I added this
    PrepareAllocationExceptionReport(allocationNo);
    this.DisplayReport();
    private void PrepareConnection() // <- I added this
    //test - these will come from the config.xml file
    this.connectionInfo = new ConnectionInfo();
    this.connectionInfo.ServerName = "testserv\\test";
    this.connectionInfo.DatabaseName = "testdb";
    this.connectionInfo.UserID = "testuser";
    this.connectionInfo.Password = "test";
    this.connectionInfo.Type = ConnectionInfoType.SQL;
    private void PrepareAllocationExceptionReport(int allocationNo)
    this.paramFields = new ParameterFields();
    this.paramFields.Clear();
    ParameterField paramField = new ParameterField { ParameterFieldName = "@AllocationNo" };
    ParameterDiscreteValue discreteVal = new ParameterDiscreteValue { Value = allocationNo };
    paramField.CurrentValues.Add(discreteVal);
    paramFields.Add(paramField);
    private void DisplayReport()
    frmReportViewer showReport = new frmReportViewer();
    showReport.ReportViewer.ReportSource = this._report;
    showReport.ReportViewer.ParameterFieldInfo = paramFields;
    showReport.ShowDialog();
    showReport.Dispose();
    Any help would be much appreciated.

    Hi Garry,
    Please post SAP Crystal Reports questions in their own forums here:
    SAP Crystal Reports, version for Visual Studio
    We don't provide support for this control now. Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • PhaseListener: before or after which phase should I set the locale?

    Hello,
    I use restfaces an I have UrLs such as mydomain.com/fr/book/etc
    where /fr/ is the desired locale. I have tried retrieving the locale string from the URL and setting the locale from a PhaseListener before the renderResponse phase but it does not work i.e. when I change the locale in the address bar to /en/book/etc it will not change the locale. Any clue?
    Thanks in advance,
    JUlien.
    Here is the phase listener:
    public class DebugPhaseListener implements PhaseListener {
    private static transient Logger log = Logger.getLogger("com.jeanbaptistemartin.util");
    public DebugPhaseListener() {
    log.debug("DebugPhaseListener constructor");
    public void afterPhase(PhaseEvent phaseEvent) {
    log.debug("after---> " + phaseEvent.getPhaseId());
    public void beforePhase(PhaseEvent phaseEvent) {
    Locale locale = extractLocale(FacesContext.getCurrentInstance().getExternalContext().getRequestServletPath());
    FacesContext.getCurrentInstance().getViewRoot().setLocale(locale);
    public PhaseId getPhaseId() {
    return PhaseId.RENDER_RESPONSE;
    private Locale extractLocale(String servletPath) {
    String[] array = servletPath.split("/");
    return new Locale(array[0]);
    }Here is the managed bean (I actually use spring):
    @Component("sculptureView")
    @Scope("request")
    public class SculptureView {
    private Logger log = Logger.getLogger("com.jeanbaptistemartin.view");
    private JbmService service;
    private Sculpture sculpture;
    public SculptureView() {
    log.info("Sculpture()");
    @Autowired
    public SculptureView(JbmService service) {
    log.info("Sculpture(JbmService service)");
    this.service = service;
    @Instance("#{sculptureView}")
    @HttpAction(value = "sculptureAction", pattern = "{locale}/sculpture/{id}")
    public String getBookById(@Param("id") int id, @Param("locale")String locale) {
    this.sculpture = service.findByID(id);
    log.debug("Locale: "+  locale);
    return "/sculpture.jsp";
    public Sculpture getSculpture() {
    return sculpture;
    public void setSculpture(Sculpture sculpture) {
    this.sculpture = sculpture;
    }The problem I get is that the jsp page still display today's date in french...
    Julien.
    I meant "sculpture" instead of "book"
    Edited by: balteo on Jul 10, 2008 5:51 AM

    Thanks a lot! You spotted a big mistake on my part.
    Otherwise, my lifecycle listener works when I use the RESTORE_VIEW phase (afterPhase method).
    Do you think it is the appropriate phase? Should I use another one?
    Julien.

  • Setting the local builtin SAM administrator password

    Greetings,
        Currently we set the local SAM administrator password by supplying it directly in the "Apply Windows settings" TS step.
        I do have a base 64 encoded version of that same password in customsettings.ini and I would like to use that variable. Let's call it "encpwd".
      In the "Apply Window Settings" step, can I code the variable name in the text field when I specify "Enable the account and specify the local administrator password" as %encpwd%? I suspect that this field may not accept variables.
     Alternatively, can I code in my customsettings.ini "adminpassword=encpwd" ? And if I set this in customsettings.ini will it override whatever is set in the "Apply windows Settings" step (i.e. would I just set this to 'randomly generate...')?
    Thanks
    David Z

    It's not clear what deployment method you are using here. MDT LTI, or SCCM ZTI?
    For MDT LTI, you could just add the base64 encoded value *directly* into the unattend.xml file, and then remove the adminpassword entry in the zticonfigure.xml to prevent overwrite.
    You might be able to code your own solution to add base64 encoded data directly into the variable namespace by overriding the "Public Property Let Item()" entry in ztiutility.vbs to override the "ObfuscateEncode()" call.
    However, note, that this is not 100% secure (nothing is), your password is still recoverable as plaintext.
    Keith Garner - keithga.wordpress.com

  • Setting the locale dynamically in .shell file

    Hi ,
    I am using <netuix:locale language="en"/> in .shell file for the header in Weblogic Portal 9.2 application.
    How i can set the language attribute dynamically as currently it is set to English that's why my header area always displays the text in English language for the first time when I login into my application.
    Looking forwar for the response
    Thanks in Advance
    Regards
    Gaurav

    Hi Guarav,
    The <netuix:locale> control is used within Portal Framework markup (.shell, .portlet, .portal, etc.) to specify the local for that resource's title and description. For example: if you have a file named headerFooter.shell, its English title might be "The Header-Footer Shell", and that's how you would identify the shell in the Portal Admin Tools. If you had users who spoke/read Spanish, you'd create a <netuix:locale> element for headerFooter.shell that had the title as "El Cabeza-Pata Shell" (or something :). What I'm saying is: that control only affects the localization of the title and description of that WLP resource itself, not its content.
    To change what language the text of your header uses, check out the i18n JSP tag library: http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadocjsp/p13n/i18n/tld-summary.html.
    Hope that helps,
    George

  • Unable to 'set the default source system' to Install Business Content

    Hi,
    Maars here. This is my first post hoping that in future ones I'll also be lending a helping hand.
    I am trying to 'Install Business Content' under the BUSINESS CONTENT section in txn RSA1. I am doing this after 'Transfer Data Sources' in R/3 and I can now see all the data sources (under the application component hierarchy) for the source system. But I am not able to see the Info Objects in the Business Content.
    When I try to set R/3 as the default source system (got this screen after clicking a icon in the standard tool bar), BW is not saving the settings ie., I set the R/3 as the default and then click on OK. If I go back to the same screen again, I find that my settings were NOT saved.
    Could you please help me out?
    Thank you.

    Hi,
    It seems to be a bug in version 3.5.
    Do like this:
    After you open the screen to <i>choose the dafault source system</i>
    Clcik on 3rd button(F6) available in the bottom of the scrreen.
    And then select teh tick mark for required system.
    And then click on Continue button
    You have do this step before you drop the cube to right side of the cube.
    Ok, even after all these steps , if you reopen the screen you would not see Tick mark u have done just before. DONOT WORRY ABT it.
    Drag and drop required cube with dat flow before.
    Now you can see the Transfer rules with selected Source system only in the collected Objects.
    With rgds,
    Anil Kumar Sharma .P

  • How can we set the profile options to increase OPP response Time

    Hi All,
    While running the concurrent program to merge the data template and rtf template we got the following message in the log file.
    Executing request completion options... ------------- 1) PUBLISH ------------- Beginning post-processing of request 9079946 on node G2C-IDEV-02 at 21-SEP-2007 02:04:49. Post-processing of request 9079946 failed at 21-SEP-2007 02:19:53 with the error message: The Output Post-processor is running but has not picked up this request. No further attempts will be made to post-process this request, and the request will be marked with Warning status. Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary. --------------------------------------
    Thanks in advance

    Hi ,
    There are 2 new profiles options that can be used to control the timeouts. Depending on the error message, one of the following solutions needs to be implemented.
    Profile Option : Concurrent:OPP Response Timeout
    Internal Name : CONC_PP_RESPONSE_TIMEOUT
    Description : Specifies the amount of time a manager waits for OPP to respond to its request for post processing.
    Profile Option : Concurrent:OPP Process Timeout
    Internal Name : CONC_PP_PROCESS_TIMEOUT
    Description : Specifies the amount of time the manager waits for the OPP to actually process the request.
    Note: The profile options are available as of $FND_TOP/patch/115/sql/AFCPOPRB.pls 115.3 and are included in Patch 4125550 11.5.10 CU2 for ATG Product family.
    Solution A
    Option 1: Increase the value (in seconds) for the profile option 'Concurrent:OPP Response Timeout'.
    Option 2: Increase the number of processes or threads (or both) of the OPP via Oracle Applications Manager (see Note 291792.1 for the detailed instructions)
    Solution B
    Increase the value (in seconds) for the profile option 'Concurrent:OPP Process Timeout'.
    Workaround
    The timeouts can also be altered directly in the package AFCPOPRB.pls :
    -- Default timeout values for waiting on a response to a request (seconds)
    TIMEOUT1 constant number := 120;
    TIMEOUT2 constant number := 300;
    TIMEOUT1 and TIMEOUT2 corresponds to respectively OPP Response Timeout (solution A) and OPP Process Timeout (solution B).
    Cheers
    Ranjit.

  • How can I set up multiple source ports in a SPAN session?

    Is it even possible to do this?
    I'm going to connect a network analyzer into our cat4506 switch (running 12.2x IOS). I used vlan 1 as the source, but that doesn't give us much so I'm think we may need to use all the physical ports as the source instead.
    Anyone has any suggestions??

    Yes, you can SPAN multiple ports, or multiple VLANs. This will SPAN ports 5/1 through 5/5. The spaces on either side of the dash are necessary.
    monitor session 1 source interface fastethernet 5/1 - 5/5
    http://www.cisco.com/en/US/products/hw/switches/ps4324/products_configuration_guide_chapter09186a008023401a.html
    Please rate helpful posts.

  • Setting the data source of an External List to a WCF Web Service

    From SharePoint Online, I want to create/connect an External List to a SQL Azure data source.  This will feed a Visio diagram so I want it to be able to refresh and dynamically retrieve
    current data via Visio Services.<o:p></o:p>
    I have a published WCF Web Service in place (Azure Website) connected to this database that consolidates data from multiple tables and returns a variety of generic lists.  From
    my readings, this should bypass the need for much of the security (e.g. secure store, etc...).
    Can I do this?  I'm not seeing an option to Create an ECT as in past versions to connect to this endpoint.  Do I have to create something in Visual Studio to Import?  Any direction
    would be much appreciated.<o:p></o:p>
    Ed

    Find and increase these variables in IIS: maxRequestEntityAllowed and uploadReadAheadSize
    I had a similar issue a while back due to these settings.  They control data to and from ISAPI connections (of which CF is one) according to this article:
    http://www.iis.net/configreference/system.webserver/serverruntime
    Sorry, I cant recall off hand where exactly those settings are in IIS but a quick Google search should turn it up for you.

  • Cisco AS5400 SIP Trunk source port ?

    Hello,
    Is there a command to fix the trunk signaling source port to 5060 in the Cisco AS5400XM ?
    Thanks,

    hi,
    what's the exact issue?
    IOS  can use random port as source port on SIP request.
    However if you are running 12.3 then you cannot set it to one port.
    Later 12.4(5a) and 12.4(6)T have following hidden command.
    (config-sip-ua)#connection-reuse
    This command sets used source port to SIP listen port.
    It sets it to udp port 5060
    Hope this helps!!
    Thanks,
    karthik

  • How to set the source property of image control dynamically?

    Hi,
      I have different fxg files which I want to display in a list. For each row in the List, I define which fxg file to be displayed in my database.
    I need to know how to set the image1.source = (the fxg path) as a string from database?
    Is there any conversion needed in this case? If so, can you please help me how to do this?

    Hi,
      Thank you for your response. I am new to Adobe Flash Builder, Flex and action script. I don't get your answer straight away.
    What I basically need is, I need to set image1.source = strFXG. Right now, this does not show the image. I don't understand fxgObject.pathid.source => how to give this?
    Moreover, when I did google search, there is somethink like fxg converter which converts the fxg to a component. I thought this is a very simple problem on how to convert the fxg string to an object format. But now, it looks like it might be a big problem. Can anyone help me in this?
    import spark.components.Image;
                                  protected function view1_creationCompleteHandler(event:FlexEvent):void
      // TODO Auto-generated method stub
      var strFXG:String = 'assets.DB_Actief_Graphics';
                                            var image1:Image = new Image();
                                            image1.x = 100;
                                            image1.y = 100;
                                            image1.source = strFXG;
                                            addElement(image1);
    Regards,
    Chella

  • Cannot create the RTP Session: Can't open local data port

    Hi,
    I'm trying to connect to two webcams simultaneously in the order:
    MediaLocator inputLocator1 = new MediaLocator("rtp://hostname1:8000/video");
    MediaLocator inputLocator2 = new MediaLocator("rtp://hostname2:8000/video");
    But I get this during the second connection:
    Cannot create the RTP Session: Can't open local data port: 8000
    And I can't see the video from hostname2.
    I did a check via netstat, and it seems that both mycomputer is receiving the video from both hostname1 & hostname2:
    TCP mycomputer:3236 hostname1:8000 ESTABLISHED
    TCP mycomputer:3264 hostname2:8000 ESTABLISHED
    TCP connections to both host were established!! But why can't I see the video of hostname2???? I've thought of 2 possible reasons why I cannot see the video of hostname2:
    1. Is this set of local data port maintained by Java? i.e It's not the same as the TCP port 8000 that I see in mycomputer's netstat. If yes, Java has assigned its local data port 8000 to hostname1, so it fails to reassign that port 8000 to hostname2 while hostname1 is still connected. Any other way to fix this apart from changing the portnumber of hostname2?
    2. It has to do with the custom.jar? I've read in an article somewhere in the forum that the custom.jar has to be customized (using JFMCustomizer) to receive video from two hosts with the same portnumber. Can someone elaborate the necessary boxes to check in the JFMCustomizer?
    Thanks much,
    Rach

    After all this while, I finally figured out the problem. In my code, I use MediaLocator to code the receiver and the transmitter. E.g.:
    MediaLocator inputLocator1 = new MediaLocator("rtp://hostname1:8000/video");
    player1 = Manager.createPlayer(inputLocator1)
    MediaLocator inputLocator2 = new MediaLocator("rtp://hostname2:8000/video");
    player2 = Manager.createPlayer(inputLocator2)
    Manager would complain "Cannot create the RTP Session: Can't open local data port: 8000" because port 8000 is already used up by player1, i.e.:
    mycomputer:8000 maps to hostname1:8000
    mycomputer:8000 cannot re-map to hostname2:8000
    To work around this, I'll need to use SessionAddress. SessionAddress provides the flexibility to do an independent local port mapping, e.g.:
    mycomputer:5000 maps to hostname1:8000
    mycomputer:5002 maps to hostname2:8000
    Rach

Maybe you are looking for

  • Music app stops playing for a few seconds then starts

    After updating to lollipop the music app would play for a few minutes then stops for a few seconds then play again, did not have issue with kitkat. Help please.

  • Beginners guide - Library vs Time Machine vs Vault?

    I am new to Aperture 2, and up until now have had a workflow system that's involved importing images and exporting them into folders, and have no idea what Apertures Library is or does? I am using it as a default setting at present. I have never used

  • Issue with Freight condition with scales

    HI Experts We have requirement like below. When customer send an order o     if the order contains materials for a minimum quantity the system should not apply freight condition o     if the order contains materials for less than minimum quantity the

  • CSA 5.2.0225, Rule 576, and saving attachments in Outlook 2003

    We're in the process of migrating from 4.5.6139 to 5.2.0225; thus far, the migration is going extremely well - with one bizarre issue haunting my sleep. I started seeing this behavior about 2 weeks ago, on machines that (so far as I can determine) ha

  • ALV - Excel download Date field sits in the last Column

    Hi, I have custom ALV grid report using OOp . From the report i am exporting the results to an EXCEL, but the date columns in the report sits as last column the exported excel. Any idea ? Thanks aRs