Results 1 to 5 of 5

Thread: How to know what caller id that system received?

  1. #1
    khairul Guest

    Default How to know what caller id that system received?

    Hello everyone,
    i need some help to solve my problem.

    i already set the inbound route to receive any DID/CID.
    when the system received the call,
    it should recorded the number into the database.
    when i open the database,
    there are no caller id that had been record.
    so,
    how can i get the caller id number that system received.

  2. #2
    khairul Guest

    Default Please help me..

    Anyone can help me..
    i'm from malaysia.

    what should i do to solve the problem.

  3. #3
    Join Date
    Jul 2008
    Posts
    268

    Default

    Hi khairul,

    I am not sure what CID is used in Malaysia. There are two options - a) you can record the
    line and see what is on the line in terms of Caller ID signalling or b) you can try various
    Caller ID settings on the line and see if there is one that works.

    Caller ID parsing for a FXO trunk can be set near the end of the '/etc/pika/pikagp_aoh.cfg'
    file. The specific field is 'calleridmode'. Possible values for this field include -
    fsk_bellcore, fsk_bt, fsk_etsi, fsk_ntt, dtmf_etsi, dtmf_se_fi, dtmf_dk, dtmf_raw. DTMF mode
    is probably a good one to try first (dtmf_etsi or dtmf_raw). Changing this field requires a
    reboot of asterisk to take affect. In FreePBX this can be done using 'amportal restart' at
    the Linux CLI. Finally, these settings are different than digium's zaptel as Pika uses its
    own channel driver.

  4. #4
    Join Date
    Jul 2008
    Posts
    268

    Default

    Hi khairul,

    Finally in terms of setting up call progress for Malaysia here is what I think the file '/etc/pika/inccpa.cfg' should include instead of its defaults. (as per www.3amsystems.com)

    [callpa_settings]
    pattern0=cp_ringback
    pattern1=cp_busy
    pattern2=cp_fastbusy
    pattern3=cp_contdial
    pattern4=cp_ringback2

    [cp_ringback]
    type=1
    tolerance=150
    cadences=1
    states=4
    ignorestates=1
    state0=400
    state1=200
    state2=400
    state3=2000

    [cp_busy]
    type=2
    tolerance=30
    cadences=3
    states=2
    ignorestates=1
    state0=500
    state1=500

    [cp_fastbusy]
    type=3
    tolerance=30
    cadences=3
    states=2
    ignorestates=1
    state0=500
    state1=250

    [cp_contdial]
    type=5
    tolerance=30
    cadences=1
    states=1
    ignorestates=0
    state0=5000

    [cp_ringback2]
    type=1
    tolerance=150
    cadences=1
    states=4
    ignorestates=1
    state0=1000
    state1=3000
    state2=1000
    state3=5000

  5. #5
    khairul Guest

    Default

    thanks for the reply.
    now i already solve the problem.

    but can u help me about this problem.

    i already can read the pika database and get a table from it.
    this database are linked with my system,
    where my system will read the database and take the callerID from it.
    but in current situation,
    it only can take the data after we finish the conversation (terminate).

    the callerID will be set to some indicator,
    where this indicator will blinking if it received the call from some callerID.
    what i need now some real time data in order to make my system function.

    any suggestion how to do it..?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •