> 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)="AB&CD COMPANY" <5191112222>)
> same => n,Dial(Dahdi/G1/5193334444)
> 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)="AB&CD 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

Reply via email to