Re: [asterisk-users] setting outbound caller ID

2015-06-19 Thread A J Stiles
On Thursday 18 Jun 2015, Greg Woods wrote:
> 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

Did you try

exten => s,1,Set(CALLERID(num-pres)=allowed)
  before your
exten => s,n,Set(CALLERID(num)=##)
  ?

Also, note that some providers expect you to supply the full STD code 
including the leading zero; some providers expect you to omit the leading 0; 
while other providers expect you to use the 44  (or equivalent, inbound code 
for whatever country you live in; in which case you must always omit the 
leading 0 from the STD code, as though you were calling home from abroad).

Begin by sending your ident in the same format that your telco use for 
incoming calls, but don't be surprised for a moment if they expect something 
different .

-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

-- 
_
-- 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


Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread Steve Edwards

On Thu, 18 Jun 2015, Matt Riddell wrote:


Did you buy the number from your carrier?


I prefer using 'rent' instead of 'buy' :)

--
Thanks in advance,
-
Steve Edwards   sedwa...@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


Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread John Gilbert
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


Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread Matt Riddell
> 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.

Ok, so just do exten => s,n,Set(CALLERID(all)=“Greg” <5551234>)

https://wiki.asterisk.org/wiki/display/AST/Function_CALLERID

--
Cheers,

Matt Riddell
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)
-- 
_
-- 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

Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread Greg Woods
On Thu, Jun 18, 2015 at 1:26 PM, Matt Riddell  wrote:

> 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
-- 
_
-- 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

Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread Matt Riddell

> On 18Jun, 2015, at 13:44, Greg Woods  wrote:
> 
> 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). 

Did you buy the number from your carrier?  Maybe it’s set on their side for the 
trunk.

--
Cheers,

Matt Riddell
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)



-- 
_
-- 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

Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread D'Arcy J.M. Cain
On Thu, 18 Jun 2015 11:58:34 -0600
Kai-Uwe Jensen  wrote:
> Set(CALLERID(number)=XX) works here.

I believe you and everyone else that says so but...

> > Then someone needs to fix this page.
> >
> > https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variables


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.


-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@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


Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread Greg Woods
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
-- 
_
-- 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

Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread Mark Wiater


On 6/18/2015 1:27 PM, Greg Woods wrote:
My provider claims that I am somehow sending an old number that 
doesn't appear anywhere



(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


Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread Kai-Uwe Jensen
Set(CALLERID(number)=XX) 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  wrote:

> On Thu, 18 Jun 2015 13:45:10 EDT
> ken...@gnat.com (Richard Kenner) wrote:
>
> > > CALLERID is a read only variable.
> >
> > That's not correct.  I set it all over the place in my dialplan.
>
> Then someone needs to fix this page.
>
>
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variables
>
> --
> D'Arcy J.M. Cain
> System Administrator, Vex.Net
> http://www.Vex.Net/ IM:da...@vex.net
> VoIP: sip:da...@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
>
-- 
_
-- 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

Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread Doug Lytle
>>> On Jun 18, 2015, at 1:47 PM, D'Arcy J.M. Cain da...@vex.net wrote:

>>> 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


Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread D'Arcy J.M. Cain
On Thu, 18 Jun 2015 13:45:10 EDT
ken...@gnat.com (Richard Kenner) wrote:

> > CALLERID is a read only variable.  
> 
> That's not correct.  I set it all over the place in my dialplan.

Then someone needs to fix this page.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variables

-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@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


Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread Doug Lytle
>>> On Jun 18, 2015, at 1:27 PM, Greg Woods g...@gregandeva.net wrote:
>>> I have also tried setting only the number with the same results: 

>>> exten => s,1,Set(CALLERID(num)=##) 
>>> exten => s,2,Dial . 


I'm using:

exten => s,n,Set(CALLERID(number)=269XXX)

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


Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread Richard Kenner
> 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


Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread D'Arcy J.M. Cain
On Thu, 18 Jun 2015 11:27:08 -0600
Greg Woods  wrote:
> [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 <551212>


-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@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


[asterisk-users] setting outbound caller ID

2015-06-18 Thread Greg Woods
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
-- 
_
-- 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

[Asterisk-Users] Setting Outbound Caller ID for T1 link

2003-10-14 Thread Nicholas Romero
Can someone Check something out for me here.  I have a PBX behind an
asterisk system connnected via T1.  The PBX is not seeing the caller ID or
ANI coming across from asterisk.  I am setting it explicitly using :

extensions.conf fragment
[macro-dialswitch3]
;  ARG1 Called Number,  Arg2 Caller ID NUM, Arg3 Caller ID
exten => s,1,SetCallerID(${ARG3},a)
exten => s,2,SetAccount(AP${ARG1})
exten => s,3,Macro(startmonitor,${ARG1},${ARG2},${CHANNEL},ib)
exten => s,4,NoOp(${CALLERID})
exten => s,5,Dial(Zap/g4/${ARG1})
exten => s,6,Congestion
exten => s,106,Busy

I
The asterisk box should be acting as the PSTN to the internal switch here.
Am I missing something.


zapta.conf fragment
;This is the t1 to switch3 used for outbound calls
signalling = em_w
group=4
context=outbound
callerid=asreceived
channel => 73-96

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users