Ho to Identify unique calls in voip log file..

Discussion in 'VOIP' started by yogi, Jul 20, 2007.

  1. yogi

    yogi Guest

    Hi all,
    I am trying to parse the Q931 logs. I want to identify the unique
    calls in them
    For example, see the following snapshot from one of the logs...

    Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net 133806164: Jul 6
    14:34:32.324: ISDN Se7/5:23 Q931: TX -> SETUP pd = 8 callref = 0x1F0F
    Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net 133806165: Bearer
    Capability i = 0x8090A2
    Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net
    133806166: Standard = CCITT
    Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net
    133806167: Transfer Capability = Speech
    Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net
    133806168: Transfer Mode = Circuit
    Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net
    133806169: Transfer Rate = 64 kbit/s
    Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net 133806170:
    Channel ID i = 0xA98384



    Jul 6 14:34:50 dcaas5450.1.bw.dca.vantageip.net 133806903: Jul 6
    14:34:50.856: ISDN Se7/2:23 Q931: RX <- SETUP pd = 8 callref =
    0x1F0F

    Jul 6 14:35:21 dcaas5450.1.bw.dca.vantageip.net 133808597: Jul 6
    14:35:21.156: ISDN Se7/3:23 Q931: RX <- SETUP pd = 8 callref =
    0x1F0F


    Jul 6 14:35:25.068: ISDN Se7/5:23 Q931: RX <- SETUP pd = 8
    callref = 0x1F0F
    Bearer Capability i = 0x9090A2
    Standard = CCITT
    Transfer Capability = 3.1kHz Audio
    Transfer Mode = Circuit
    Transfer Rate = 64 kbit/s
    Channel ID i = 0xA18381
    Preferred, Channel 1
    Facility i = 0x9F8B0100A10F020


    Jul 6 14:35:43 dcaas5450.1.bw.dca.vantageip.net 133809662: Jul 6
    14:35:42.208: ISDN Se7/5:23 Q931: TX -> RELEASE_COMP pd = 8 callref =
    0x1F0F

    Jul 6 14:36:25 dcaas5450.1.bw.dca.vantageip.net 133812164: Jul 6
    14:36:25.076: ISDN Se7/3:23 Q931: TX -> RELEASE_COMP pd = 8 callref =
    0x9F0F

    Jul 6 14:36:36 dcaas5450.1.bw.dca.vantageip.net 133813262: Jul 6
    14:36:36.464: ISDN Se7/5:23 Q931: TX -> RELEASE_COMP pd = 8 callref =
    0x9F0F

    Jul 6 14:38:22 dcaas5450.1.bw.dca.vantageip.net 133821523: Jul 6
    14:38:22.093: ISDN Se7/2:23 Q931: TX -> RELEASE_COMP pd = 8 callref =
    0x9F0F


    First I assumed that we can use the combination of PRI and callref
    value to be unique. But in this case One TX call is overlapping with
    one RX call having same callref (0x1F0F) and same PRI value
    (Se7/5:23).... Now what to do in this case..?

    thanks
    Yogesh
    yogi, Jul 20, 2007
    #1
    1. Advertising

  2. yogi

    Someone Guest

    The callref is unique for the duration of the call. The SETUP is the start
    and the RELEASE_COMP is the end of it. After this, the callref can be
    reused.


    "yogi" <> wrote in message
    news:...
    > Hi all,
    > I am trying to parse the Q931 logs. I want to identify the unique
    > calls in them
    > For example, see the following snapshot from one of the logs...
    >
    > Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net 133806164: Jul 6
    > 14:34:32.324: ISDN Se7/5:23 Q931: TX -> SETUP pd = 8 callref = 0x1F0F
    > Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net 133806165: Bearer
    > Capability i = 0x8090A2
    > Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net
    > 133806166: Standard = CCITT
    > Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net
    > 133806167: Transfer Capability = Speech
    > Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net
    > 133806168: Transfer Mode = Circuit
    > Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net
    > 133806169: Transfer Rate = 64 kbit/s
    > Jul 6 14:34:32 dcaas5450.1.bw.dca.vantageip.net 133806170:
    > Channel ID i = 0xA98384
    >
    >
    >
    > Jul 6 14:34:50 dcaas5450.1.bw.dca.vantageip.net 133806903: Jul 6
    > 14:34:50.856: ISDN Se7/2:23 Q931: RX <- SETUP pd = 8 callref =
    > 0x1F0F
    >
    > Jul 6 14:35:21 dcaas5450.1.bw.dca.vantageip.net 133808597: Jul 6
    > 14:35:21.156: ISDN Se7/3:23 Q931: RX <- SETUP pd = 8 callref =
    > 0x1F0F
    >
    >
    > Jul 6 14:35:25.068: ISDN Se7/5:23 Q931: RX <- SETUP pd = 8
    > callref = 0x1F0F
    > Bearer Capability i = 0x9090A2
    > Standard = CCITT
    > Transfer Capability = 3.1kHz Audio
    > Transfer Mode = Circuit
    > Transfer Rate = 64 kbit/s
    > Channel ID i = 0xA18381
    > Preferred, Channel 1
    > Facility i = 0x9F8B0100A10F020
    >
    >
    > Jul 6 14:35:43 dcaas5450.1.bw.dca.vantageip.net 133809662: Jul 6
    > 14:35:42.208: ISDN Se7/5:23 Q931: TX -> RELEASE_COMP pd = 8 callref =
    > 0x1F0F
    >
    > Jul 6 14:36:25 dcaas5450.1.bw.dca.vantageip.net 133812164: Jul 6
    > 14:36:25.076: ISDN Se7/3:23 Q931: TX -> RELEASE_COMP pd = 8 callref =
    > 0x9F0F
    >
    > Jul 6 14:36:36 dcaas5450.1.bw.dca.vantageip.net 133813262: Jul 6
    > 14:36:36.464: ISDN Se7/5:23 Q931: TX -> RELEASE_COMP pd = 8 callref =
    > 0x9F0F
    >
    > Jul 6 14:38:22 dcaas5450.1.bw.dca.vantageip.net 133821523: Jul 6
    > 14:38:22.093: ISDN Se7/2:23 Q931: TX -> RELEASE_COMP pd = 8 callref =
    > 0x9F0F
    >
    >
    > First I assumed that we can use the combination of PRI and callref
    > value to be unique. But in this case One TX call is overlapping with
    > one RX call having same callref (0x1F0F) and same PRI value
    > (Se7/5:23).... Now what to do in this case..?
    >
    > thanks
    > Yogesh
    >
    Someone, Jul 21, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    3
    Views:
    671
    Jon Wang
    Jan 14, 2005
  2. Dan Foxley
    Replies:
    0
    Views:
    541
    Dan Foxley
    Jul 25, 2005
  3. ¬Stephen Hammond
    Replies:
    10
    Views:
    5,901
  4. Marc
    Replies:
    2
    Views:
    1,212
  5. yogi
    Replies:
    1
    Views:
    577
Loading...

Share This Page