VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
greg at gregandeva.net Guest
|
Posted: Thu Jun 18, 2015 12:28 pm Post subject: [asterisk-users] setting outbound caller ID |
|
|
I have found several places where it is explained how to do this, and I have got the following setup, but it is not working (the provider claims they are not getting a proper caller ID setting from me).
I have a number of extensions that are shorthand, that I will use one of as an example (real number hidden):
exten => 2473,1,Macro(callout,##########)
Then this (actual number hidden again):
[macro-callout]
exten => s,1,Set(CALLERID(num)=##########)
exten => s,2,Set(CALLERID(name)=##########)
exten => s,3,Set(CALLERID(all)="##########" <##########>)
exten => s,4,Dial(${PROVIDER}/"1${ARG1}",30,tr)
exten => s,n,Hangup()
I have also tried setting only the number with the same results:
exten => s,1,Set(CALLERID(num)=##########)
exten => s,2,Dial .....
When I dial that extension, the call goes through, but the caller ID is not correct at the destination.
Does this look right?
My provider claims that I am somehow sending an old number that doesn't appear anywhere in my /etc/asterisk directory where the config files are kept. I think they are screwed up somehow, but I wanted to see if anyone can see anything obviously wrong with what I am doing here, because unless I can find something wrong with my Asterisk configuration, I am probably going to have to change providers and port my number again (I just moved from a POTS provider Century Link to a VOIP provider).
Thank you,
--Greg |
|
Back to top |
|
|
darcy at Vex.Net Guest
|
Posted: Thu Jun 18, 2015 12:43 pm Post subject: [asterisk-users] setting outbound caller ID |
|
|
On Thu, 18 Jun 2015 11:27:08 -0600
Greg Woods <greg@gregandeva.net> wrote:
Quote: | [macro-callout]
exten => s,1,Set(CALLERID(num)=##########)
exten => s,2,Set(CALLERID(name)=##########)
exten => s,3,Set(CALLERID(all)="##########" <##########>)
exten => s,4,Dial(${PROVIDER}/"1${ARG1}",30,tr)
exten => s,n,Hangup()
|
CALLERID is a read only variable. Set the information in sip.conf in
the extension.
callerid=NAME <5555551212>
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
VoIP: sip:darcy@Vex.Net
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
kenner at gnat.com Guest
|
Posted: Thu Jun 18, 2015 12:45 pm Post subject: [asterisk-users] setting outbound caller ID |
|
|
Quote: | CALLERID is a read only variable.
|
That's not correct. I set it all over the place in my dialplan.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
support at drdos.info Guest
|
Posted: Thu Jun 18, 2015 12:46 pm Post subject: [asterisk-users] setting outbound caller ID |
|
|
Quote: | Quote: | Quote: | On Jun 18, 2015, at 1:27 PM, Greg Woods greg@gregandeva.net wrote:
I have also tried setting only the number with the same results:
|
|
|
Quote: | Quote: | Quote: | exten => s,1,Set(CALLERID(num)=##########)
exten => s,2,Dial .....
|
|
|
I'm using:
exten => s,n,Set(CALLERID(number)=269XXXXXXX)
Also check your sip.conf, you may have hard coded the old phone number there, I believe you can do that on SIP and IAX trunks.
Doug
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
darcy at Vex.Net Guest
|
|
Back to top |
|
|
support at drdos.info Guest
|
Posted: Thu Jun 18, 2015 12:57 pm Post subject: [asterisk-users] setting outbound caller ID |
|
|
Quote: | Quote: | Quote: | On Jun 18, 2015, at 1:47 PM, D'Arcy J.M. Cain darcy@Vex.Net wrote:
|
|
|
Quote: | Quote: | Quote: | Then someone needs to fix this page.
|
|
|
They do indeed!
Doug
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
kujensen at gmail.com Guest
|
Posted: Thu Jun 18, 2015 12:58 pm Post subject: [asterisk-users] setting outbound caller ID |
|
|
Set(CALLERID(number)=XXXXXXXXXX) works here.
Also check with your VoIP provider what format they want for the number. (I believe) most accept a 10-digit number, but I seem to remember reading about the odd provider that wanted a leading "1".
On Thu, Jun 18, 2015 at 11:47 AM, D'Arcy J.M. Cain <darcy@vex.net (darcy@vex.net)> wrote:
|
|
Back to top |
|
|
mark.wiater at greybea... Guest
|
Posted: Thu Jun 18, 2015 1:07 pm Post subject: [asterisk-users] setting outbound caller ID |
|
|
On 6/18/2015 1:27 PM, Greg Woods wrote:
Quote: | My provider claims that I am somehow sending an old number that
doesn't appear anywhere
| <snip>
Quote: | (I just moved from a POTS provider Century Link to a VOIP provider).
|
Set(CALLERID(number)=${var}) works fine for me.
Perhaps some debugging on the channel could help? Set sip debug if it's
a sip trunk?
You'll at least get to see the callerid that Asterisk is putting on the
trunk. That might even help your new VOIP provider do some digging if
could provide the debugging output.
Mark
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
greg at gregandeva.net Guest
|
Posted: Thu Jun 18, 2015 1:45 pm Post subject: [asterisk-users] setting outbound caller ID |
|
|
Thanks very much for all the responses. I now have a few more things to try.
I should have noted that I am using IAX2 rather than SIP to connect to my provider. I do have some internal phones that use SIP to connect to my asterisk box, as well as some corded phones connected through a Digium DAHDI-driven card.
I am certain that the old number that is showing up as my caller ID is not present in any of my config files (that includes sip.conf and iax.conf, everything in the /etc/asterisk directory has been checked).
A few things I will try tonight when I get home:
1) Turning on iax debugging (don't know why I didn't think of that)
2) Setting callerid= in the outbound dialing context in iax.conf
3) Trying a leading "1" on the number I use in the Set(CALLERID(num) call.
Since this is a thread that someone down the road is sure to stumble across, I will post results whether or not I am successful.
--Greg |
|
Back to top |
|
|
darcy at Vex.Net Guest
|
Posted: Thu Jun 18, 2015 2:01 pm Post subject: [asterisk-users] setting outbound caller ID |
|
|
On Thu, 18 Jun 2015 11:58:34 -0600
Kai-Uwe Jensen <kujensen@gmail.com> wrote:
Quote: | Set(CALLERID(number)=XXXXXXXXXX) works here.
|
I believe you and everyone else that says so but...
<RANT>
We should be able to set up our systems based on the documentation and
not by "let's try random things and see what works.
</RANT>
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
VoIP: sip:darcy@Vex.Net
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
lists at venturevoip.com Guest
|
|
Back to top |
|
|
greg at gregandeva.net Guest
|
Posted: Thu Jun 18, 2015 3:03 pm Post subject: [asterisk-users] setting outbound caller ID |
|
|
On Thu, Jun 18, 2015 at 1:26 PM, Matt Riddell <lists@venturevoip.com (lists@venturevoip.com)> wrote:
Quote: | Did you buy the number from your carrier? Maybe it’s set on their side for the trunk.
|
That's what I think too, but they are denying this. I think what's happening is they have a customer service guy interpreting logs (probably incorrectly).
When I had a Century Link POTS line, I had a second number through my VOIP provider that I only used rarely. The VOIP provider was used only as a backup to cover any POTS outages (there were few), and occasionally to make a second call when my wife was already on the line. The VOIP service was very inexpensive (only $5/month plus a small per-minute fee when I actually used it), plus they directly support asterisk use by supporting IAX connections. Then I decided I wanted to save some money, since Century Link was costing more than 8 times as much as the VOIP service, and while I was thinking about this, a problem developed with the internal wiring in the house (I did the demark test to confirm the CL line was OK). Since I didn't want to pay to have the wiring repaired, I moved my main number over to the VOIP provider. Worked great for inbound calls.
So now I have two numbers, and didn't want to pay for the extra one, so I dropped the original VOIP number. That's where the trouble started. I want my regular number that I ported over to be the one that shows in caller ID, but the old one that doesn't even work any more was showing up instead. I don't see any way that could be happening unless the provider is supplying it, but they deny it.
At any rate, if I can figure out the right way to set the caller ID explicitly, and assuming they honor it if I do, then none of this will matter.
--Greg
--Greg |
|
Back to top |
|
|
lists at venturevoip.com Guest
|
|
Back to top |
|
|
johng at motorolasolut... Guest
|
Posted: Thu Jun 18, 2015 3:57 pm Post subject: [asterisk-users] setting outbound caller ID |
|
|
You may need to set this up with the web portal of your ITSP. My provider allows both caller ID to be passed in via SIP or alternatively to have a pre-provisioned caller ID to be applied to all calls.
John
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Thu Jun 18, 2015 4:37 pm Post subject: [asterisk-users] setting outbound caller ID |
|
|
On Thu, 18 Jun 2015, Matt Riddell wrote:
Quote: | Did you buy the number from your carrier?
|
I prefer using 'rent' instead of 'buy'
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|