How to add dial statuses and tag calls manually

Discussion in 'General' started by wool01, Feb 23, 2010.

  1. wool01

    Joined:
    Feb 23, 2010
    Messages:
    5
    Likes Received:
    0
    Hi to everyone,

    I have elastix 1.6-12 installed. My problem is:

    1. How can i add additional dial statuses aside from those default dial statuses?
    2. How can i tag the calls manually right after the call or after call hangup?

    Normally, elastix will tag automatically those calls like ANSWERED, NO ANSWER, BUSY, etc.. But i need to add extra statuses and tag those call manually. Is there a way to it?

    Any help will be appreciated. Thanks in advance!
     
  2. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Hi and welcome to our Elastix Forum.

    I don't know if it's possible. For me, it's included into the protocol SIP V2, so.....
    Maybe it's possible to change the devstat status (custom dev stat).
    About that, it seems that DEVSTATE is replaced by DEVICE_STATE

    Can you give us an example please?

    Regards
     
  3. wool01

    Joined:
    Feb 23, 2010
    Messages:
    5
    Likes Received:
    0
    Hi danardf, thank you for the quick reply..

    Actually i like to add some call dispositions aside from those default dispos by elastix like "CALLBACK", "DNC or Do Not Call", etc. to be able to use for tagging calls

    normally if the campaign is in autodial and after i received a call, elastix will automatically tag the calls like if the call is being answered, elastix will tag it as "ANSWERED" and if it is busy, elastix will tag it as "BUSY" and so forth.

    Is it possible to manually tag those calls? I mean I will do the tagging like i will tag my received call as "CALLBACK" so i will choose my added dispo "CALLBACK or DNC". The manual tagging will be done right after i hangup the customer.

    Thank you again.
     
  4. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Ok, so it's only for the Call Center database.
    If a call is not answered, or is busy, you would like to do a choice with "DNC" or "CallBack". and if it's "DNC" then add the phone number into the DNC list?

    Regards
     
  5. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
  6. wool01

    Joined:
    Feb 23, 2010
    Messages:
    5
    Likes Received:
    0
    Yes it's only for the call center database.

    Another yes to select a DNC status if the customer dont want to be called his number again and will be added to the DNC list.
     
  7. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    In this case, maybe create a postfix to send a SQL request into the Call Center database. Like that, that can be possible.
     
  8. wool01

    Joined:
    Feb 23, 2010
    Messages:
    5
    Likes Received:
    0
    ok so can you please give me just a little idea on how to create a postfix? just to start with..

    Thanks again!
     
  9. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
  10. wool01

    Joined:
    Feb 23, 2010
    Messages:
    5
    Likes Received:
    0
    thank you for the tip. ok i'll try your suggestion. i'll give you a feedback for the result.

    thanks again ;)
     
  11. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Ok. you can read this link for the mysql request with Asterisk.

    http://www.voip-info.org/wiki/view/Asterisk+cmd+MYSQL

    Little example from this link:
    Code:
    exten => _X.,1,MYSQL(Connect connid localhost dbuser dbpass dbname)
    exten => _X.,2,MYSQL(Query resultid ${connid} SELECT\ scriptname\ from\ mac2pin\ where\ userid=${CALLERIDNAME})
    exten => _X.,3,MYSQL(Fetch fetchid ${resultid} AGIScript)
    exten => _X.,4,GotoIf($[${AGIScript} = NULL]?5:7)
    exten => _X.,5,AGI(${DefaultAGIScript},${EXTEN})
    exten => _X.,6,Goto(_X.,8)
    exten => _X.,7,AGI(${AGIScript},${EXTEN})
    exten => _X.,8,MYSQL(Clear ${resultid})
    exten => _X.,9,MYSQL(Disconnect ${connid})
    exten => _X.,10,Hangup 
    Like this, I think that can be easy to do that what you want.

    At the end of the call, you can dial *9 (or other key), and the custom app send the mysql request. On this example maybe replaced _X, by s, ?
    And why not, sending a beep to confirm the result of the request.

    I'll make like that.
     
  12. mehraz

    Joined:
    Apr 1, 2010
    Messages:
    17
    Likes Received:
    0
    Can anyone help how i can do the dispositions in elastix call center module? in call center dispositions are very important . Otherwise how we will differ the calls which are sold or not sold?>
     

Share This Page