1. Create a new context:
![](https://linkedip.zendesk.com/attachments/token/s2byUjnyPeD7WLdnJ2rNirK3B/?name=inline1463634740.png)
2. A new trunk is created with the following characteristics:
•Host: 127.0.0.1
•Default User: any name
•Secret: any password
![](https://linkedip.zendesk.com/attachments/token/r7OgZgXXVwttgNMC3pEC6e4HO/?name=inline1735322319.png)
The new trunk is assigned the context created earlier called “auto_context”
3 .Create an incoming route with the following configuration:
![](https://linkedip.zendesk.com/attachments/token/1bXPfnpyDjAQZi1fdFEScjyVq/?name=inline501280273.png)
It will set the following actions:
• Answer – answer the call
• Wait – which must be given sufficient time for the completion IVR
![](https://linkedip.zendesk.com/attachments/token/ECQPjbb1AlVPcR5ihC9OOmT6j/?name=inline-618407617.png)
4. An IVR campaign is configured through the “Motion Bull” (IVR CAMPAING)
but first we must create an IVR project with the following configuration:
• Start: Start block
![](https://linkedip.zendesk.com/attachments/token/uaiqYgRBpgh6vOP2n6DAVktiT/?name=inline-1916060702.png)
• SendSMS for sending SMS messages
![](https://linkedip.zendesk.com/attachments/token/Fd4CUDDBYnDNHV60NLbudtOMr/?name=inline-970873050.png)
This block is configured:
- Label: the name of the block depending on the functionality
- Account: account SMS messaging which send sms
- To: The number of the phone where it goes the message, but in this case we place a variable-PHONE} {XMD that will contain the message from the list
- Text: Is the field to write the body text of the SMS
Hangup:
![](https://linkedip.zendesk.com/attachments/token/nLRIci5EB1kY1uWIUSoWOhxqX/?name=inline1418337436.png)
![](https://linkedip.zendesk.com/attachments/token/piWRoKZpGhkQ4KL3YxenlwohU/?name=inline1974723618.png)
Then configure the IVR campaign which will simulate a call to execute the mass mailing of messages:
![](https://linkedip.zendesk.com/attachments/token/qlXkBwL06uOVn0tjfvZDInhUI/?name=inline1805010951.png)
Where in:
Trunk: configure the trunk “auto_trunk”
Cally square: configure the project previously created “IVR_SMS_Campaing” Like2:53 pm Finally, you must add the list which is going to be used, add it to the campaign and activate the campaign.
![](https://linkedip.zendesk.com/attachments/token/LV2UQgcG6kWqjL3VPef9sawHk/?name=inline-370909402.png)