Tag

outbound campaign

tutorial: use astercrm & asterisk for broadcasting

By | asterCRM | 6 Comments

in this tutorial, it will guide u how to broadcast your message in asterisk and astercrm.

1. add outbound context in asterisk

add the following content in your dialplan (like extensions.conf)

[for-outbound] exten => _X.,1,Dial(SIP/yourtrunk/${EXTEN},45)
exten => _X.,n,Hangup

exten => h,1,NoOp(${DIALSTATUS})
exten => h,n,Hangup

here  “yourtrunk” should be defined in your sip conf file, or you can use other trunk you have, like IAX2, ZAP, DAHD I…

2. add inbound context in asterisk

add the following content in your dialplan (like extensions.conf)

[for-collection] exten => _X.,1,NoOp(${EXTEN})
exten => _X.,Background(YOURMESSAGE)
exten => _X.,n,Hangup

exten => 1,1,Queue(1000); means when customer press 1 when it’s playing, he will reach your queue 1000

exten => h,1,Hangup()

then it will look like

context

3. add group in astercrm

login astercrm as admin, then go to extension->group admin, add a group for this broadcasting project

group

4. add campaign in astercrm

then go to diallist->campaign, add a campaign, in outcontext and incontext, we will put the context we added before, for-outbound and for-collection

campaign

5. upload the diallist

you can upload a excel/cvs file to diallist, or you can insert record to diallist table using your script

numbers.csv

numbers

import:

import

6. start the dialer

then u can go to dialer page to enable the campaign,  also you can set a limitation of  the max outbound calls there

dialer

7. set a time limitation

if you only want it dial at spcific time, you can add a time package for the campaign. first add some time

diallist -> worktime

worktime

then create a work time package and add the worktime in

worktime_package

then set the campaign to use this work time package

campaign_with_worktime

8. check dial result

go to diallist -> dialedlist, you can find the result

dialedlist

hope this post can help you create ur first broadcasting campaign, and u can also improve on this, like u can use a script to insert to diallist automaticly or set some survey so customer can press in their option when listening to your message.