PROBLEM WITH FORWARDING ALL - SIP TRUNK

Hello,
I'm experiencing the following problem:
I have this scenario: PSTN - SIP GW - CUCM6.1 - SIP TRUNK - CUM8.6
Phone A (extension 33476761834) is registered on CUCM8.6, with external forwarding to the PSTN.
If someone from CUCM8.6 calls - it works.
If someone from CUCM6.1 or from PSTN calls - fast busy. Error in CUCM traces:
19:20:47.056 |//SIP/SIPTcp/wait_SdlSPISignal: Outgoing SIP TCP message to 145.245.235.201 on port 36615 index 3295
[1925279,NET]
SIP/2.0 500 Internal Server Error
Via: SIP/2.0/TCP 145.245.235.201:5100;branch=z9hG4bK3744a3159aed8f
From: <sip:[email protected]>;tag=e1d37fe6-cb7b-46e7-a868-6fe81d6bb391-40319184
To: <sip:[email protected]>;tag=907605~2b367b5a-23ed-4193-a18b-e8c2f777615e-62999964
Date: Thu, 26 Sep 2013 17:20:46 GMT
Call-ID: [email protected]
CSeq: 101 INVITE
Allow-Events: presence
Reason: Q.850;cause=100
Content-Length: 0
|2,100,63,1.580442^145.245.235.232^*
Any idea? Thanks a lot!
(Attaching the complete trace).

Hi,
Making some tests regarding the problem we saw this:
Oct  1 23:02:22: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:[email protected]:5060 SIP/2.0
Date: Tue, 01 Oct 2013 23:02:22 GMT
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, PUBLISH
From: <sip:[email protected]>;tag=e1d37fe6-cb7b-46e7-a868-6fe81d6bb391-40468009
Allow-Events: presence
Supported: timer,replaces
Min-SE:  1800
Diversion: " Elodie" " <sip:[email protected]>;reason=unconditional;privacy=off;screen=yes
Remote-Party-ID: <sip:[email protected]>;party=calling;screen=yes;privacy=off
Content-Length: 0
User-Agent: Cisco-CUCM6.1
To: <sip:[email protected]>
Contact:
Expires: 180
Call-ID: [email protected]
Via: SIP/2.0/TCP 145.245.235.201:5060;branch=z9hG4bK3863af2fe80489
CSeq: 101 INVITE
Session-Expires:  1800
Max-Forwards: 67
Oct  1 23:02:22: //350172/5D95E6C38917/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 400 Bad Request - 'Malformed CC-Diversion/Diversion/CC-Redirect Header'
Via: SIP/2.0/TCP 145.245.235.201:5060;branch=z9hG4bK3863af2fe80489
From: <sip:[email protected]>;tag=e1d37fe6-cb7b-46e7-a868-6fe81d6bb391-40468009
To: <sip:[email protected]>;tag=DA70FE78-21AE
Call-ID: [email protected]
CSeq: 101 INVITE
Reason: Q.850;cause=100
Content-Length: 0
The problem is because in the redirect header, the comma "," is not a valid parameter so in the alerting name I removed the comma after the surname (i.e. "Elodie, Mary" to "Elodie Mary" and now is working.
We will change the alerting name by the moment and I will also investigate if there is a parameter to just not divert this name because is not needed this info in forwarded calls.
Anyway the problem is solved

Similar Messages

  • SG300-20 - Problems with Forwarding and Learning MACs until Write

    I have an SG300-20 and started having problems a few weeks ago.  Primarily the problem is related to rebooting systems, waking systems from sleep, or any other activity such as speed/duplex changes on the host that cause the host NIC to cycle.  Regardless of how the host NIC "goes down", when the host NIC "turns up" it shows connected on the host and switch, but the SG300 refuses to learn the MAC.  The only remedy seems to be the write command.  Immediately after the write command is issued there is delay from 0 to a few seconds, then L2 connectivity returns.
    Also, a new problem cropped-up during testing after changing the mode to "route."  If I reload the switch it stops forwarding all traffic until a write command is issued.
    Anyone see these symptoms and have a solution?
    Thanks,
    Jeff

    Jeff, I can't recreate this.
    switch0d8210#set system mode switch                                  
    Changing the switch working mode will *delete* the startup configuration file                                                                            
    and reset the device right after that. It is highly recommended that you will                                                                            
    backup it before changing the mode, continue ? (Y/N)[N] Y                                                        
    switch0d8210#10-Oct-2013 17:19:08 %FILE-I-DELETE: File Delete - file URL flash:/                                                                               
    /startup-config              
    switch0d8210#reload                  
    You haven't saved your changes. Are you sure you want to continue ? (Y/N)[N] Res                                                                               
    etting local unit                
    *****************  SYSTEM                        
    Boot1 Checksum Test...............................PASS                                                     
    Boot2 Checksum Test...............................PASS                                                     
    Flash Image Validation Test.......................PASS                                                    
    BOOT Software Version 1.3.5.06 Built  21-Jul-2013  15:12:10                                                          
    Networking device with Marvell ARM CPU core. 128 MByte SDRAM.                                                            
    I-Cache 16 KB. D-Cache 16 KB. L2 Cache 256 KB. Cache Enabled.                                                            
    MAC Address   :  00:26:0b:0d:82:10.                                  
    Autoboot in 2 seconds - press RETURN or Esc. to abort and enter prom.                                                                    
    Preparing to decompress...                         
    100%    
    Decompressing SW from image-1                            
    100%    
    OK 
    Running from RAM...                  
    GPIO ID is 3           
    Module type is 10                
    Device ID 0xdff411ab                   
    *** Running  SW  Ver. 1.3.5.58  Date  10-Oct-2013  Time  17:15:41 ***                                                                    
    HW version is V01                
    Base Mac address is: 00:26:0b:0d:82:10                                     
    Dram size is  : 128M bytes                         
    Dram first block size is  : 102912K bytes                                        
    Dram first PTR is  : 0x1780000                             
    Dram second block size is  : 4096K bytes                                       
    Dram second PTR is  : 0x7C00000                              
    Flash size is: 16M                 
    .....10-Oct-2013 17:15:44 %CDB-I-LOADCONFIG: Loading running configuration.                                                                          
    10-Oct-2013 17:15:44 %CDB-I-LOADCONFIG: Loading startup configuration.                                                                     
    Device configuration:                    
    Slot 1 - SG300-28P                 
    Device 0: GT_98DX3025 (AlleyCat)                               
    -- Unit Standalone                --                                   
    Tapi Version: v1.9.6                   
    Core Version: v1.9.6                   
    10-Oct-2013 17:16:20 %INIT-I-InitCompleted: Initialization task is completed                                                                           
    Detected speed: 115200                     
    10-Oct-2013 17:16:34 %Entity-I-SEND-ENT-CONF-CHANGE-TRAP: entity configuration c                                                                               
    hange trap.          
    10-Oct-2013 17:16:34 %SNMP-I-CDBITEMSNUM: Number of running configuration items                                                                              
    loaded: 0        
    10-Oct-2013 17:16:34 %SNMP-I-CDBITEMSNUM: Number of startup configuration items                                                                              
    loaded: 0        
    The SSH Server is generating a default RSA key.                                              
    This may take a few minutes, depending on the key size.                                                      
    10-Oct-2013 17:16:35 %Environment-I-FAN-STAT-CHNG: FAN# 1 status changed - opera                                                                               
    tional.      
    The SSH Server is generating a default DSA key.                                              
    This may take a few minutes, depending on the key size.                                                      
    10-Oct-2013 17:17:20 %SYSLOG-N-LOGGING:                                      
    The SSH Client is generating a default RSA key.  
    User Name:cisco              
    Password:
    This may take a few minutes, depending on the key size.e default settings. Please change the passwor         
    The SSH Client is generating a default DSA key.                     
    d for better protection
    This may take a few minutes, depending on the key size.                                                      
    10-Oct-2013 17:18:16 %SSL-I-SSLCTASK: Starting autogeneration of self-signed cer                          
    Aging time is 300 sec                    
    switchb2
    tificate - 1024 bitsitchb29140#wr mem  
    Generating RSA private key, 1024 bit long modulus Port       Type                                
    10-Oct-2013 17:18:24 %SSL-I-SSLCTASK: Autogeneration of self-signed certificate                                        
       1       e0:5f:b9:b2:91:40       0
    was successfully completed                         
    Generating RSA private key, 1024 bit long modulush mac address-tab                             
    User Name:         
    press ENTER key to retry authentication
    User Name:
    Detected speed: 115200
    User Name:cisco
    Password:*****
    Please change your password from the default settings. Please change the passwor
    d for better protection of your network. Do you want to change the password (Y/N
    )[Y] ?N
    switch0d8210#show mac address-table
    Aging time is 300 sec
      Vlan        Mac Address         Port       Type
       1       00:26:0b:0d:82:10       0         self
       1       64:31:50:1c:50:d3      gi3      dynamic
       1       d0:67:e5:56:14:32      gi2      dynamic
    switch0d8210#
    -Tom
    Please mark answered for helpful posts

  • Problem with Microsoft All-in-One Media Keyboard

    Hello,
    I found a problem with this keyboard when I was playing game. If I'm holding Shift + W and then i'm pressing D too (to turn right or rather to walk straight and to the right) it doesn't work. This same is happening if I'm holding Shift + D +
    W. But other combinations are working, like pressing Shift + W + A or Shift + S + D, etc. First I thougt that it is some game issue or program had keyboard shortcut and it's interfering
    with game. But I tried in notepad and it wasn't working too. After all it is not Windows 8.1 issue, because I launched ubuntu live cd and this problem still exist even there.
    Now what can I do with it? Go to warranty shop?

    Hi,
    Did this keyboard hotkeys work previously? Maybe this function only works in specific program or game.
    Keep latest driver and software for the keyboard.
    According to your description, best choice I think is sending the keyboard to the warranty shop.
    Regards
    Yolanda Zhu
    TechNet Community Support

  • Problem with QOS for SIP on RV082

    Hello,
    I have problem with quality of VOIP call with Linskys RV082.  Firmware is 2.0.0.19tm.
    Router is configured as dual-wan , one port (WAN2) is for ADSL 8000/512kb and other one is (WAN1) SHDSL 8000/8000kb.
    VOIP traffic from certain IP of LAN is routed to WAN2 (through protocol binding). We have quaranted QOS on ADSL by ISP.
    Problem is that voice is dropping when we load WAN2 with other data  connection.  Last week i reload new firmware, restore default factory and configured router whole again. All was ok only for 1 day and then voice was dropping again.  I mean that problem is at mark packets, because when I put VOIP PBX in front of behind router , QOS is working fine.
    Can you help me? Is this know issue?
    Thanks.
    Jan Babak
    Message was edited by: jabacomCZ

    thank you for reply !!!
    below is the show output :
    ciscoasa# show priority-queue statistics outside_wan
    Priority-Queue Statistics interface outside_wan
    Queue Type = BE
    Tail Drops = 0
    Reset Drops = 0
    Packets Transmit = 7971924
    Packets Enqueued = 0
    Current Q Length = 0
    Max Q Length = 0
    Queue Type = LLQ
    Tail Drops = 0
    Reset Drops = 0
    Packets Transmit = 189321
    Packets Enqueued = 0
    Current Q Length = 0
    Max Q Length = 0
    ciscoasa#
    so does the command look like, the one I should use instead of priority-queue outside_wan ??

  • Performance Problems with "For all Entries" and a big internal table

    We have big Performance Problems with following Statement:
    SELECT * FROM zeedmt_zmon INTO TABLE gt_zmon_help
      FOR ALL ENTRIES IN gt_zmon_help
        WHERE
        status = 'IAI200' AND
        logdat IN gs_dat AND
        ztrack = gt_zmon_help-ztrack.
    In the internal table gt_zmon_help are over 1000000 entries.
    Anyone an Idea how to improve the Performance?
    Thank you!

    >
    Matthias Weisensel wrote:
    > We have big Performance Problems with following Statement:
    >
    >  
    SELECT * FROM zeedmt_zmon INTO TABLE gt_zmon_help
    >   FOR ALL ENTRIES IN gt_zmon_help
    >     WHERE
    >     status = 'IAI200' AND
    >     logdat IN gs_dat AND
    >     ztrack = gt_zmon_help-ztrack.
    >
    > In the internal table gt_zmon_help are over 1000000 entries.
    > Anyone an Idea how to improve the Performance?
    >
    > Thank you!
    You can't expect miracles.  With over a million entries in your itab any select is going to take a bit of time. Do you really need all these records in the itab?  How many records is the select bringing back?  I'm assuming that you have got and are using indexes on your ZEEDMT_ZMON table. 
    In this situation, I'd first of all try to think of another way of running the query and restricting the amount of data, but if this were not possible I'd just run it in the background and accept that it is going to take a long time.

  • I have problem with deleting all cookies, and all cache.

    I use FF for web development, and frequently have to clear all cache, and cookies to see my developed changes. But with the recent update from FF3.16/17 to FF4, I have started to face a weird problem while clearing all cache, and cookies. One is, I have observed that the process takes more time compared to previous versions, and secondly, it gets stuck sometime showing a script error on a file called sanitize.js file.
    I have a grab to show, but not sure how can I show it you. but the alert says "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete."
    Script: chrome//browser/content/sanitize.js:136
    Below are 2 buttons, Continue and Stop Script

    Firefox 4 also tries to clear the cookies from plugins like Flash and starts a plugin-container process with the Flash player and possibly other plugins as well for each cookie, so that can add a lot of extra time if there are a lot of cookies to remove. Also make sure that all plugins are up to date.

  • Problem with forward method of jsp

    am having problem with the requestDispatcher.forward method in my jsp + wml , the forward method gets executed but the new page is not displayed in the wap browser,
    code snippet
    small.jsp
    <?xml version="1.0"?>
    <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
    <%@ page language="java" %>
    <%@ page contentType="text/vnd.wap.wml; charset=UTF-8" %>
    <%@ page import="java.lang.*,java.io.*,java.util.*,java.util.Vector,java.util.Properties "%>
    <%
    System.out.println("in small");
    RequestDispatcher rd = request.getRequestDispatcher("small1.jsp");
    rd.forward(request,response);
    %>
    small1.jsp
    <?xml version="1.0"?>
    <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
    <%@ page language="java" autoFlush="false"%>
    <%@ page contentType="text/vnd.wap.wml; charset=UTF-8" %>
    <%@ page import="java.net.*,java.lang.*,java.io.*,java.util.*,java.util.Vector,java.util .Properties"%>
    <%
    String sm = "small1";
    System.out.println("in small1");
    %>
    <wml>
    <card id="two">
    <p>
    <small><%=sm%></small>
    </p>
    </card>
    </wml>
    i get the following output in the log
    in small
    in small1
    but i dont get to see the small1.jsp' content , also the response.sendRedirect method works fine ,,
    pls give me the soln
    Thnk u in advance

    thank u very for the repl this is the message which i get in the nokia wap browser...
    cannot load small1.jsp(HTTP Error 500 Server Error)
    and i use IBM WebSphere as the web server....
    and i have found that using response.reset in the small2.jsp overcomes this problem but the card title and the anchor tag is not displayed !!!!
    what could be this problem?

  • I have a problem with bookmarks, all the time when I start Firefox the bookmarks is deleted, or not there. And I need to import them again and again, also the cookies, cash are deleted.

    The bookmarks, cookies, history all the time are deleted when I start Firefox and I need to import them all the time.
    I have version 3.6.12

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    See:
    * http://kb.mozillazine.org/Bookmarks_not_saved
    * http://kb.mozillazine.org/Locked_or_damaged_places.sqlite

  • [AS] Problem with exporting all pages individually

    Hi, I ain't found any solutions by my self or on the web, so I hope, someone can help here.
    I wrote this piece of AS code. I wish it exports all the pages as separate PDFs.
    Alas, it crashes saying that the script ca't understand the page range.
    Could you please telle me where I do bad ?
    set Fpath to (choose folder with prompt "pick") as string
    tell application "Adobe InDesign CS3"
    set mydoc to active document
    set pcount to count pages of mydoc
    repeat with p from 1 to pcount
    tell PDF export preferences
    set page range to p as string
    end tell
    set docname to "toto" & "_" & p & ".pdf"
    set pdfname to Fpath & docname
    export to file (pdfname) format PDF type using "[PDF/X-1a:2001]" without showing options
    end repeat
    end tell
    thanks in advance,
    Loic

    Hi Loic,
    Here is a little altered version of the ExportEachPageAsPDF script from the examples provided by Adobe. I assume, from the script you posted, that you want exported files to be named in the following way: toto + _ + page number + .pdf. But in my judgement, it would be more reasonable to use the name of active document without extension instead of "toto".
    Why are you trying to reinvent the wheel? Isn't it better to take a ready-made script and remake it to your needs?
    Kasyan
    tell application "Adobe InDesign CS3"
    if (count documents) is not equal to 0 then
    my myChooseFolder()
    else
    display dialog "Please open a document and try again."
    end if
    end tell
    on myChooseFolder()
    set myFolder to choose folder with prompt "Choose a Folder"
    --Get the folder name (it'll be returned as a Unicode string)
    set myFolder to myFolder as string
    --Unofficial technique for changing Unicode folder name to plain text string.
    set myFolder to "class ktxt" of (myFolder as record)
    if myFolder is not equal to "" then
    my myExportPages(myFolder)
    end if
    end myChooseFolder
    on myExportPages(myFolder)
    tell application "Adobe InDesign CS3"
    set myDocument to active document
    --set myDocumentName to name of myDocument
    repeat with myCounter from 1 to (count pages in myDocument)
    set myPageName to name of page myCounter of myDocument
    set page range of PDF export preferences to name of page myCounter of myDocument
    --Generate a file path from the folder name, the base document name, and the page name.
    --Replace any colons in the page name (e.g., "Sec1:1") so that they don't cause
    --problems with file naming.
    set myPageName to my myReplace(myPageName, ":", "_")
    set myFilePath to myFolder & "toto" & "_" & myPageName & ".pdf"
    tell myDocument
    --The export command will fail if you provide the file path
    --as Unicode text--that's why we had to convert the folder name
    --to plain text.
    export format PDF type to myFilePath using "[PDF/X-1a:2001]"
    end tell
    end repeat
    end tell
    end myExportPages
    on myReplace(myString, myFindString, myChangeString)
    set AppleScript's text item delimiters to myFindString
    set myTextList to every text item of (myString as text)
    set AppleScript's text item delimiters to myChangeString
    set myString to myTextList as string
    set AppleScript's text item delimiters to ""
    return myString
    end myReplace

  • Problems with vlan and dot1q trunking port

    Dear Folks,
    i have problems with my AccessPoint Konfiguration.
    Even when i set the Catalyst Port to trunk, i can only connect to VLAN 1 but not to VLAN 10.
    and if i change the port to statik vlan 10 i can not connect to the ap but it works...
    config below:
    User Access Verification
    version 12.2
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    hostname 1200_PP_1
    logging queue-limit 100
    enable secret xxxx
    clock timezone A 1
    ip subnet-zero
    bridge irb
    interface Dot11Radio0
    no ip address
    no ip route-cache
    ssid DEPACNGLW0HS
    vlan 10
    authentication shared
    infrastructure-ssid
    mobility network-id 10
    speed basic-1.0 2.0 5.5 11.0
    rts threshold 2312
    channel 2412
    antenna receive right
    antenna transmit right
    station-role root
    interface Dot11Radio0.1
    no ip route-cache
    interface Dot11Radio0.10
    encapsulation dot1Q 10 native
    no ip route-cache
    bridge-group 1
    bridge-group 1 subscriber-loop-control
    bridge-group 1 port-protected
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface FastEthernet0
    no ip address
    no ip route-cache
    speed 100
    full-duplex
    ntp broadcast client
    interface FastEthernet0.1
    encapsulation dot1Q 1
    no ip route-cache
    bridge-group 254
    no bridge-group 254 source-learning
    bridge-group 254 spanning-disabled
    interface FastEthernet0.10
    encapsulation dot1Q 10 native
    no ip route-cache
    bridge-group 1
    no bridge-group 1 source-learning
    bridge-group 1 spanning-disabled
    interface BVI1
    ip address 10.2.2.222 255.255.255.0
    no ip route-cache
    ip default-gateway 10.2.2.2
    ip http server
    ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag/122-15.JA/1100
    ip radius source-interface BVI1
    bridge 1 route ip
    line con 0
    line vty 0 4
    login local
    line vty 5 15
    login
    end
    it would be fine if anyone could help me....

    You configure Layer 3 Mobility with WLSM. No trunking is required on the CAT switch. However, you need to set the switch port on the CAT switch as access port in VLAN 10.
    Please post the WLSM and SUP720 configuration. Also, which VLAN do you want to access the AP?
    The following URL may be useful for you to verify the configuration:
    http://www.cisco.com/en/US/partner/products/hw/wireless/ps430/prod_technical_reference09186a00802a86a7.html

  • MS-6309 V2.x problems with ATI-All in Wonder Pro AGP 2.X

    I have a  MS-6309 V2.x and are trying to have my  ATI-All in Wonder Pro AGP 2.X  working on this Mainboard !  The computer crash after loging and restarts imediately  ! this repeats to the invinity !  I have the latest bios update !  Some one with the same problem please tell me about your work arround !

    Ok ! I have figured out the problem largely because of your aid on this forum ! Thanks to all !
    The problem is the compatibility with the CPU's !!!
    Well here are all the information found on the CPU's
    I have a :  Pentium III  costa rica
                   850/256/100/1.7v
                   3045A586-1116 SL4CC
    The Pentium III is the big problem It crash all the time on all systems !
    and a :     Celeron
                   900/128/100/1.75v
                   Q151A233-0248 SL5LX
    The celeron crash when it whant's on Windows and crash from time to time when I use certain Software on Linux system
    One question does your Bios Upgrades include the microcode for these CPU or is it the Operating system (Under Windows) update.sys that does the updates ! 
    It's not the ram responsible for the crashes but the CPU'S !

  • Problem with forwarding to new page in jsf

    Hi
    I am facing a problem. I have a checkbox in my jsp page and 3 submit button. The two button works w r t check box and its woking fine. I am getting problem with the 3rd button. I want to fwd to next page once the button is clicked.
    For the check box i am using the method
    public String handleCheckbox2ValueChange(ValueChangeEvent valueChangedEvent)
    Can anyone help me in this regard. I need to fwd to the next page.
    Regards
    Rupesh

    This sounds like a simple JSF navigation that has nothing to do with the checkbox. Read the documentation and tutorials on navigation.

  • Alternative for / Problems with: "For all entries in data_package"

    Hi Guys
    I doing some ABAP in a Start Rotine in BW and would like to do the following:
      select * from /BI0/PMATERIAL into table 0mat
      for all entries in DATA_PACKAGE
      where material = DATA_PACKAGE-/bic/zmaterial.
    But I get the following error:
    E:When using the addition "FOR ALL ENTRIES IN itab", the fields "MATERIAL" and "DATA_PACKAGE-/BIC/ZMATERIAL" must have the same type and length. and length.
    ZMATERIAL:
    - Length: 28
    - Type: CHAR - Character String
    ZMATERIAL:
    - Length: 18
    - Type: CHAR - Character String
    According to the error message "For all entries" cannot be used in this case since the lengths are not identical, but is there an alternative way to do what I would like to do?
    Thanks in advance, kind regards,
    Torben

    Hi
    one thing you can try like this define one variable in other itab of same type
    then loop at the first table and assign it to new field and modify the itab
    then use this field with for all entries
    Regards
    Shiva

  • Problem with select all cells in JTable

    Hi guys! I get some problem about selecting all cells in JTable. I tried to used two methods:
    1> table.selectAll()2> changeSelection(firstcell, lastcell,false,true)
    firstcell:[0,0], lastcell[rowcount-1,colcount-1]
    Result: only the first row selected when i use both methods.
    Note: i set up the selection model as following:
    this.dataSheet.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
                    this.dataSheet.setCellSelectionEnabled(true);
                    this.dataSheet.setRowSelectionAllowed(true);
                    this.dataSheet.setColumnSelectionAllowed(true);Thanks !

    What selection properity should be changed in order to enable selectAll() method work properly? Is there Any constraints? Here is the TableModel I am using. And i set up selection mode use the following code:
    table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    table.setCellSelectionEnabled(true);
    table.setRowSelectionAllowed(true);
    table.setColumnSelectionAllowed(true);
    import java.util.Vector;
    import javax.swing.table.*;
    import javax.swing.JTable;
    public class DataSheetModel extends AbstractTableModel{
              private Vector data = new Vector();//Store data
              private Vector columnNames = new Vector();//Store head
              public DataSheetModel(){}
              public DataSheetModel(Vector headVector, Vector dataVector){
                   if(headVector != null) this.columnNames = headVector;
                   if(dataVector != null) this.data = dataVector;
              public int getColumnCount(){
                   return columnNames.size()+1;
              public int getRowCount(){
                   return data.size()+1;
              public String getColumnName(int col){
                   if(col==0) return "";
                   else return (String)columnNames.get(col-1);
              public Object getValueAt(int row, int col){
                   if(col==0) {
                        if(row != data.size()) return String.valueOf(row);
                        else return "*";
                   else{
                        if(row != data.size()){
                             Vector rowVector = (Vector)data.elementAt(row);
                             return rowVector.elementAt(col-1);
                        }else return null;
              public void setValueAt(Object value, int row, int col){
                   if(row != this.data.size()){
                        Vector rowVector = (Vector)data.elementAt(row);
                        rowVector.set(col-1,value);
                        this.data.set(row,rowVector);
                        this.fireTableDataChanged();
                   }else{
                        Vector rowVector = new Vector();
                        for(int i=0; i<this.getColumnCount()-1; i++) rowVector.add(null);
                        rowVector.set(col-1,value);
                        this.data.add(rowVector);
                        this.fireTableDataChanged();
              public Class getColumnClass(int c){
                   return getValueAt(0,c).getClass();
              public boolean isCellEditable(int row, int col){
                   if(col == 0) return false;
                   else return true;
              public void setDataVector(Vector head, Vector data){
                   if(head != null) this.columnNames = head;
                   if(data != null) this.data = data;
    }

  • Problem with for all entries in select querry

    hi,
    Hi,
    I am using select queery like this
    SELECT  version  COUNT( * ) 
    from ztbi_default_va4
    INTO  CORRESPONDING FIELDS OF TABLE   lit_new 
    FOR ALL ENTRIES IN lit_new1
    WHERE network = lit_new1-network GROUP BY version.
    this is not working showing error as:
    The addition "FOR ALL ENTRIES" excludes all aggregate functions with          
    the exception of "COUNT( * )" as the single element of the SELECT     clause.     
    I am using only count(*) ,not using othes like max,min etc,,,,,,,,,
    please suggest any missing in syntax,,,,attach relavant code using count(*) with for all entreis
    any help appriciated,,,,,
    Thanks in advance,,,,

    Hi,
    Try this -
    TYPES: begin of t_data,
                 version TYPE version,
                 count    type i,
                 end of t_data.
    DATA: i_data TYPE STANDARD TABLE OF t_data,
               wa_data TYPE t_data.
    DATA: l_version TYPE version,
               l_count TYPE i.
    SELECT  version  COUNT( * ) 
    from ztbi_default_va4
    INTO  CORRESPONDING FIELDS OF TABLE   lit_new 
    FOR ALL ENTRIES IN lit_new1
    WHERE network = lit_new1-network.
    SORT lit_new.
    LOOP AT lit_new INTO lwa_new.
        IF lwa_new EQ l_version.
          l_count = l_count + 1.
        ELSE.
          wa_data-version = l_version.
          wa_data-count = l_count + 1.
          APPEND wa_data TO i_data.
          CLEAR: wa_data.
          CLEAR: l_count.
        ENDIF.
        l_version = lwa_new-version.
        CLEAR: lwa_new.
    I hope this will do.
    Make any necessary changes.
    Regards,
    Harsh Bansal

Maybe you are looking for

  • External Mouse Won't Work

    Whenever I plug in an external mouse via USB, it never works. I have tried Apple mouses and non-Apple mouses but none of them work. The only mouse I can get to work is my Apple wireless mouse via bluetooth. And I have tested the USB ports with USB dr

  • FAGLB03 Recon balance difference with Customer A/c. effects in FSV.

    Hi All, Need Help. Customer A/c and Reconciliation a/c is not tallied. While in FBL3N the customer balance is showing Zero as on 6th posting period, While the Reconciliation A/c of the same Customer A/c is showing balance of 45,000/- INR. It also eff

  • Weird sort order in Mail

    Mail is sorting my messages very strangely. For example, I have a folder with about 2000 messages ranging from sometime in 2004 until this morning. When iPhone Mail pulls it up the first page of messages is from sometime in late 2006. It gets the tot

  • Testing Events on an Application View

    Hi, I am testing an event on an application view using a service. The execution of the service should generate two events, but I only got one back during the test. Does the com.bea.wlai.client.EventTester suppose to return ALL the events of that type

  • How to remotely reset macbook air if stolen?

    i've had my macbook air stolen is there a way to wipe out all the information, remotely?