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,Hangupexten => 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,Hangupexten => 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
3. add group in astercrm
login astercrm as admin, then go to extension->group admin, add a group for this broadcasting project
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
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
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
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
then create a work time package and add the worktime in
then set the campaign to use this work time package
8. check dial result
go to diallist -> dialedlist, you can find the result
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.
http://forums.astercc.org
I have installed Asterisk server and Astercrm and they all work and i did all the steps in this tutorial but it still can’t broadcast, i think i have a problem here
exten => _X.,1,Dial(SIP/yourtrunk/${EXTEN},45)
can you explain to me what does ”yourtrunk” mean ? what should i put there ? SIP ?
sip trunk you defined in sip.conf
[general]
context=internal
allowguest=no
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=no
disallow=all
allow=ulaw
alwaysauthreject=yes
canreinvite=no
nat=yes
session-timers=refuse
localnet=192.168.1.0/255.255.255.0
[067708514]
type=friend
host=dynamic
username=abd
secret=abd
context=internal
[060449811]
type=friend
host=dynamic
username=ta
secret=ta
context=internal
here is my sip.conf file how can i define it please ?
067708514 and 060449811 is your trunk name
so in my extensions.conf file i should add this
[for-outbound]
exten => _X.,1,Dial(SIP/060449811 /${EXTEN},45)
exten => _X.,n,Hangup
exten => _X.,1,Dial(SIP/067708514 /${EXTEN},45)
exten => _X.,n,Hangup
exten => h,1,NoOp(${DIALSTATUS})
exten => h,n,Hangup