Carrier configuration

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Carrier configuration

Postby saccel » Mon Aug 29, 2016 5:43 am

Good morning,
I'm a really newby of asterisk and vicidial

I configured this way my dial plan entry:

exten => _000Z.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _000Z.,n,Dial(${VOICETRADING}/${EXTEN:1},,tTo)
exten => _000Z.,n,Hangup


My VoIP provider i s voicetrading.com

The problem is that instead of my CallerID setted in the campaign option I call customer with different numbers: each call has a different callerID.

Can anyone give me help about this?

thnankyou

saccel
saccel
 
Posts: 3
Joined: Mon Aug 29, 2016 5:37 am

Re: Carrier configuration

Postby ambiorixg12 » Mon Aug 29, 2016 7:50 am

Make sure you carrier allows you to change the caler id, you can try this before the dial string
exten => _000Z.,n,Set(CALLERID(num)=18043025726)

change the numbeer by you callerid
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: Carrier configuration

Postby saccel » Mon Aug 29, 2016 8:53 am

thank you for the reply...so i have to copy/paste this: exten => _000Z.,n,Set(CALLERID(num)=18043025726) on top of what I have in the dial plan entry like this?

exten => _000Z.,n,Set(CALLERID(num)=18043025726)
exten => _000Z.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _000Z.,n,Dial(${VOICETRADING}/${EXTEN:1},,tTo)
exten => _000Z.,n,Hangup


where the number is my callerID?
saccel
 
Posts: 3
Joined: Mon Aug 29, 2016 5:37 am

Re: Carrier configuration

Postby ambiorixg12 » Mon Aug 29, 2016 9:15 am

that wont work, I told you please add the caller id before dial like this

exten => _000Z.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _000Z.,n,Set(CALLERID(num)=18043025726)
exten => _000Z.,n,Dial(${VOICETRADING}/${EXTEN:1},,tTo)
exten => _000Z.,n,Hangup

and replace 18043025726 by your cid number
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: Carrier configuration

Postby saccel » Mon Aug 29, 2016 9:33 am

unfortunately the result is the same.

My provider has always allowed me to set the cid as I want...I don't know why now it seems impossible..
saccel
 
Posts: 3
Joined: Mon Aug 29, 2016 5:37 am

Re: Carrier configuration

Postby ambiorixg12 » Mon Aug 29, 2016 9:36 am

dial directly from a softphone and check if the caller id is passed correctly
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: Carrier configuration

Postby Vince-0 » Mon Aug 29, 2016 12:38 pm

It's probably your call provider causing the problem.
CallerID is set in the campaign, don't to it for the carrier dialplan in case you need to have separate CallerIDs per campaign.

There are two components to callerID, name and number. You are only concerned about the number.

You can put this in your dialplan to show in the Asterisk console what the callerID is set as for each call:
NoOp(**CALLERIDHERE: ${CALLERID(num)} **)

So in your dialplan:
Code: Select all
exten => _000Z.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _000Z.,n,NoOp(**CALLERIDHERE: ${CALLERID(num)} **)
exten => _000Z.,n,Dial(${VOICETRADING}/${EXTEN:1},,tTo)
exten => _000Z.,n,Hangup()
Vince-0
 
Posts: 272
Joined: Fri Mar 02, 2012 4:27 pm
Location: South Africa

Re: Carrier configuration

Postby ambiorixg12 » Mon Aug 29, 2016 7:34 pm

Note fromuser option override any caller id set
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: Carrier configuration

Postby williamconley » Mon Aug 29, 2016 11:25 pm

Any time you experience a problem like this, the first thing you should do is switch to a different carrier to demonstrate whether the problem is with you, or your carrier.

Having more than one carrier is an absolute requirement even if you only use the 2nd carrier once a month for testing ... but our advice is to have three carriers tested capable of handling your full load, and rotate them and use all of them.

This means you'll never be "down" since you have three carriers available. Unless you lose internet, of course. Which can be resolved by having a 2nd network connection (small and cheap, but at least enough to answer calls in an emergency).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 76 guests