Re: [asterisk-users] Setting outgoing CALLERID without changing CDR(src)

2018-03-29 Thread Daniel Tryba
On Wed, Mar 28, 2018 at 08:16:26PM -0600, Carlos Chavez wrote:
> ?? I thought I had found and answer to this question by using
> CALLERID(ani) but it seems that only works on versions prior to 12.?? On
> Asterisk 13 setting CALLERID(num) before dialing to an external trunk always
> changes CDR(src) to the number you set and the original extension number
> that dialed is lost.?? How are you handling this??? Am I forced to use a
> custom field to keep the original caller number??? My billing software uses
> the src field to get the extension that dialed the call.?? Any tips?

What does your external trunk use as sources for callerID? For example
if your provider supports PAI and sets this headers as callerID, your
problem is solved. Otherwise you could for example use the custom csv
output and set a custom CDR field (that stores the original src) in the
place of src.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Setting outgoing CALLERID without changing CDR(src)

2018-03-28 Thread Carlos Chavez
    I thought I had found and answer to this question by using 
CALLERID(ani) but it seems that only works on versions prior to 12.  On 
Asterisk 13 setting CALLERID(num) before dialing to an external trunk 
always changes CDR(src) to the number you set and the original extension 
number that dialed is lost.  How are you handling this?  Am I forced to 
use a custom field to keep the original caller number?  My billing 
software uses the src field to get the extension that dialed the call.  
Any tips?


--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] setting up callerid

2010-12-22 Thread Axelle
Hi Dave,

 context=openbts
 callerid=473520
I see you are using OpenBTS. To my understanding, OpenBTS does not
support caller ID, so I don't think it can work.
But as I have the same issue as you, I'd be glad to be wrong ! :D Let me know.

Disregard my answer. I just tested the callerid on my OpenBTS and it
worked. So the problem you encounter must be elsewhere.

Regards

Axelle

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

2010-12-19 Thread dave george
When I call from a mobile to mobile (both registered on OPENBTS) the correct
caller ID is passed.  That is the callerid that I set in the callerid=
field.

When calling from openbts to the PSTN the config header is passed.

Thanks,
Dave

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Axelle
Sent: Friday, December 17, 2010 10:49 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] setting up callerid

Hi Dave,


On Thu, Dec 16, 2010 at 1:52 PM, dave george dgeo...@teletoneinc.com
wrote:
 Tried the following but no luck:

 exten = _53.,1,Set(CALLERID(num)=473520)

 exten = _53.,n,Dial(SIP/${ext...@ss74)

 I am still passing IMSI310410381554227 as the CALLERID.

 My peer is setup as follows:

 [IMSI310410381554227]

 canreinvite=no

 type=peer

 context=openbts

 callerid=473520

I see you are using OpenBTS. To my understanding, OpenBTS does not
support caller ID, so I don't think it can work.
But as I have the same issue as you, I'd be glad to be wrong ! :D Let me
know.

Regards

Axelle

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

2010-12-17 Thread Axelle
Hi Dave,


On Thu, Dec 16, 2010 at 1:52 PM, dave george dgeo...@teletoneinc.com wrote:
 Tried the following but no luck:

 exten = _53.,1,Set(CALLERID(num)=473520)

 exten = _53.,n,Dial(SIP/${ext...@ss74)

 I am still passing IMSI310410381554227 as the CALLERID.

 My peer is setup as follows:

 [IMSI310410381554227]

 canreinvite=no

 type=peer

 context=openbts

 callerid=473520

I see you are using OpenBTS. To my understanding, OpenBTS does not
support caller ID, so I don't think it can work.
But as I have the same issue as you, I'd be glad to be wrong ! :D Let me know.

Regards

Axelle

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

2010-12-16 Thread dave george
Tried the following but no luck:

exten = _53.,1,Set(CALLERID(num)=473520)

exten = _53.,n,Dial(SIP/${ext...@ss74)

 

 

I am still passing IMSI310410381554227 as the CALLERID.

 

 

My peer is setup as follows:

[IMSI310410381554227]

canreinvite=no

type=peer

context=openbts

callerid=473520

disallow=all

allow=gsm

host=dynamic

dtmfmode=info

 

 

Thanks,

Dave 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Thorsten
Göllner
Sent: Monday, December 13, 2010 4:44 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] setting up callerid

 



Am 12.12.2010 20:49, schrieb dave george: 

I am using  Asterisk 1.6.2.5-0 running on ubuntu and I have a problem
passing called ID on calls to the PSTN

 

 

 

When I make a call to the PSTN the caller-Id is showing up as
IMSI310410381554227

 

I want the number set in the callerid field to show up.

 

My peer is setup as follows:

[IMSI310410381554227]

canreinvite=no

type=peer

context=openbts

callerid=473520

disallow=all

allow=gsm

host=dynamic

dtmfmode=info

 

I use the following in extensions.conf to dial:

 

exten = _45.,1,Dial(SIP/${ext...@ss72)

 

Thanks,

Dave


Take a look:
http://www.voip-info.org/wiki/view/Asterisk+cmd+SetCallerID

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

2010-12-16 Thread Warren Selby
Dave,

Can you capture the cli output and the sip debug of the call not doing what 
it's supposed to?

Thanks,
--Warren Selby, dCAP

On Dec 16, 2010, at 6:52 AM, dave george dgeo...@teletoneinc.com wrote:

 Tried the following but no luck:
 
 exten = _53.,1,Set(CALLERID(num)=473520)
 
 exten = _53.,n,Dial(SIP/${ext...@ss74)
 
  
 
  
 
 I am still passing IMSI310410381554227 as the CALLERID.
 
  
 
  
 
 My peer is setup as follows:
 
 [IMSI310410381554227]
 
 canreinvite=no
 
 type=peer
 
 context=openbts
 
 callerid=473520
 
 disallow=all
 
 allow=gsm
 
 host=dynamic
 
 dtmfmode=info
 
  
 
  
 
 Thanks,
 
 Dave
 
  
 
 From: asterisk-users-boun...@lists.digium.com 
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Thorsten Göllner
 Sent: Monday, December 13, 2010 4:44 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] setting up callerid
 
  
 
 
 
 Am 12.12.2010 20:49, schrieb dave george:
 
 I am using  Asterisk 1.6.2.5-0 running on ubuntu and I have a problem passing 
 called ID on calls to the PSTN
 
  
 
  
 
  
 
 When I make a call to the PSTN the caller-Id is showing up as  
 IMSI310410381554227
 
  
 
 I want the number set in the callerid field to show up.
 
  
 
 My peer is setup as follows:
 
 [IMSI310410381554227]
 
 canreinvite=no
 
 type=peer
 
 context=openbts
 
 callerid=473520
 
 disallow=all
 
 allow=gsm
 
 host=dynamic
 
 dtmfmode=info
 
  
 
 I use the following in extensions.conf to dial:
 
  
 
 exten = _45.,1,Dial(SIP/${ext...@ss72)
 
  
 
 Thanks,
 
 Dave
 
 
 Take a look:
 http://www.voip-info.org/wiki/view/Asterisk+cmd+SetCallerID
 
 --
 _
 -- 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 up callerid

2010-12-14 Thread dave george
Tried the following but no luck:

exten = _53.,1,Set(CALLERID(num)=473520)

exten = _53.,n,Dial(SIP/${ext...@ss74)

 

 

I am still passing IMSI310410381554227 as the CALLERID.

 

 

My peer is setup as follows:

[IMSI310410381554227]

canreinvite=no

type=peer

context=openbts

callerid=473520

disallow=all

allow=gsm

host=dynamic

dtmfmode=info

 

 

Thanks,

Dave 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Thorsten
Göllner
Sent: Monday, December 13, 2010 4:44 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] setting up callerid

 



Am 12.12.2010 20:49, schrieb dave george: 

I am using  Asterisk 1.6.2.5-0 running on ubuntu and I have a problem
passing called ID on calls to the PSTN

 

 

 

When I make a call to the PSTN the caller-Id is showing up as
IMSI310410381554227

 

I want the number set in the callerid field to show up.

 

My peer is setup as follows:

[IMSI310410381554227]

canreinvite=no

type=peer

context=openbts

callerid=473520

disallow=all

allow=gsm

host=dynamic

dtmfmode=info

 

I use the following in extensions.conf to dial:

 

exten = _45.,1,Dial(SIP/${ext...@ss72)

 

Thanks,

Dave


Take a look:
http://www.voip-info.org/wiki/view/Asterisk+cmd+SetCallerID

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

2010-12-13 Thread Thorsten Göllner


  
  


Am 12.12.2010 20:49, schrieb dave george:

  
  
  
  

  I am using Asterisk 1.6.2.5-0
  running on ubuntu and I have a problem passing called ID
  on calls to the PSTN
  
  
  
  When I make a call to the PSTN
  the caller-Id is showing up as IMSI310410381554227
  
  I want the number set in the
  callerid field to show up.
  
  My peer is setup as follows:
  [IMSI310410381554227]
  canreinvite=no
  type=peer
  context=openbts
  callerid=473520
  disallow=all
  allow=gsm
  host=dynamic
  dtmfmode=info
  
  I use the following in
  extensions.conf to dial:
  
  exten =
  _45.,1,Dial(SIP/${ext...@ss72)
  
  Thanks,
  Dave

  


Take a look:
http://www.voip-info.org/wiki/view/Asterisk+cmd+SetCallerID
  


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

2010-12-12 Thread dave george
I am using  Asterisk 1.6.2.5-0 running on ubuntu and I have a problem
passing called ID on calls to the PSTN

 

 

 

When I make a call to the PSTN the caller-Id is showing up as
IMSI310410381554227

 

I want the number set in the callerid field to show up.

 

My peer is setup as follows:

[IMSI310410381554227]

canreinvite=no

type=peer

context=openbts

callerid=473520

disallow=all

allow=gsm

host=dynamic

dtmfmode=info

 

I use the following in extensions.conf to dial:

 

exten = _45.,1,Dial(SIP/${ext...@ss72)

 

Thanks,

Dave

-- 
_
-- 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 outgoing callerid on when using a PRI

2009-11-14 Thread Jon Moore
Update on my problem.

After a few days of speaking with various folks at ATT, the issue has
been resolved.  When we first ordered our PRI lines, they were
supposed to be without screening tables (per ATT suggestion on how we
can set CID numbers to numbers not associated with the PRI).  However,
this was apparently never done.

So, asterisk is working just fine.  My setting of the callerid is
working just as it should.  ATT is just blocking the number I send,
and instead sending the main billing number on the PRI lines.

-jonathan

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Jon Moore
Hi list.  I've googled around for this, and so far have come up short.

I'm attempting to set the outbound callerid when making a call using
our PRI.  I've talked with ATT (the providor) and they have said the
screening table has been disabled, so anything my phone system sends
for callerid should be passing along.  However, when I make a call,
the primary number assigned on our PRI is showing up, not the value
I've set.

Here is how I'm making the call...

exten = _91NXXNXX,1,Set(CALLERID(all)=Corner Homecare 12703653903)
exten = _91NXXNXX,2,Dial(DAHDI/G2/${EXTEN:1}})

I'll be glad to offer up any debugging information that you might
need, if it will help. I'm using Asterisk 1.6.0.14 and DAHDI 2.2.0.

TIA

-jonathan

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Klaus Darilion
use pri debugging (pri debug span 1) to verify if the data sent on the 
PRI line is correct! (e.g. type on number, ...)

verify with an incoming call and set the same format on outgoing calls.

regards
klaus

Jon Moore schrieb:
 Hi list.  I've googled around for this, and so far have come up short.
 
 I'm attempting to set the outbound callerid when making a call using
 our PRI.  I've talked with ATT (the providor) and they have said the
 screening table has been disabled, so anything my phone system sends
 for callerid should be passing along.  However, when I make a call,
 the primary number assigned on our PRI is showing up, not the value
 I've set.
 
 Here is how I'm making the call...
 
 exten = _91NXXNXX,1,Set(CALLERID(all)=Corner Homecare 12703653903)
 exten = _91NXXNXX,2,Dial(DAHDI/G2/${EXTEN:1}})
 
 I'll be glad to offer up any debugging information that you might
 need, if it will help. I'm using Asterisk 1.6.0.14 and DAHDI 2.2.0.
 
 TIA
 
 -jonathan
 
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 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 --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Jon Moore
On Tue, Nov 10, 2009 at 10:39 AM, Klaus Darilion
klaus.mailingli...@pernau.at wrote:
 use pri debugging (pri debug span 1) to verify if the data sent on the
 PRI line is correct! (e.g. type on number, ...)

 verify with an incoming call and set the same format on outgoing calls.

This is what I see on an incomming call (hopefully, this is right part
of the pri debug

 Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
   Presentation: Presentation allowed of
network provided number (3)  '8124307660' ]

And on my outgoing call..

 Calling Number (len=15) [ Ext: 0  TON: National Number (2)  NPI: 
 ISDN/Telephony Numbering Plan (E.164/E.163) (1)
   Presentation: Presentation permitted, user number 
 not screened (0)  '2703653903' ]

I changed the line in extensions.conf to be SET(CALLERID(ALL)=Corner
Homecare 2703653903)
To match what it appears I'm getting from ATT, only the 10 digit number.

Not sure if it's relevant here, but in /etc/asterisk/chan_dahdi.conf I
have the following:

 pridialplan=unknown
 prilocaldialplan=national


-jonathan

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Doug Lytle
Jon Moore wrote:
 I changed the line in extensions.conf to be SET(CALLERID(ALL)=Corner
 Homecare2703653903)
 To match what it appears I'm getting from ATT, only the 10 digit number.


We've got ATT out of the Detroit area, you can't set callerid name, 
only number.  So, try:

exten = _91NXXNXX,1,Set(CALLERID(number)=12703653903)

Doug


-- 

Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Jon Moore
On Tue, Nov 10, 2009 at 11:43 AM, Doug Lytle supp...@drdos.info wrote:
 Jon Moore wrote:
 I changed the line in extensions.conf to be SET(CALLERID(ALL)=Corner
 Homecare2703653903)
 To match what it appears I'm getting from ATT, only the 10 digit number.


 We've got ATT out of the Detroit area, you can't set callerid name,
 only number.  So, try:

 exten = _91NXXNXX,1,Set(CALLERID(number)=12703653903)

I noticed I had the number wrapped in angle brackets here, and removed
those as well. Still having the issue though.
Thanks for the pointer.

Did you have to provide ATT with a list of numbers you would be
setting, or does it Just Work?

-jonathan

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Danny Nicholas
If all else fails, there's always spoofing.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jon Moore
Sent: Tuesday, November 10, 2009 12:09 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Setting outgoing callerid on when using a PRI

On Tue, Nov 10, 2009 at 11:43 AM, Doug Lytle supp...@drdos.info wrote:
 Jon Moore wrote:
 I changed the line in extensions.conf to be SET(CALLERID(ALL)=Corner
 Homecare2703653903)
 To match what it appears I'm getting from ATT, only the 10 digit number.


 We've got ATT out of the Detroit area, you can't set callerid name,
 only number.  So, try:

 exten = _91NXXNXX,1,Set(CALLERID(number)=12703653903)

I noticed I had the number wrapped in angle brackets here, and removed
those as well. Still having the issue though.
Thanks for the pointer.

Did you have to provide ATT with a list of numbers you would be
setting, or does it Just Work?

-jonathan

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Doug Lytle
Jon Moore wrote:

 Did you have to provide ATT with a list of numbers you would be
 setting, or does it Just Work?



In our Detroit and Indianpolis installs, it just worked.  In our Battle 
Creek installs, we can only set the numbers to DIDs that we directly own.

Doug

-- 

Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Doug Lytle
Jon Moore wrote:
 On Tue, Nov 10, 2009 at 11:43 AM, Doug Lytlesupp...@drdos.info  wrote:

 Jon Moore wrote:
  


Here is what I have in our zaptel.conf

span=1,1,0,esf,b8zs
defaultzone=us
loadzone=us
bchan=1-23
dchan=24

And our zapata.conf:

switchtype=national
context=pri
signalling=pri_cpe
group=1
echocancel=yes
echotraining=yes
echocancelwhenbridged=yes
rxgain=-1.0
txgain=-4.0
busydetect=no
callprogress=no
pridialplan=unknown
usercallerid=yes
callerid=asreceived
channel = 1-23

Doug

-- 

Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Danny Nicholas
Name is controlled by Telco; you publish new number and Telco will provide
name or unknown based on new number.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Doug Lytle
Sent: Tuesday, November 10, 2009 11:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Setting outgoing callerid on when using a PRI

Jon Moore wrote:
 I changed the line in extensions.conf to be SET(CALLERID(ALL)=Corner
 Homecare2703653903)
 To match what it appears I'm getting from ATT, only the 10 digit number.


We've got ATT out of the Detroit area, you can't set callerid name, 
only number.  So, try:

exten = _91NXXNXX,1,Set(CALLERID(number)=12703653903)

Doug


-- 

Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Dave Fullerton
Jon Moore wrote:
 On Tue, Nov 10, 2009 at 11:43 AM, Doug Lytle supp...@drdos.info wrote:
 Jon Moore wrote:
 I changed the line in extensions.conf to be SET(CALLERID(ALL)=Corner
 Homecare2703653903)
 To match what it appears I'm getting from ATT, only the 10 digit number.

 We've got ATT out of the Detroit area, you can't set callerid name,
 only number.  So, try:

 exten = _91NXXNXX,1,Set(CALLERID(number)=12703653903)
 
 I noticed I had the number wrapped in angle brackets here, and removed
 those as well. Still having the issue though.
 Thanks for the pointer.
 
 Did you have to provide ATT with a list of numbers you would be
 setting, or does it Just Work?
 
 -jonathan

I have an ATT PRI out of Holland and it just works. I actually have 
it pass the internal extension number as outbound called ID (which is 4 
digits) when anyone calls my cell phone so I know how to answer and it 
works fine.

This is what I'm using:
  set(CALLERID(num)=1234567890)

Note num and not number I don't know if that was a change from 1.4 
to 1.6 or if Doug mistyped it.


-Dave

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Doug Lytle
Dave Fullerton wrote:

 Note num and not number I don't know if that was a change from 1.4
 to 1.6 or if Doug mistyped it.


Not a mistype.  I've been using number all along, but looking at the 
docs shows that I've been incorrect.  It must concatenate the number 
down to num.  Looks like I've got a little modifying to do this evening:


core show function CALLERID
livonia*CLI
   -= Info about function 'CALLERID' =-

[Syntax]
CALLERID(datatype[,optional-CID])

[Synopsis]
Gets or sets Caller*ID data on the channel.

[Description]
Gets or sets Caller*ID data on the channel.  The allowable datatypes
are all, name, *num*, ANI, DNID, RDNIS.
Uses channel callerid by default or optional callerid, if specified.

Doug

-- 

Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Jason Parker
Doug Lytle wrote:
 Dave Fullerton wrote:
 Note num and not number I don't know if that was a change from 1.4
 to 1.6 or if Doug mistyped it.

 
 Not a mistype.  I've been using number all along, but looking at the 
 docs shows that I've been incorrect.  It must concatenate the number 
 down to num.  Looks like I've got a little modifying to do this evening:
 
 
 core show function CALLERID
 livonia*CLI
-= Info about function 'CALLERID' =-
 
 [Syntax]
 CALLERID(datatype[,optional-CID])
 
 [Synopsis]
 Gets or sets Caller*ID data on the channel.
 
 [Description]
 Gets or sets Caller*ID data on the channel.  The allowable datatypes
 are all, name, *num*, ANI, DNID, RDNIS.
 Uses channel callerid by default or optional callerid, if specified.
 
 Doug
 

The documentation is correct, but the way the check really works, is that it
reads the first 3 chars and matches it to num.

This means that num, number, and numnumnumIloveapplesauce would all
technically match.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Danny Nicholas
But as Captain Hook would say, using number is bad form .  What does not
bite us now will eventually get us in a future update.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jason Parker
Sent: Tuesday, November 10, 2009 1:09 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Setting outgoing callerid on when using a PRI

Doug Lytle wrote:
 Dave Fullerton wrote:
 Note num and not number I don't know if that was a change from 1.4
 to 1.6 or if Doug mistyped it.

 
 Not a mistype.  I've been using number all along, but looking at the 
 docs shows that I've been incorrect.  It must concatenate the number 
 down to num.  Looks like I've got a little modifying to do this evening:
 
 
 core show function CALLERID
 livonia*CLI
-= Info about function 'CALLERID' =-
 
 [Syntax]
 CALLERID(datatype[,optional-CID])
 
 [Synopsis]
 Gets or sets Caller*ID data on the channel.
 
 [Description]
 Gets or sets Caller*ID data on the channel.  The allowable datatypes
 are all, name, *num*, ANI, DNID, RDNIS.
 Uses channel callerid by default or optional callerid, if specified.
 
 Doug
 

The documentation is correct, but the way the check really works, is that it
reads the first 3 chars and matches it to num.

This means that num, number, and numnumnumIloveapplesauce would all
technically match.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Dave Fullerton
Jason Parker wrote:
 Doug Lytle wrote:
 Dave Fullerton wrote:
 Note num and not number I don't know if that was a change from 1.4
 to 1.6 or if Doug mistyped it.

 Not a mistype.  I've been using number all along, but looking at the 
 docs shows that I've been incorrect.  It must concatenate the number 
 down to num.  Looks like I've got a little modifying to do this evening:


 core show function CALLERID
 livonia*CLI
-= Info about function 'CALLERID' =-

 [Syntax]
 CALLERID(datatype[,optional-CID])

 [Synopsis]
 Gets or sets Caller*ID data on the channel.

 [Description]
 Gets or sets Caller*ID data on the channel.  The allowable datatypes
 are all, name, *num*, ANI, DNID, RDNIS.
 Uses channel callerid by default or optional callerid, if specified.

 Doug

 
 The documentation is correct, but the way the check really works, is that it
 reads the first 3 chars and matches it to num.
 
 This means that num, number, and numnumnumIloveapplesauce would all
 technically match.

lol. Love it. I want to use that in my dialplan just to make my 
successor go WTF?

-Dave

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Doug Lytle
Dave Fullerton wrote:

 lol. Love it. I want to use that in my dialplan just to make my
 successor go WTF?



I almost lost a mouth full of coffee!!

*snicker*

Doug



-- 

Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting outgoing callerid on when using a PRI

2009-11-10 Thread Danny Nicholas
I'm gonna put that CALLERID(numWTF) in my dialplan as well...

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Doug Lytle
Sent: Tuesday, November 10, 2009 1:35 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Setting outgoing callerid on when using a PRI

Dave Fullerton wrote:

 lol. Love it. I want to use that in my dialplan just to make my
 successor go WTF?



I almost lost a mouth full of coffee!!

*snicker*

Doug



-- 

Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting the CallerID

2006-11-16 Thread Tobias Wolf
Hi,

Conrad Wood schrieb:
 On Wed, 2006-11-15 at 17:50 +0100, Tobias Wolf wrote:

Thx, for you answer ;)
 I have some trouble with setting my CallerID if i make an international
 Call. No Problems with National Calls, i can set whatever I want. We pay
 for this service but our telephone provider was not able to state clear,
 wether the number we set on an international call should be shown on the
 other side.

 Actually only our base number shows up.
 
 With that, do you mean the number without international prefix? That's
 odd.

Not quite. I think i have to give an example to make it clear:

Out telco assigned us a number range, say from 0231 - 555  to 0231 -
555 . These are number wich are routed to our asterisk server.
This will make 0231 - 555  my base number, sorry if i have chosen
a name with more an one definition.

On the other hand, i can set whatever number i like for outgoing calls.
Usually i have something like this in my dialplan:
Set(CALLERID(number)=X), where  is the number i want to be
shown.

If i dial a national number (landline or mobile) the number i have set
is shown properly.

If i dial a number in England the called sees my base number, but in
correct international format, +49 231 555 .

My Provider i called Dokom, it is a small local telco. I think they only
have lines in Dortmund, and beyond that they route through German
Telecom lines, but i am not sure of this.

The Number I call is a mobile number from Manx Telecom (Isle of Man).

I have made the calls with pri intense debug set on, but from my side a
can see no difference between calls where the number is set successfully
and calls the my number does not show up.

I have spoken with Dokom too, and they tell me that they don't mess up
with my calls, only passing through, and that they are not sure if the
number i have set, will be able to show up at the other side.

I have also tried to set number within my assigned number range and
outside of my number range.

Here the same: To national calls i can set whatever i like and to
international calls only my base number is shown.

Tobias Wolf
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting the CallerID

2006-11-16 Thread Conrad Wood

 Out telco assigned us a number range, say from 0231 - 555  to 0231 -
 555 . These are number wich are routed to our asterisk server.
 This will make 0231 - 555  my base number, sorry if i have chosen
 a name with more an one definition.
 
 On the other hand, i can set whatever number i like for outgoing calls.
 Usually i have something like this in my dialplan:
 Set(CALLERID(number)=X), where  is the number i want to be
 shown.
 
 If i dial a national number (landline or mobile) the number i have set
 is shown properly.
 
 If i dial a number in England the called sees my base number, but in
 correct international format, +49 231 555 .
 
 My Provider i called Dokom, it is a small local telco. I think they only
 have lines in Dortmund, and beyond that they route through German
 Telecom lines, but i am not sure of this.
 
 The Number I call is a mobile number from Manx Telecom (Isle of Man).
 
 I have made the calls with pri intense debug set on, but from my side a
 can see no difference between calls where the number is set successfully
 and calls the my number does not show up.
 
 I have spoken with Dokom too, and they tell me that they don't mess up
 with my calls, only passing through, and that they are not sure if the
 number i have set, will be able to show up at the other side.
 
 I have also tried to set number within my assigned number range and
 outside of my number range.
 
 Here the same: To national calls i can set whatever i like and to
 international calls only my base number is shown.

I guess that Dokom bought or rented or whatever a certain range of
numbers from 'Big German Telco GmbH'. As long as you remain within the
Dokom network you (dokom) can retain the callerid. As soon as you route
your call out to another network, the peer will see that the callerid
doesn't match the account and reset it. If your call gets routed through
various networks I guess any network could decide to reset the callerid.
Here in UK any DDIs are not automatically added to the list of allowed
out callerids unless you specifically ask, so they get reset to the base
number as well.

Now, that's only a *guess*. And the bad news is, *if* I'm right, there
is little you can do except change provider, route or persuade dokom to
speak to their upstream peers.

You might have more luck asking on a telecom specific list, rather than
here. 

Conrad





___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting the CallerID

2006-11-16 Thread Tobias Wolf
Conrad Wood schrieb:

 
 You might have more luck asking on a telecom specific list, rather than
 here. 
 
Well, thx for your time anyway. I just wanted to double-check that there
aren't any asterisk config faults that i were not aware of.

Tobias Wolf
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Setting the CallerID

2006-11-15 Thread Tobias Wolf
Hi,

I have some trouble with setting my CallerID if i make an international
Call. No Problems with National Calls, i can set whatever I want. We pay
for this service but our telephone provider was not able to state clear,
wether the number we set on an international call should be shown on the
other side.

Actually only our base number shows up.

If I understand it correctly, in every call the base number is embedded
as ANI, so that we can be billed.

Is it possible, that, if a calls goes international, they only refer to
the ANI and forget the set number ?

The only route I am trying is from Germany to England, maybe it is a
problem between the providers and not of my setup.

Maybe someone could explain to me how CallerID transmission is done on
the technical level I could guess where i have to look for an solution.

Thx.

Tobias Wolf
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Setting the CallerID

2006-11-15 Thread Conrad Wood
On Wed, 2006-11-15 at 17:50 +0100, Tobias Wolf wrote:
 Hi,
 
 I have some trouble with setting my CallerID if i make an international
 Call. No Problems with National Calls, i can set whatever I want. We pay
 for this service but our telephone provider was not able to state clear,
 wether the number we set on an international call should be shown on the
 other side.
 
 Actually only our base number shows up.

With that, do you mean the number without international prefix? That's
odd.
What's the provider you are calling here in uk?
I regular get calls from Germany with the correct international callerid
showing.

 
 If I understand it correctly, in every call the base number is embedded
 as ANI, so that we can be billed.
 
 Is it possible, that, if a calls goes international, they only refer to
 the ANI and forget the set number ?

 The only route I am trying is from Germany to England, maybe it is a
 problem between the providers and not of my setup.

I don't receive any callerid from some (cheaper) german telco providers
(but most work correctly)
I vaguely remember that there are some pretty dodgy contractual
agreements lingering around. You might want to google for 'europe
callerid', specificially [1].
Are you sure your calls goes straight from Germany to UK? I found that
many German telecom providers terminate through the US, particularly to
landlines.

Maybe you could route your call to via sip to a uk voip provider and
persuade them to set the callerid to whatever you have in Germany? or
simply get a UK number routed via sip ? ;)


[1]
http://www.ainslie.org.uk/callerid/cli_faq.htm
In the UK, Oftel will allow European Caller ID if the other country has
implemented the Telecoms Privacy Directive



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users