SetDataSource causes code reentrance (bug)

Post Author: willi
CA Forum: .NET
Using CR.Net 1.1 SP2 (VS 2003 SP1), WinXP Prof/SP2Problem:Calling the SetDataSource method of a ReportDocument object causes code reentrance, probably due to processing the message queue. This can cause unexpected problems. The callstack in the following example shows that a Timer's Tick event occurs while calling the SetDataSource method:CSSReports.Form1.Timer1_TickSystem.Windows.Forms.Timer.OnTick   System.Windows.Forms.Timer.DebuggableCallback   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load   CrystalDecisions.CrystalReports.Engine.ReportClass.Load   CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource   This must not happen! Other events could occur, too. Is there a hotfix for this problem? This is a serious issue because while loading one report I was able to select a MenuItem and open a 2nd report before loading the 1st report finished (not a multithreaded application). This behavior can just as many problems as explicitly calling Application.Doevents. In short: SetDataSource must not process any messages in the mesage queue.

It looks like the error only occurred when I used JUnit to test it - which was probably due to something I did.  When I managed to get the code working, the problem was that the newly added table got referenced by the next itteration. I solved it by using a HashMap.
Map<String, ResultSet> results = new HashMap<String, ResultSet>();
Tables tables = reportClientDoc.getDatabaseController().getDatabase().getTables();
for (int i = 0; i < tables.size(); i++) {
    String tableAlias = reportClientDoc.getDatabaseController().getDatabase().getTables().getTable(i).getAlias();
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:CSV_DSN");
    Statement stmt = con.createStatement();
    String query = "select * from " + tables.getTable(i).getName();
    ResultSet rs = stmt.executeQuery(query);
    results.put(tableAlias, rs);
final Enumeration<String> aliasEnumeration = Collections.enumeration(results.keySet());
while (aliasEnumeration.hasMoreElements()) {
    String oldAlias = aliasEnumeration.nextElement();
    ResultSet rs = results.get(oldAlias);
    reportClientDoc.getDatabaseController().setDataSource(rs, oldAlias, oldAlias + "_rs");

Similar Messages

  • Call to Table.SetDataSource() causes FileLoadException in Windows service

    I'm porting code toVS2010/Crystal Reports VS2010 that has worked flawlessly 24/7 for the past 2 years.  Original code used VS2008/CR VS2008.
    I generate reports from a background Windows service using Crystal Reports.  I have a set of report generation CR components that work in a variety of contexts - WinForms apps, console apps and the Windows service.
    When I ported to VS 2010, all of my apps worked fine, except for the Windows service.  In the service, the first call to Table.SetDataSource() causes the service to crash.  I've used detailed logging in the service to pinpoint the source of the error.  I log before and after the call to SetDataSource(), but only the before message is logged.
    VS2010 version - 10/0/30318.1 RTMRel
    CR VS2010 runtime version - 13.0.2000.0
    I see the following in the 'Application' event log after this happens:
    =======================
    EventType clr20r3, P1 usastudiosservice.exe, P2 1.0.4065.17651, P3 4d5d3537, P4 mscorlib, P5 4.0.0.0, P6 4ba1da6f, P7 2463, P8 0, P9 system.io.fileloadexception, P10 NIL.
    =======================
    Application: UsaStudiosService.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.IO.FileLoadException
    Stack:
       at System.Reflection.RuntimeAssembly._nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, Boolean, Boolean, Boolean)
       at System.Reflection.RuntimeAssembly.nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, Boolean, Boolean, Boolean)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(System.Reflection.AssemblyName, System.Security.Policy.Evidence, System.Threading.StackCrawlMark ByRef, Boolean, Boolean)
       at System.Reflection.RuntimeAssembly.InternalLoadFrom(System.String, System.Security.Policy.Evidence, Byte[], System.Configuration.Assemblies.AssemblyHashAlgorithm, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
       at System.Reflection.Assembly.LoadFrom(System.String)
       at CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.DataSetProcessingDelegate(IntPtr)
    ======================
    I'm catching all exceptions in my report generator component, but, for some reason, this exception isn't caught.  I think it's because it's occurring in the CLR and the CLR is aborting the process.
    I've been monitoring the service in ProcMon. I see a final set of  references to the CrystalDecisions.ReportAppServer.DataSetConversion assembly that succeed, 3 attempts to access the assemby's PDB file that fail, and then DW20.EXE (C:\Program Files\Common Files\Microsoft Shared\DW\DW20.EXE) is loaded to process process the error.  (Could the missing PDB file be the problem?)
    The ProcMon trace looks entirely different when I run the report gen components from the WinForms and console apps.
    I don't think this is a permissions issue.  I've been able to log in as the user that the service logs in as and have been able to run both WinForms and console versions of the report generator without problems.
    Any help would be greatly appreciated. I absolutely have to convert this app!
    -David

    Sorry about that,
    They changed the info... Do this:
    In the mean time here's how to work around it and get logging working:
    Create a Registry file with this in it and save it: ( Replace the double quote with an open square bracket )
    W i n d o w s R e g i s t r y E d i t o r V e r s i o n 5 . 0 0
    " H K E Y _ L O C A L _ M A C H I N E \ S O F T W A R E \ S A P B u s i n e s s O b j e c t s \ S u i t e X I 4 . 0 ]
    " H K E Y _ L O C A L _ M A C H I N E \ S O F T W A R E \ S A P B u s i n e s s O b j e c t s \ S u i t e X I 4 . 0 \ C r y s t a l R e p o r t s ]
    " C o m m o n F i l e s " = " C : \ \ P r o g r a m F i l e s \ \ S A P B u s i n e s s O b j e c t s \ \ C r y s t a l R e p o r t s f o r . N E T F r a m e w o r k 4 . 0 \ \ C o m m o n \ \ "
    And then:
    1. Copy the crlogger.dll from the CR win32_x86 directory to a folder which its path length is short than 130 characters.
    2. Add the following registry key to registry:
    "HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Crystal Reports]
    3. Add a string value u201CCommonFilesu201D under the above added registry key with the value as the pathu2019s fullname which folder we drop the crlogger.dll in step #1 (requires to include the ending backslash character u201C\u201D in the path name).
    For example, copy the crlogger.dll form the default CR win32_x86u2019s folder:
    C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\
    into:
    C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\
    Then import the .reg file you created from above.
    Thanks again
    Don

  • What caused the alarm bugs?

    Hi
    I'm wondering, as a programmer, what caused these alarm bugs?
    If I remember correctly the first bug (i.e. an hour out when the clocks went forward) was caused by the alarm referencing a server clock as opposed to the phones own clock. I find it hard to believe this would be "accidental" as only a complete cabbage would code it that way and clearly Apple don't employ cabbages ;o)
    Cheers
    MArk

    Agreed... I've written dozens (perhaps even hundreds) over the years ;o) What's got me interested is the fact that such a simple bug got through and wasn't present the previous year. There must have been a fairly significant change to code that was not broken.

  • Work Order list report that will includes Damage and Cause codes

    Is there a WO list report that includes fields of the Damage and Cause Codes?
    Thanks.

    Hi,
    Generally damages and causes  we update in notifications then i think there wont be a list which u r asking
    For notification  the t-code is iw69

  • Code generation bug in C++ 5.0

    The enclosed test program generates incorrect code
    with C++ 5.0 when -g is not used.
    The problem showed up in our production code
    and concerns any reference counted smart pointer
    implementation.
    The test program is specifically written to demonstrate
    the problem and diagnose a reference miscount.
    With any optimization at all (without -g, and/or with
    any level of -O including no -O) it generates
    incorrect results. With -g the results are correct.
    gcc compiles this correctly with any optimizations
    selected.
    // main.cc
    // test program to demonstrate code generation bug in
    // Sun WorkShop Compilers C++ 5.0
    // bug exhibited as of 27th April 2001
    // relevant patches applied:
    // 107289-05 Packages: SPROcc
    // 107390-12 Packages: SPROtl7x, SPROsclx, SPROtll7x, SPROcplx, SPROlgcx
    // 107311-12 Packages: SPROscl, SPROtll7, SPROtlbn7, SPROcpl, SPROgc, SPROlgc
    // 107357-11 Packages: SPROlang
    // correct behaviour with CC -g:
    // CC -g main.cc -o main; ./main
    // incorrect behaviour with CC (no -g):
    // CC main.cc -o main; ./main
    #include <stdio.h>
    class O {
    public:
    inline O() : m_refCount(0) { };
    inline void ref() { m_refCount++; }
    inline void deref() { m_refCount--; }
    inline int refCount() { return(m_refCount); }
    private:
    int m_refCount;
    class R {
    public:
    inline R() : m_object(0) { };
    inline R(const R &r) : m_object(r.m_object) { if (m_object) m_object->ref(); }
    inline R(O *o) : m_object(o) { if (o) o->ref(); };
    inline ~R() { if (m_object) m_object->deref(); }
    inline R &operator =(const R &r) {
    if (this == &r) return(*this);
    O *o = m_object;
    if (m_object = r.m_object) m_object->ref();
    if (o) o->deref();
    return(*this);
    inline R &operator =(O *n) {
    if (m_object == n) return(*this);
    O *o = m_object;
    if (m_object = n) n->ref();
    if (o) o->deref();
    return(*this);
    inline operator O *() const { return(m_object); }
    inline O *operator ->() const { return(m_object); }
    private:
    O *m_object;
    class B {
    public:
    inline B(const R &r) : m_ref(r) { };
    inline const R &ref() { return(m_ref); }
    private:
    R m_ref;
    R buggy(int notnull, B &b)
    return(notnull ? b.ref() : 0); // BUG HERE
    int main()
    O o;
    R r(&o);
    B b(r);
    int i;
    for (i = 0; i < 20; i++) {
    R s;
    s = buggy(!0, b);
    printf("refCount: %d (should be 2)\n", o.refCount());

    How do I file a bug report for this and get
    a bug ID assigned?

  • Service Complaints Cause Codes - Config Question

    Hi All,
    I am trying to delete a cause code setup for service complaints which is not used in the system using the following IMG path -> Catalog Codes and Profiles -> Define Code Groups and Codes for Catalogs.
    When I try to delete, I get an error saying the code is used. I see that the usage checkbox on this is checked. However, I do not know what process sets this field. I tried adding a new cause code and created a complaint with that cause code and it didn't set the checkbox.
    Anyone knows what sets this field and how can I uncheck and delete the cause code from the config?
    Thanks!

    I used the IMG path mentioned above to add the cause code. Why do you need EEWB to add the cause code ? EEWB is only required to add new fields to the screen. All I am doing is to add some custom (Z*) cause codes into the catalog so that user can select them when creating complaints.
    Problem I am facing is when I try to delete some of these Z cause codes from the config (that were created long ago and we don't need anymore). Usage indicator on them are set and hence wouldn't let me delete it. I need to know what process sets this field?
    Thanks,
    Chandrika

  • New Phone Cause Code 64 Error Class 2

    I just bought and activated my new Droid Incredible 2 when I tried to send a text message if failed to send. I looked at the details and saw that it said cause code 64 error class 2. What does this mean, and what should I do to fix it? Thank you.
    -Erin
    (removed email address to comply with Verizon Wireless Terms of Service)
    Message was edited by:  Verizon Moderator

        Hi naywah,
    I know how important texting is to users. I appreciate you calling *228, did the programming finish successfully? Are you getting the same error messages when sending the messages? Please confirm that you're using the regular texting application and not a 3rd party application. I also recommend you check the content being sent (ex: are you sending plain text or containing special characters or emoticans) and the type of signal arriving to the device. I look forward to hearing back from you to find how the trouble was resolved.
    Thank you,
    MariaC_VZW
    Please follow us on Twitter @VZWSupport

  • Cause Code 97, Error Class 2

    I have had my Droid Incredible 2 for a little over a month.  Has worked perfectly fine until this morning. I can receive messages, but whenever I try to reply to them I get a screen that says "Message failed. Would you like to retry?" but every time I retry it still doesn't send. Then I hit cancel instead and view the details of the error.  This is where it says "Cause code: 97, Error class: 2". This is very frustrating and is there any way to fix it?

        Lets ensure your text messages are up and running, JulieDuffek. Have you cleared out your text messages threads? I would also suggest heading into Settings > Apps > Manage Apps > ALL > Messages > Clear Data.
    YosefT_VZW
    Follow us on Twitter @VZWSupport

  • Outbound call failing with cause code 57

    Hi,
    our outbound calls to some numbers getting failed with cause code 57 and in ccsip messages i am getting 403 forbidden.
    i tried to change the payload type to 97 which was 98 but no success.
    the called number is 9-8955900
    the calling number is 8062300
    can any one help me..
    the ccsip messages and ccapi inout debug is..
    509022: *Jan  8 14:23:20.513: :FEATURE_VSA attributes are: feature_name:0,featur                                                                                        e_time:1255632752,feature_id:53127
    509023: *Jan  8 14:23:20.513: //678454/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPr                                                                                        ivate:
       SPI Call Setup Request Is Success; Interface Type=9, FlowMode=1
    509024: *Jan  8 14:23:20.513: //678454/xxxxxxxxxxxx/CCAPI/ccCallSetContext:
       Context=0x4AC5D304
    509025: *Jan  8 14:23:20.517: //678454/xxxxxxxxxxxx/CCAPI/cc_api_call_connected:
       Interface=0x48D4E620, Data Bitmask=0x0, Progress Indication=NULL(0),
       Connection Handle=0
    509026: *Jan  8 14:23:20.517: //678454/xxxxxxxxxxxx/CCAPI/cc_api_call_connected:
       Call Entry(Connected=TRUE, Responsed=TRUE, Retry Count=0)
    509027: *Jan  8 14:23:20.537: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/TCP 192.168.12.190:5060;branch=z9hG4bK6aded64034252
    From: "Asif CIPC" <sip:[email protected]>;tag=2524413~70e9433b-1d79-44ae-9a16-                                                                                        09a52be377c5-22878662
    To: <sip:[email protected]>
    Date: Wed, 08 Jan 2014 14:02:15 GMT
    Call-ID: [email protected]
    Supported: timer,resource-priority,replaces
    Min-SE:  1800
    User-Agent: Cisco-CUCM8.6
    Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE,                                                                                         NOTIFY
    CSeq: 101 INVITE
    Expires: 180
    Allow-Events: presence
    Supported: X-cisco-srtp-fallback
    Supported: Geolocation
    Cisco-Guid: 2031538944-0000065536-0000027607-3188500672
    Session-Expires:  1800
    P-Asserted-Identity: "Asif CIPC" <sip:[email protected]>
    Remote-Party-ID: "Asif CIPC" <sip:[email protected]>;party=calling;screen=yes;                                                                                        privacy=off
    Contact: <sip:[email protected]:5060;transport=tcp>
    Max-Forwards: 70
    Content-Type: application/sdp
    Content-Length: 240
    v=0
    o=CiscoSystemsCCM-SIP 2524413 1 IN IP4 192.168.12.190
    s=SIP Call
    c=IN IP4 192.168.33.5
    t=0 0
    m=audio 17706 RTP/AVP 18 101
    a=rtpmap:18 G729/8000
    a=ptime:20
    a=fmtp:18 annexb=no
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    509028: *Jan  8 14:23:20.553: //-1/7916D3000000/CCAPI/cc_api_display_ie_subfield                                                                                        s:
       cc_api_call_setup_ind_common:
       cisco-username=3064
       ----- ccCallInfo IE subfields -----
       cisco-ani=3064
       cisco-anitype=0
       cisco-aniplan=0
       cisco-anipi=0
       cisco-anisi=1
       dest=8955900
       cisco-desttype=0
       cisco-destplan=0
       cisco-rdie=FFFFFFFF
       cisco-rdn=
       cisco-rdntype=0
       cisco-rdnplan=0
       cisco-rdnpi=-1
       cisco-rdnsi=-1
       cisco-redirectreason=-1   fwd_final_type =0
       final_redirectNumber =
       hunt_group_timeout =0
    509029: *Jan  8 14:23:20.553: /
    ASICO-DAM#/-1/7916D3000000/CCAPI/cc_api_call_setup_ind_common:
       Interface=0x48667600, Call Info(
       Calling Number=3064,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=User,                                                                                         Passed, Presentation=Allowed),
       Called Number=8955900(TON=Unknown, NPI=Unknown),
       Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=T                                                                                        RUE,
       Incoming Dial-peer=1, Progress Indication=NULL(0), Calling IE Present=TRUE,
       Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALS                                                                                        E), Call Id=678455
    509030: *Jan  8 14:23:20.553: //-1/7916D3000000/CCAPI/ccCheckClipClir:
       In: Calling Number=3064(TON=Unknown, NPI=Unknown, Screening=User, Passed, Pre                                                                                        sentation=Allowed)
    509031: *Jan  8 14:23:20.553: //-1/7916D3000000/CCAPI/ccCheckClipClir:
       Out: Calling Number=3064(TON=Unknown, NPI=Unknown, Screening=User, Passed, Pr                                                                                        esentation=Allowed)
    509032: *Jan  8 14:23:20.553: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509033: *Jan  8 14:23:20.553: :cc_get_feature_vsa malloc success
    509034: *Jan  8 14:23:20.553: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509035: *Jan  8 14:23:20.553:  cc_get_feature_vsa count is 13
    509036: *Jan  8 14:23:20.553: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509037: *Jan  8 14:23:20.553: :FEATURE_VSA attributes are: feature_name:0,featur                                                                                        e_time:1255634768,feature_id:53128
    509038: *Jan  8 14:23:20.553: //678455/7916D3000000/CCAPI/cc_api_call_setup_ind_                                                                                        common:
       Set Up Event Sent;
       Call Info(Calling Number=3064(TON=Unknown, NPI=Unknown, Screening=User, Passe                                                                                        d, Presentation=Allowed),
       Called Number=8955900(TON=Unknown, NPI=Unknown))
    509039: *Jan  8 14:23:20.557: //678455/7916D3000000/CCAPI/cc_process_call_setup_                                                                                        ind:
       Event=0x48EE6200
    509040: *Jan  8 14:23:20.557: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
       Try with the demoted called number 8955900
    509041: *Jan  8 14:23:20.561: //678455/7916D3000000/CCAPI/ccCallSetContext:
       Context=0x476E35D0
    509042: *Jan  8 14:23:20.561: //678455/7916D3000000/CCAPI/cc_process_call_setup_                                                                                        ind:
       >>>>CCAPI handed cid 678455 with tag 1 to app "_ManagedAppProcess_Default"
    509043: *Jan  8 14:23:20.561: //678455/7916D3000000/CCAPI/ccCallProceeding:
       Progress Indication=NULL(0)
    509044: *Jan  8 14:23:20.565: //678455/7916D3000000/CCAPI/ccCallSetupRequest:
       Destination=, Calling IE Present=TRUE, Mode=0,
       Outgoing Dial-peer=20, Params=0x476E4AE0, Progress Indication=NULL(0)
    509045: *Jan  8 14:23:20.565: //678455/7916D3000000/CCAPI/ccCheckClipClir:
       In: Calling Number=8062301(TON=Unknown, NPI=Unknown, Screening=User, Passed,                                                                                         Presentation=Allowed)
    509046: *Jan  8 14:23:20.565: //678455/7916D3000000/CCAPI/ccCheckClipClir:
       Out: Calling Number=8062301(TON=Unknown, NPI=Unknown, Screening=User, Passed,                                                                                         Presentation=Allowed)
    509047: *Jan  8 14:23:20.565: //678455/7916D3000000/CCAPI/ccCallSetupRequest:
       Destination Pattern=.T, Called Number=8955900, Digit Strip=FALSE
    509048: *Jan  8 14:23:20.565: //678455/7916D3000000/CCAPI/ccCallSetupRequest:
       Calling Number=8062301(TON=Unknown, NPI=Unknown, Screening=User, Passed, Pres                                                                                        entation=Allowed),
       Called Number=8955900(TON=Unknown, NPI=Unknown),
       Redirect Number=, Display Info=Asif CIPC
       Account Number=3064, Final Destination Flag=TRUE,
       Guid=7916D300-0001-0000-0000-6BD7BE0CA8C0, Outgoing Dial-peer=20
    509049: *Jan  8 14:23:20.565: //678455/7916D3000000/CCAPI/cc_api_display_ie_subf                                                                                        ields:
       ccCallSetupRequest:
       cisco-username=3064
       ----- ccCallInfo IE subfields -----
       cisco-ani=8062301
       cisco-anitype=0
       cisco-aniplan=0
       cisco-anipi=0
       cisco-anisi=1
       dest=8955900
       cisco-desttype=0
       cisco-destplan=0
       cisco-rdie=FFFFFFFF
       cisco-rdn=
       cisco-rdntype=0
       cisco-rdnplan=0
       cisco-rdnpi=-1
       cisco-rdnsi=-1
       cisco-redirectreason=-1   fwd_final_type =0
       final_redirectNumber =
       hunt_group_timeout =0
    509050: *Jan  8 14:23:20.569: //678455/7916D3000000/CCAPI/ccIFCallSetupRequestPr                                                                                        ivate:
       Interface=0x48667600, Interface Type=3, Destination=, Mode=0x0,
       Call Params(Calling Number=8062301,(Calling Name=Asif CIPC)(TON=Unknown, NPI=                                                                                        Unknown, Screening=User, Passed, Presentation=Allowed),
       Called Number=8955900(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
       Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=20                                                                                        , Call Count On=FALSE,
       Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Appl                                                                                        ication Call Id=)
    509051: *Jan  8 14:23:20.569: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509052: *Jan  8 14:23:20.569: :cc_get_feature_vsa malloc success
    509053: *Jan  8 14:23:20.569: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509054: *Jan  8 14:23:20.569:  cc_get_feature_vsa count is 14
    509055: *Jan  8 14:23:20.569: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509056: *Jan  8 14:23:20.569: :FEATURE_VSA attributes are: feature_name:0,featur                                                                                        e_time:1255629840,feature_id:53129
    509057: *Jan  8 14:23:20.569: //678456/7916D3000000/CCAPI/ccIFCallSetupRequestPr                                                                                        ivate:
       SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1
    509058: *Jan  8 14:23:20.573: //678456/7916D3000000/CCAPI/ccCallSetContext:
       Context=0x476E4A90
    509059: *Jan  8 14:23:20.573: //678455/7916D3000000/CCAPI/ccSaveDialpeerTag:
       Outgoing Dial-peer=20
    509060: *Jan  8 14:23:20.577: //678456/7916D3000000/CCAPI/cc_api_call_proceeding                                                                                        :
       Interface=0x48667600, Progress Indication=NULL(0)
    509061: *Jan  8 14:23:20.585: //678456/7916D3000000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 172..XX.XX.XX:5060;branch=z9hG4bK67CD11AE
    Remote-Party-ID: "Asif CIPC" <sip:[email protected]>;party=calling;screen=ye                                                                                        s;privacy=off
    From: "Asif CIPC" <sip:[email protected]>;tag=EA475228-24AE
    To: <sip:[email protected]>
    Date: Wed, 08 Jan 2014 14:23:20 GMT
    Call-ID: [email protected]
    Supported: timer,resource-priority,replaces,sdp-anat
    Min-SE:  1800
    Cisco-Guid: 2031538944-0000065536-0000027607-3188500672
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIF                                                                                        Y, INFO, REGISTER
    CSeq: 101 INVITE
    Timestamp: 1389191000
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Max-Forwards: 69
    Session-Expires:  1800
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 274
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 5380 1731 IN IP4 172..XX.XX.XX
    s=SIP Call
    c=IN IP4 172..XX.XX.XX
    t=0 0
    m=audio 19502 RTP/AVP 18 101
    c=IN IP4 172..XX.XX.XX
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=yes
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:20
    509062: *Jan  8 14:23:20.589: //678455/7916D3000000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    SIP/2.0 100 Trying
    Via: SIP/2.0/TCP 192.168.12.190:5060;branch=z9hG4bK6aded64034252
    From: "Asif CIPC" <sip:[email protected]>;tag=2524413~70e9433b-1d79-44ae-9a16-                                                                                        09a52be377c5-22878662
    To: <sip:[email protected]>
    Date: Wed, 08 Jan 2014 14:23:20 GMT
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Allow-Events: kpml, telephone-event
    Server: Cisco-SIPGateway/IOS-12.x
    Content-Length: 0
    509063: *Jan  8 14:23:20.605: //678456/7916D3000000/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 100 Trying
    Via: SIP/2.0/UDP 172..XX.XX.XX:5060;branch=z9hG4bK67CD11AE
    Call-ID: [email protected]
    From: "Asif CIPC"<sip:[email protected]>;tag=EA475228-24AE
    To: <sip:[email protected]>
    CSeq: 101 INVITE
    Content-Length: 0
    509064: *Jan  8 14:23:20.677: //678456/7916D3000000/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 403 Forbidden
    Via: SIP/2.0/UDP 172..XX.XX.XX:5060;branch=z9hG4bK67CD11AE
    Record-Route: <sip:10.205.20.50:5060;transport=udp;lr>
    Call-ID: [email protected]
    From: "Asif CIPC"<sip:[email protected]>;tag=EA475228-24AE
    To: <sip:[email protected]>;tag=sbc0804k7h28358
    CSeq: 101 INVITE
    Reason: Q.850;cause=57;text="bearer capability not authorized"
    Warning: 399 - "SoftX3000 R601-CCU Rel POS:[3103] Release from CR"
    Content-Length: 0
    509065: *Jan  8 14:23:20.677: //678456/7916D3000000/CCAPI/cc_api_call_disconnect                                                                                        ed:
       Cause Value=57, Interface=0x48667600, Call Id=678456
    509066: *Jan  8 14:23:20.677: //678456/7916D3000000/CCAPI/cc_api_call_disconnect                                                                                        ed:
       Call Entry(Responsed=TRUE, Cause Value=57, Retry Count=0)
    509067: *Jan  8 14:23:20.681: //678455/7916D3000000/CCAPI/ccCallReleaseResources                                                                                        :
       release reserved xcoding resource.
    509068: *Jan  8 14:23:20.681: //678456/7916D3000000/CCAPI/ccCallSetAAA_Accountin                                                                                        g:
       Accounting=0, Call Id=678456
    509069: *Jan  8 14:23:20.681: //678456/7916D3000000/CCAPI/ccCallDisconnect:
       Cause Value=57, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect C                                                                                        ause=57)
    509070: *Jan  8 14:23:20.681: //678456/7916D3000000/CCAPI/ccCallDisconnect:
       Cause Value=57, Call Entry(Responsed=TRUE, Cause Value=57)
    509071: *Jan  8 14:23:20.681: //678456/7916D3000000/CCAPI/cc_api_call_disconnect                                                                                        _done:
       Disposition=0, Interface=0x48667600, Tag=0x0, Call Id=678456,
       Call Entry(Disconnect Cause=57, Voice Class Cause Code=0, Retry Count=0)
    509072: *Jan  8 14:23:20.685: //678456/7916D3000000/CCAPI/cc_api_call_disconnect                                                                                        _done:
       Call Disconnect Event Sent
    509073: *Jan  8 14:23:20.685: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
    509074: *Jan  8 14:23:20.685: :cc_free_feature_vsa freeing 4AD76408
    509075: *Jan  8 14:23:20.685: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
    509076: *Jan  8 14:23:20.685:  vsacount in free is 13
    509077: *Jan  8 14:23:20.685: //678455/7916D3000000/CCAPI/ccCallDisconnect:
       Cause Value=57, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect C                                                                                        ause=0)
    509078: *Jan  8 14:23:20.689: //678455/7916D3000000/CCAPI/ccCallDisconnect:
       Cause Value=57, Call Entry(Responsed=TRUE, Cause Value=57)
    509079: *Jan  8 14:23:20.693: //678455/7916D3000000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    SIP/2.0 403 Forbidden
    Via: SIP/2.0/TCP 192.168.12.190:5060;branch=z9hG4bK6aded64034252
    From: "Asif CIPC" <sip:[email protected]>;tag=2524413~70e9433b-1d79-44ae-9a16-                                                                                        09a52be377c5-22878662
    To: <sip:[email protected]>;tag=EA475298-106E
    Date: Wed, 08 Jan 2014 14:23:20 GMT
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Allow-Events: kpml, telephone-event
    Server: Cisco-SIPGateway/IOS-12.x
    Reason: Q.850;cause=57
    Content-Length: 0
    509080: *Jan  8 14:23:20.693: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    ACK sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 172..XX.XX.XX:5060;branch=z9hG4bK67CD11AE
    From: "Asif CIPC" <sip:[email protected]>;tag=EA475228-24AE
    To: <sip:[email protected]>;tag=sbc0804k7h28358
    Date: Wed, 08 Jan 2014 14:23:20 GMT
    Call-ID: [email protected]
    Max-Forwards: 70
    CSeq: 101 ACK
    Allow-Events: telephone-event
    Content-Length: 0
    509081: *Jan  8 14:23:20.709: //678454/xxxxxxxxxxxx/CCAPI/ccCallDisconnect:
       Cause Value=0, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Ca                                                                                        use=0)
    509082: *Jan  8 14:23:20.709: //678454/xxxxxxxxxxxx/CCAPI/ccCallDisconnect:
       Cause Value=0, Call Entry(Responsed=TRUE, Cause Value=0)
    509083: *Jan  8 14:23:20.709: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    ACK sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/TCP 192.168.12.190:5060;branch=z9hG4bK6aded64034252
    From: "Asif CIPC" <sip:[email protected]>;tag=2524413~70e9433b-1d79-44ae-9a16-                                                                                        09a52be377c5-22878662
    To: <sip:[email protected]>;tag=EA475298-106E
    Date: Wed, 08 Jan 2014 14:02:15 GMT
    Call-ID: [email protected]
    Max-Forwards: 70
    CSeq: 101 ACK
    Allow-Events: presence
    Content-Length: 0
    509084: *Jan  8 14:23:20.713: //678455/7916D3000000/CCAPI/cc_api_call_disconnect                                                                                        _done:
       Disposition=0, Interface=0x48667600, Tag=0x0, Call Id=678455,
       Call Entry(Disconnect Cause=57, Voice Class Cause Code=0, Retry Count=0)
    509085: *Jan  8 14:23:20.717: //678455/7916D3000000/CCAPI/cc_api_call_disconnect                                                                                        _done:
       Call Disconnect Event Sent
    509086: *Jan  8 14:23:20.717: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
    509087: *Jan  8 14:23:20.717: :cc_free_feature_vsa freeing 4AD77748
    509088: *Jan  8 14:23:20.717: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
    509089: *Jan  8 14:23:20.717:  vsacount in free is 12
    509090: *Jan  8 14:23:20.721: //678454/xxxxxxxxxxxx/CCAPI/cc_api_call_disconnect                                                                                        _done:
       Disposition=0, Interface=0x48D4E620, Tag=0x0, Call Id=678454,
       Call Entry(Disconnect Cause=0, Voice Class Cause Code=0, Retry Count=0)
    509091: *Jan  8 14:23:20.721: //678454/xxxxxxxxxxxx/CCAPI/cc_api_call_disconnect                                                                                        _done:
       Call Disconnect Event Sent
    509092: *Jan  8 14:23:20.721: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
    509093: *Jan  8 14:23:20.721: :cc_free_feature_vsa freeing 4AD76F68
    509094: *Jan  8 14:23:20.721: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
    509095: *Jan  8 14:23:20.721:  vsacount in free is 11
    509096: *Jan  8 14:23:20.725: //-1/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPrivat                                                                                        e:
       Interface=0x48D4E620, Interface Type=9, Destination=0.0.0.0, Mode=0x0,
       Call Params(Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screeni                                                                                        ng=Not Screened, Presentation=Allowed),
       Called Number=(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
       Subscriber Type Str=, FinalDestinationFlag=FALSE, Outgoing Dial-peer=0, Call                                                                                         Count On=FALSE,
       Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Appl                                                                                        ication Call Id=)
    509097: *Jan  8 14:23:20.725: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509098: *Jan  8 14:23:20.725: :cc_get_feature_vsa malloc success
    509099: *Jan  8 14:23:20.725: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509100: *Jan  8 14:23:20.729:  cc_get_feature_vsa count is 12
    509101: *Jan  8 14:23:20.729: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509102: *Jan  8 14:23:20.729: :FEATURE_VSA attributes are: feature_name:0,featur                                                                                        e_time:1255632752,feature_id:53130
    509103: *Jan  8 14:23:20.729: //678457/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPr                                                                                        ivate:
       SPI Call Setup Request Is Success; Interface Type=9, FlowMode=1
    509104: *Jan  8 14:23:20.729: //678457/xxxxxxxxxxxx/CCAPI/ccCallSetContext:
       Context=0x4AC5D1C4
    509105: *Jan  8 14:23:20.729: //678457/xxxxxxxxxxxx/CCAPI/cc_api_call_connected:
       Interface=0x48D4E620, Data Bitmask=0x0, Progress Indication=NULL(0),
       Connection Handle=0
    509106: *Jan  8 14:23:20.729: //678457/xxxxxxxxxxxx/CCAPI/cc_api_call_connected:
       Call Entry(Connected=TRUE, Responsed=TRUE, Retry Count=0)
    509107: *Jan  8 14:23:20.753: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/TCP 192.168.12.190:5060;branch=z9hG4bK6adee3e42a498
    From: "Asif CIPC" <sip:[email protected]>;tag=2524415~70e9433b-1d79-44ae-9a16-                                                                                        09a52be377c5-22878662
    To: <sip:[email protected]>
    Date: Wed, 08 Jan 2014 14:02:15 GMT
    Call-ID: [email protected]
    Supported: timer,resource-priority,replaces
    Min-SE:  1800
    User-Agent: Cisco-CUCM8.6
    Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE,                                                                                         NOTIFY
    CSeq: 101 INVITE
    Expires: 180
    Allow-Events: presence
    Supported: X-cisco-srtp-fallback
    Supported: Geolocation
    Cisco-Guid: 2031538944-0000065536-0000027608-3188500672
    Session-Expires:  1800
    P-Asserted-Identity: "Asif CIPC" <sip:[email protected]>
    Remote-Party-ID: "Asif CIPC" <sip:[email protected]>;party=calling;screen=yes;                                                                                        privacy=off
    Contact: <sip:[email protected]:5060;transport=tcp>
    Max-Forwards: 70
    Content-Type: application/sdp
    Content-Length: 240
    v=0
    o=CiscoSystemsCCM-SIP 2524415 1 IN IP4 192.168.12.190
    s=SIP Call
    c=IN IP4 192.168.33.5
    t=0 0
    m=audio 17932 RTP/AVP 18 101
    a=rtpmap:18 G729/8000
    a=ptime:20
    a=fmtp:18 annexb=no
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    509108: *Jan  8 14:23:20.769: //-1/7916D3000000/CCAPI/cc_api_display_ie_subfield                                                                                        s:
       cc_api_call_setup_ind_common:
       cisco-username=3064
       ----- ccCallInfo IE subfields -----
       cisco-ani=3064
       cisco-anitype=0
       cisco-aniplan=0
       cisco-anipi=0
       cisco-anisi=1
       dest=8955900
       cisco-desttype=0
       cisco-destplan=0
       cisco-rdie=FFFFFFFF
       cisco-rdn=
       cisco-rdntype=0
       cisco-rdnplan=0
       cisco-rdnpi=-1
       cisco-rdnsi=-1
       cisco-redirectreason=-1   fwd_final_type =0
       final_redirectNumber =
       hunt_group_timeout =0
    509109: *Jan  8 14:23:20.769: //-1/7916D3000000/CCAPI/cc_api_call_setup_ind_comm                                                                                        on:
       Interface=0x48667600, Call Info(
       Calling Number=3064,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=User,                                                                                         Passed, Presentation=Allowed),
       Called Number=8955900(TON=Unknown, NPI=Unknown),
       Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=T                                                                                        RUE,
       Incoming Dial-peer=1, Progress Indication=NULL(0), Calling IE Present=TRUE,
       Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALS                                                                                        E), Call Id=678458
    509110: *Jan  8 14:23:20.769: //-1/7916D3000000/CCAPI/ccCheckClipClir:
       In: Calling Number=3064(TON=Unknown, NPI=Unknown, Screening=User, Passed, Pre                                                                                        sentation=Allowed)
    509111: *Jan  8 14:23:20.773: //-1/7916D3000000/CCAPI/ccCheckClipClir:
       Out: Calling Number=3064(TON=Unknown, NPI=Unknown, Screening=User, Passed, Pr                                                                                        esentation=Allowed)
    509112: *Jan  8 14:23:20.773: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509113: *Jan  8 14:23:20.773: :cc_get_feature_vsa malloc success
    509114: *Jan  8 14:23:20.773: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509115: *Jan  8 14:23:20.773:  cc_get_feature_vsa count is 13
    509116: *Jan  8 14:23:20.773: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509117: *Jan  8 14:23:20.773: :FEATURE_VSA attributes are: feature_name:0,featur                                                                                        e_time:1255634768,feature_id:53131
    509118: *Jan  8 14:23:20.773: //678458/7916D3000000/CCAPI/cc_api_call_setup_ind_                                                                                        common:
       Set Up Event Sent;
       Call Info(Calling Number=3064(TON=Unknown, NPI=Unknown, Screening=User, Passe                                                                                        d, Presentation=Allowed),
       Called Number=8955900(TON=Unknown, NPI=Unknown))
    509119: *Jan  8 14:23:20.773: //678458/7916D3000000/CCAPI/cc_process_call_setup_                                                                                        ind:
       Event=0x48EE6200
    509120: *Jan  8 14:23:20.777: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
       Try with the demoted called number 8955900
    509121: *Jan  8 14:23:20.777: //678458/7916D3000000/CCAPI/ccCallSetContext:
       Context=0x476D5190
    509122: *Jan  8 14:23:20.777: //678458/7916D3000000/CCAPI/cc_process_call_setup_                                                                                        ind:
       >>>>CCAPI handed cid 678458 with tag 1 to app "_ManagedAppProcess_Default"
    509123: *Jan  8 14:23:20.777: //678458/7916D3000000/CCAPI/ccCallProceeding:
       Progress Indication=NULL(0)
    509124: *Jan  8 14:23:20.781: //678458/7916D3000000/CCAPI/ccCallSetupRequest:
       Destination=, Calling IE Present=TRUE, Mode=0,
       Outgoing Dial-peer=20, Params=0x476DCE60, Progress Indication=NULL(0)
    509125: *Jan  8 14:23:20.781: //678458/7916D3000000/CCAPI/ccCheckClipClir:
       In: Calling Number=8062301(TON=Unknown, NPI=Unknown, Screening=User, Passed,                                                                                         Presentation=Allowed)
    509126: *Jan  8 14:23:20.781: //678458/7916D3000000/CCAPI/ccCheckClipClir:
       Out: Calling Number=8062301(TON=Unknown, NPI=Unknown, Screening=User, Passed,                                                                                         Presentation=Allowed)
    509127: *Jan  8 14:23:20.785: //678458/7916D3000000/CCAPI/ccCallSetupRequest:
       Destination Pattern=.T, Called Number=8955900, Digit Strip=FALSE
    509128: *Jan  8 14:23:20.785: //678458/7916D3000000/CCAPI/ccCallSetupRequest:
       Calling Number=8062301(TON=Unknown, NPI=Unknown, Screening=User, Passed, Pres                                                                                        entation=Allowed),
       Called Number=8955900(TON=Unknown, NPI=Unknown),
       Redirect Number=, Display Info=Asif CIPC
       Account Number=3064, Final Destination Flag=TRUE,
       Guid=7916D300-0001-0000-0000-6BD8BE0CA8C0, Outgoing Dial-peer=20
    509129: *Jan  8 14:23:20.785: //678458/7916D3000000/CCAPI/cc_api_display_ie_subf                                                                                        ields:
       ccCallSetupRequest:
       cisco-username=3064
       ----- ccCallInfo IE subfields -----
       cisco-ani=8062301
       cisco-anitype=0
       cisco-aniplan=0
       cisco-anipi=0
       cisco-anisi=1
       dest=8955900
       cisco-desttype=0
       cisco-destplan=0
       cisco-rdie=FFFFFFFF
       cisco-rdn=
       cisco-rdntype=0
       cisco-rdnplan=0
       cisco-rdnpi=-1
       cisco-rdnsi=-1
       cisco-redirectreason=-1   fwd_final_type =0
       final_redirectNumber =
       hunt_group_timeout =0
    509130: *Jan  8 14:23:20.785: //678458/7916D3000000/CCAPI/ccIFCallSetupRequestPr                                                                                        ivate:
       Interface=0x48667600, Interface Type=3, Destination=, Mode=0x0,
       Call Params(Calling Number=8062301,(Calling Name=Asif CIPC)(TON=Unknown, NPI=                                                                                        Unknown, Screening=User, Passed, Presentation=Allowed),
       Called Number=8955900(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
       Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=20                                                                                        , Call Count On=FALSE,
       Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Appl                                                                                        ication Call Id=)
    509131: *Jan  8 14:23:20.785: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509132: *Jan  8 14:23:20.785: :cc_get_feature_vsa malloc success
    509133: *Jan  8 14:23:20.785: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509134: *Jan  8 14:23:20.785:  cc_get_feature_vsa count is 14
    509135: *Jan  8 14:23:20.785: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    509136: *Jan  8 14:23:20.785: :FEATURE_VSA attributes are: feature_name:0,featur                                                                                        e_time:1255629840,feature_id:53132
    509137: *Jan  8 14:23:20.789: //678459/7916D3000000/CCAPI/ccIFCallSetupRequestPr                                                                                        ivate:
       SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1
    509138: *Jan  8 14:23:20.789: //678459/7916D3000000/CCAPI/ccCallSetContext:
       Context=0x476DCE10
    509139: *Jan  8 14:23:20.789: //678458/7916D3000000/CCAPI/ccSaveDialpeerTag:
       Outgoing Dial-peer=20
    509140: *Jan  8 14:23:20.793: //678459/7916D3000000/CCAPI/cc_api_call_proceeding                                                                                        :
       Interface=0x48667600, Progress Indication=NULL(0)
    509141: *Jan  8 14:23:20.801: //678459/7916D3000000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 172..XX.XX.XX:5060;branch=z9hG4bK67CE197B
    Remote-Party-ID: "Asif CIPC" <sip:[email protected]>;party=calling;screen=ye                                                                                        s;privacy=off
    From: "Asif CIPC" <sip:[email protected]>;tag=EA475304-26C5
    To: <sip:[email protected]>
    Date: Wed, 08 Jan 2014 14:23:20 GMT
    Call-ID: [email protected]
    Supported: timer,resource-priority,replaces,sdp-anat
    Min-SE:  1800
    Cisco-Guid: 2031538944-0000065536-0000027608-3188500672
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIF                                                                                        Y, INFO, REGISTER
    CSeq: 101 INVITE
    Timestamp: 1389191000
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Max-Forwards: 69
    Session-Expires:  1800
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 274
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 9218 9584 IN IP4 172..XX.XX.XX
    s=SIP Call
    c=IN IP4 172..XX.XX.XX
    t=0 0
    m=audio 16868 RTP/AVP 18 101
    c=IN IP4 172..XX.XX.XX
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=yes
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:20
    509142: *Jan  8 14:23:20.805: //678458/7916D3000000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    509163: *Jan  8 14:23:20.945: //678458/7916D3000000/CCAPI/cc_api_call_disconnect                                                                                        _done:
       Call Disconnect Event Sent
    509164: *Jan  8 14:23:20.945: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
    509165: *Jan  8 14:23:20.945: :cc_free_feature_vsa freeing 4AD77748
    509166: *Jan  8 14:23:20.945: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
    509167: *Jan  8 14:23:20.945:  vsacount in free is 12
    509168: *Jan  8 14:23:32.517: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    OPTIONS sip:172..XX.XX.XX:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.205.20.50:5060;branch=z9hG4bKhs8ak5845ch42p7cff35k1ap3T02677
    Call-ID: isbchh12748fcsk155w58p151kks36fww24s@SoftX3000
    From: <sip:172..XX.XX.XX:5060>;tag=sbc0806pa8fp7w7
    To: <sip:172..XX.XX.XX>
    CSeq: 1 OPTIONS
    Max-Forwards: 70
    Content-Length: 0
    509169: *Jan  8 14:23:32.525: //678460/495AB05FB187/SIP/Msg/ccsipDisplayMsg:
    Sent:
    SIP/2.0 200 OK
    Via: SIP/2.0/UDP 10.205.20.50:5060;branch=z9hG4bKhs8ak5845ch42p7cff35k1ap3T02677
    From: <sip:172..XX.XX.XX:5060>;tag=sbc0806pa8fp7w7
    To: <sip:172..XX.XX.XX>;tag=EA4780CC-582
    Date: Wed, 08 Jan 2014 14:23:32 GMT
    Call-ID: isbchh12748fcsk155w58p151kks36fww24s@SoftX3000
    Server: Cisco-SIPGateway/IOS-12.x
    CSeq: 1 OPTIONS
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIF                                                                                        Y, INFO, REGISTER
    Allow-Events: telephone-event
    Accept: application/sdp
    Supported: timer,resource-priority,replaces,sdp-anat
    Content-Type: application/sdp
    Content-Length: 170
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 8937 2437 IN IP4 172..XX.XX.XX
    s=SIP Call
    c=IN IP4 192.168.33.5
    t=0 0
    m=audio 0 RTP/AVP 18 0 8 9 4 2 15 3
    c=IN IP4 192.168.33.5
    u all
    and the config is
    voice service voip
    ip address trusted list
      ipv4 172.XX.XX.XX 255.255.255.255
    dtmf-interworking rtp-nte
    allow-connections h323 to h323
    allow-connections h323 to sip
    allow-connections sip to h323
    allow-connections sip to sip
    no supplementary-service h450.2
    no supplementary-service h450.3
    no supplementary-service h225-notify cid-update
    redirect ip2ip
    h323
      session transport udp
      h245 tunnel disable
    sip
      session transport tcp
      rel1xx disable
      registrar server expires max 3600 min 3500
      transport switch udp tcp
      redirect contact order best-match
      asymmetric payload full
      g729 annexb-all
    voice class codec 1
    codec preference 1 g711alaw
    codec preference 2 g711ulaw
    codec preference 3 g729r8
    codec preference 4 g729br8
    and the dial-peer through the calls will go out is
    dial-peer voice 20 voip
    description ***TO-OUT***
    translation-profile outgoing OUT-SIP
    destination-pattern .T
    progress_ind progress enable 8
    rtp payload-type cisco-codec-fax-ack 112
    rtp payload-type nte 97
    session protocol sipv2
    session target ipv4:10.205.20.50:5060
    session transport udp
    voice-class codec 1
    voice-class sip bind control source-interface FastEthernet0/0
    voice-class sip bind media source-interface FastEthernet0/0
    dtmf-relay rtp-nte
    no vad

    Hi Nadeem,
    our setup is like
                                                                vpn link
    call manager ------head office(router)----------------------------------brach router(gateway)------------------ip phone(branch)
    The call flow is
                                                                                                                  sip
    IP Phone---->brach GW-------------->call manager------------------>branch GW------------------->ITSP
    there is no subscriber at branch side, so the outbound call should travel to call manager at head office and then get exit from branch gateway to ITSP through sip line.

  • Cause Code - Structure for Plant Maintenance Notification

    Dear firends,
    I am trying to create cause code group structure for a notification as follows,
    --> Superior Level Cause Code Group ( XXXX)
                        - -> Cause Code Group (XXXX-SUB)
                                       - -> Cause Code ... (1010)
    In standard SAP we can create a Cause code group for a catalog then assign the Cause codes to the Cause code groups then assign to the Catalog profile ...and the structure looks like as follows (AS IS)
            - -> Cause Code Group(XXXX-SUB)
                                       - -> Cause Code ...(1010)
    But in my case i need to add one more level above the "Cause Code Group" as shown below ( TO BE)
    --> Superior Level Cause Code Group ( XXXX)
                        - -> Cause Code Group (XXXX-SUB)
                                       - -> Cause Code ... (1010)
    Please assist me is there any way to accomplish this requirement through user exit or something else.Thanks.
    Regards,
    MJ.
    Edited by: MJ Masi on Sep 23, 2009 10:43 PM

    Babu,
    Do the Divisions have its own Equipment base?          - Ans  : NO
    Do they create Notification for the same Equipment?   - ANS : YES
    So, lets take the case 2 you mentioned ...
    Case2:
    If they are creating notification for a same equipment (EQ01 is common for all Divisions), you can create Defect code group with Division Name CHEMDEF1, CHEMDEF2,... BIODEF1, BIODEF2... etc ...
    User has to select appropriate Defect code group and defect code.... If he enters Def code as Cause code group system will populate caused relevant for particular Def Code ...
    Problem here is lets say the Defect Code Group CHEMDEF1 has two defect code A010 & A020 ,
                                                                                  CHEMDEF2 has three defect code B010, B020 & B030.
    I would like to bring this Defect Code Group CHEMDEF1 & CHEMDEF2 under DIV1 and Defect Code Group BIODEF1 & BIODEF2 under DIV2.
    Example : The structure should look like this ..
                    - DIV1  ( Superior level needs to be added on the Structure)  - Will it be possible ?
                            - CHEMDEF1  ( Defect Code Group)
                                           - A010 ( Defect Code)
                                           - A020( Defect Code)
                            - CHEMDEF2( Defect Code Group)
                                           - B010( Defect Code)
                                           - B020( Defect Code)
                                           - B030( Defect Code)
                    - DIV2 ( Superior level needs to be added on the Structure)  - Will it be possible ?
                            - BIODEF1
                                           - C010
                                           - C020
                            - BIODEF2
                                           - D010
                                           - D020
                                           - D030
    Please let me know.Thanks.
    Regards,
    MJ Masi

  • Object Code Short Text,Cause Code Short text and Problem Code Short Text..?

    Dear All,
    can any one help me in finding of Object Part Code Short text,Problem Code short text and Cause code short text fields....in which table it will be storing/function module to get this...?
    Thankx in Advance....

    hi,
    you want for which object??
    all the short text stored in the text table like
    T001t ( it starts with T and ends with T )
    cheers,
    sasi

  • Tables for Damage Codes, Cause Code & Defects

    Dear Masters,
    I require the tables that store the damage codes, cause codes and defects assigned to a particular maintenance notification.
    I require this in the form of printing a Maintenance order.
    This is a kind of urgent. Please do help. Thanks in advance.
    Chin2.

    Dear Friends,
    Thanks for your quick reply, I had my problem solved with your replies
    Thanks once again
    Chin2

  • SIP message cause code help

    Hello,
    I am currently using an AS5400 with IOS version c5400-is-mz.124-19.bin
    Is there a way to remove or modify the Q.850 information in a SIP message?
    Sent:
    SIP/2.0 500 Internal Server Error
    Via: SIP/2.0/UDP IP.IP.IP.IP:5060;branch=z9hG4bK_1584620887_3359_1
    From: "Anonymous" <sip:[email protected]:5060>;tag=1584620887_C
    To: sip:[email protected]:5060;tag=531C24F0-E57
    Date: Wed, 07 Apr 2010 19:03:35 GMT
    Call-ID: sbcsipuac.2_IP.IP.IP.IP_b03sb13_1_2010040716044947_1584620887_435758
    Server: Cisco-SIPGateway/IOS-12.x
    CSeq: 1005 INVITE
    Allow-Events: telephone-event
    Reason: Q.850;cause=16
    Content-Length: 0
    Our switch was programmed poorly and sends back cause 16 for every call.
    Is there any way to change it to 34? or remove it altogether?
    I've tried setting sip-status and pstn-cause on sip-ua but only able to modify the SIP message, not the Q.850 message.
    Any help would be greatly appreciated.
    Thank you in advance.

    I'm not sure but try this:
    To map a Q.850 call-disconnect cause code to a different Q.850 call-disconnect cause code, use the
    q850-cause command in application-map configuration mode. To disable the code-to-code mapping, use
    the no form of this command.
    q850-cause code-id q850-cause code-id
    no q850-cause code-id q850-cause code-id
    The following example maps cause code 34 to cause code 17:
    Router(config)# application
    Router(config-app)# map
    Router(config-app-map)# q850-cause 34 q850-cause 17

  • Keep trying to send a message and it wont go through i keep getting a message that says network problems cause code :3 what does that mean

    keep trying to send a message and it wont go through I keep getting a message pop up that says network problems cause code :3 what does this mean

    SMS Error: Cause Code 3, Error Code 2

  • HTC incredible 2 Cause Code: 97 Error Class: 3

    I am getting a SMS error code - Cause Code: 97 Error Class 3.....anyone had this problem. I can get texts, but cannot send them..and also cannot make phone calls????????  Please help

        Lets ensure your text messages are up and running, JulieDuffek. Have you cleared out your text messages threads? I would also suggest heading into Settings > Apps > Manage Apps > ALL > Messages > Clear Data.
    YosefT_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Problem with Itunes 9.1 on Windows 7

    Hi all Problem with the 9.1 version of itunes. I download the update and everything went ok and till i reboot the pc and gave me this messages. "Apple sync notifier "The program can't start corefundation.dll missing from this computer". Trying to fix

  • Problem with Windows Vista, PC Suite and E90

    PC Config: SO: Microsoft Windows Vista Business TabletPC (ENG Language)(with all the Updates for the SO). Nokia: PC Suite 6.84.10.3 Phone: Nokia E90 Comunicator with firmware V07.24.0.3 -12/06/07 - Nokia E90-42 After installing the PC Suite and estab

  • Annoyed by iPhoto's lack of event folders

    Hey Everyone, Typical Apple......some things are absolutely amazing, some things are absolutely stupid. Love iPhoto. Hate iPhoto. I love the concept of Events, I hate how rigid they are. I want to make ONE event entitled "Summer Vacation" that encomp

  • Query on "serve servlet by class name" in weblogic

    Dear Experts, We are migrating our application from WebSphere application server/Jboss application server to Weblogic Application server 10.3 I have the below query, One of our applications uses a number of servlets and all of them are not declared i

  • Run Script Logic/Package from a different Application

    Hi Experts, I have a scenario here that I need to run a package from a different application. For example, I'm in Finance application and I need to run a package which is in the LegalApp application, is it possible to call that package or perhaps run