Set up caller ID from API

I have multiple “caller id” numbers set up and authorized for use in my callcentric account.  Is there a way to have the Voicent gateway request use of these different numbers as the outbound caller ID on various outgoing calls made from the gateway?

In the SIP advanced tab, there are a few check boxes about caller ID, such as use P-Asserted-Identity. Try to enable them one at a time to see which one works.

Ultimately, your VOIP service has to support these options. In your case, it seems callcentric uses P-Asserted-Identity based on their online info: “Once verified you may configure your IP PBX to pass any verified caller ID or any DID on your account during an outbound call (within the SIP INVITE message) by including the P-ASSERTED-IDENTITY, P-PREFERRED-IDENTITY, or REMOTE-PARTY-ID headers within the outbound call which will override any default Caller ID settings you have on your account.”

How does Voicent software set the caller ID info?

Voicent software sets the SIP INVITE message based on your caller ID settings. It could be the FROM field of the message or P-Asserted-Identity field.

How does Voicent software know which caller ID to use? So for campaigns, it is based on your selection of the caller ID (the last step of the campaign wizard). If you are making manual outbound calls using Agent Dashboard, the caller ID is based on your selection in your agent profile.

To add a caller ID to your system, go to Setup, Account, Caller ID to add. If you are using our cloud service, you need to make sure your plan has Caller ID feature.

I’m using only the Voicent Gateway and currently just the CallText function. In essence, I’m performing on demand dialing because I supply that function with the phone numbers to call and the TTS messages to relay. This information is pulled one-at-a-time from a separate database. Then, at a later time I use the CallStatus function to check the status of each individual call and use that result to update the database. I’m looking for a way to also include the correct outgoing caller ID that corresponds to the current call while still maintaining the simplistic approach of using the CallText and CallStatus functions. The idea of using a campaign seems to be overly complex and not a good fit for my particular project. Is it possible to use these functions and also have a selectable caller ID using the P-Asserted-Identity?

Yes. You need to include the parameter (callerid) in your API.

The included sample class does not include this parameter. But it should be pretty simple to update the calltext function to include this parameter and pass down to the lower level calls.

Ok, just to make sure that I understand what you’ve stated in your last email. I need to modify the CallText function (similar to what I’ve included below) so that the callerid parameter can be passed down to lower level calls. My changes are included below:

Public Function CallText(ByVal phoneno As String, ByVal callerid As String, ByVal text As String, ByVal selfdelete As Boolean)

Dim urlstr As String = "/ocall/callreqHandler.jsp"

' setting the http post string

Dim poststr As String = "info=Simple Text Call " + phoneno

poststr += "&phoneno=" + phoneno

poststr += "&callerid=" + callerid

poststr += "&firstocc=0"

poststr += "&selfdelete="

If (selfdelete) Then

poststr += "1"


poststr += "0"

End If

poststr += "&txt=" + text

' Send Call Request

Dim rcstr As String = PostToGateway(urlstr, poststr)

Return GetRequestID(rcstr)

End Function

That’s correct.

Posted in Auto Dialer, Developer |

Improve Email delivery

Many email servers (SMTP) nowadays may not deliver your emails if your bulk emails are considered by their spam checker. This is especially true if your email servers are from your ISP. In addition, even your SMTP server sends your email out, your email may still landed in people’s spam folder if it is considered to be spammy.

To improve your bulk email delivery, please consider the following:

  • Reduce spam keywords in your email subject and body. In general, sales related words like FREE, DISCOUNT etc are to be avoided. You should google it to find out more keywords to avoid
  • Increase the idle time between sending emails. You can set the value when you start your email campaign. If you have a small list, you should keep that value large, like 5 to 10 minutes
  • Personalize your email. Use an email template that utilize contact’s CRM fields. In Voicent’s email designer, you can insert these CRM fields to the email template, and these values will be replaced with actual values of the contacts.

Posted in BroadcastByEmail, General |

Using command line

Here are info one of our customers want to share:

I have narrowed this down to the message in the voc. When I use one of the existing messages that have been working with other voc files, this voc file imports and starts.

When I set up a new message it does not work. The existing message setups play a wav then, for human pickup, use text to speech and a confirmation item of press 1 and transfer. The new message just plays a wav and then does the press 1 and transfer.

Ughh. I think I just found it. The campaigns are run using the Task Scheduler under credentials for taskrunner. I’ve been creating the message under my userid. For some reason, messages are stored in folders by userid. The message settings have to be copied from one copy of stdmsgs.txt to the other.

Could you document this somewhere please?

Thank you. We appreciate it very much.

Posted in Auto Dialer, Developer |