[asterisk-users] Setting outbound PRI Callerid with Asterisk 10.0.0-beta2

2011-11-18 Thread asterisk users
Hello all,

I'm having trouble setting the callerid name and number independently
with the following configuration:

Asterisk 10.0.0-beta2
DAHDI Version: 2.5.0 Echo Canceller: HWEC, MG2
libpri version: 1.4.12
Allstream PRI 23+D / dms100

Test cases:

(1) Using the form:
same = n,Set(CALLERID(all)=ABCD COMPANY 519111)
same = n,Dial(Dahdi/G1/519333)
both the caller ID and name are passed correctly to the called party

(2) However, if we try to set the number and name separately
  same = n,Set(CALLERID(name)=ABCD COMPANY)
  same = n,Set(CALLERID(number)=519111)
  same = n,Dial(Dahdi/G1/519333)
then with some called numbers, we get a congestion message (All
circuits are busy) unless the first CALLERID(name) line is commented
out.
With other numbers the call completes, but the received callerid shows
as: CALLERID(all): \ 519111

Is there some subtle difference between these two methods, or would
anyone have some experience with this?

Thanks for any comments, and Happy Friday!

--
_
-- 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 PRI Callerid with Asterisk 10.0.0-beta2

2011-11-18 Thread Danny Nicholas
Just a hunch
  same = n,Set(CALLERID(name)=AB\CD COMPANY)
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of asterisk users
Sent: Friday, November 18, 2011 2:03 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Setting outbound PRI Callerid with Asterisk
10.0.0-beta2

Hello all,

I'm having trouble setting the callerid name and number independently with
the following configuration:

Asterisk 10.0.0-beta2
DAHDI Version: 2.5.0 Echo Canceller: HWEC, MG2 libpri version: 1.4.12
Allstream PRI 23+D / dms100

Test cases:

(1) Using the form:
same = n,Set(CALLERID(all)=ABCD COMPANY 519111)
same = n,Dial(Dahdi/G1/519333)
both the caller ID and name are passed correctly to the called party

(2) However, if we try to set the number and name separately
  same = n,Set(CALLERID(name)=ABCD COMPANY)
  same = n,Set(CALLERID(number)=519111)
  same = n,Dial(Dahdi/G1/519333)
then with some called numbers, we get a congestion message (All circuits
are busy) unless the first CALLERID(name) line is commented out.
With other numbers the call completes, but the received callerid shows
as: CALLERID(all): \ 519111

Is there some subtle difference between these two methods, or would anyone
have some experience with this?

Thanks for any comments, and Happy Friday!

--
_
-- 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 PRI Callerid with Asterisk 10.0.0-beta2

2011-11-18 Thread asterisk users
Same result:
  Executing [s@incoming:3] NoOp(SIP/choicetel-0092,
CALLERID(all): \ 519111) in new stack

On Fri, Nov 18, 2011 at 2:05 PM, Danny Nicholas da...@debsinc.com wrote:
 Just a hunch
  same = n,Set(CALLERID(name)=AB\CD COMPANY)
 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of asterisk users
 Sent: Friday, November 18, 2011 2:03 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: [asterisk-users] Setting outbound PRI Callerid with Asterisk
 10.0.0-beta2

 Hello all,

 I'm having trouble setting the callerid name and number independently with
 the following configuration:

 Asterisk 10.0.0-beta2
 DAHDI Version: 2.5.0 Echo Canceller: HWEC, MG2 libpri version: 1.4.12
 Allstream PRI 23+D / dms100

 Test cases:

 (1) Using the form:
    same = n,Set(CALLERID(all)=ABCD COMPANY 519111)
    same = n,Dial(Dahdi/G1/519333)
 both the caller ID and name are passed correctly to the called party

 (2) However, if we try to set the number and name separately
  same = n,Set(CALLERID(name)=ABCD COMPANY)
  same = n,Set(CALLERID(number)=519111)
  same = n,Dial(Dahdi/G1/519333)
 then with some called numbers, we get a congestion message (All circuits
 are busy) unless the first CALLERID(name) line is commented out.
 With other numbers the call completes, but the received callerid shows
 as: CALLERID(all): \ 519111

 Is there some subtle difference between these two methods, or would anyone
 have some experience with this?

 Thanks for any comments, and Happy Friday!

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


--
_
-- 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 PRI Callerid with Asterisk 10.0.0-beta2

2011-11-18 Thread Richard Mudgett
 Hello all,
 
 I'm having trouble setting the callerid name and number independently
 with the following configuration:
 
 Asterisk 10.0.0-beta2
 DAHDI Version: 2.5.0 Echo Canceller: HWEC, MG2
 libpri version: 1.4.12
 Allstream PRI 23+D / dms100
 
 Test cases:
 
 (1) Using the form:
 same = n,Set(CALLERID(all)=ABCD COMPANY 519111)
 same = n,Dial(Dahdi/G1/519333)
 both the caller ID and name are passed correctly to the called party
 
 (2) However, if we try to set the number and name separately
 same = n,Set(CALLERID(name)=ABCD COMPANY)

You do not need to quote the name here.  Otherwise, the quotes
are included as part of the name.  Everything between the '='
and closing ')' less leading and trailing spaces is part of the
name.  For SIP this may be detrimental to the message format
unless the quotes get escaped.

Richard

--
_
-- 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 PRI Callerid with Asterisk 10.0.0-beta2

2011-11-18 Thread asterisk users
Thank you. Omitting the quotes on CALLERID(NAME) line seems to be the
solution.  This works:

 same = n,Set(CALLERID(name)=ABCD COMPANY)
 same = n,Set(CALLERID(number)=519111)
 same = n,Dial(Dahdi/G1/519333)

It is strange, though, that with quotes in, the call actually fails
with congestion, and only with certain numbers dialed (all 10-digit
local area dialing). Some sort of error message would be nice.  :-)

This help is much appreciated!


On Fri, Nov 18, 2011 at 2:43 PM, Richard Mudgett rmudg...@digium.com wrote:
 Hello all,

 I'm having trouble setting the callerid name and number independently
 with the following configuration:

 Asterisk 10.0.0-beta2
 DAHDI Version: 2.5.0 Echo Canceller: HWEC, MG2
 libpri version: 1.4.12
 Allstream PRI 23+D / dms100

 Test cases:

 (1) Using the form:
 same = n,Set(CALLERID(all)=ABCD COMPANY 519111)
 same = n,Dial(Dahdi/G1/519333)
 both the caller ID and name are passed correctly to the called party

 (2) However, if we try to set the number and name separately
 same = n,Set(CALLERID(name)=ABCD COMPANY)

 You do not need to quote the name here.  Otherwise, the quotes
 are included as part of the name.  Everything between the '='
 and closing ')' less leading and trailing spaces is part of the
 name.  For SIP this may be detrimental to the message format
 unless the quotes get escaped.

 Richard

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