[asterisk-users] OUTBOUND CALLER ID

Andrew Thomas andy at datavox.co.uk
Tue May 10 03:24:03 CDT 2011


Try getting rid of '/5001' (line 2 and 4) and try again!

 

 

________________________________

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of mahesh
katta
Sent: 10 May 2011 06:15
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] OUTBOUND CALLER ID

 

sir,

Below configuration i wase made in server . but this is not working.


exten => _90XXXXXXXXX,1,NoOp(${CALLERID(num)})
exten => _90XXXXXXXXX/5001,2,Set(CALLERID(name)=44578999)
exten => _90XXXXXXXXX,3,AGI(agi://127.0.0.1:4577/call_log)
exten => _90XXXXXXXXX/5001,4,Set(CALLERID(num)=44578999)
exten =>
_90XXXXXXXXX,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALL
ERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0))
exten => _90XXXXXXXXX,6,Dial(${TRUNK}/${EXTEN:1},,tTo)
exten => _90XXXXXXXXX,7,Hangup



On Mon, May 9, 2011 at 8:14 PM, Carlos Rojas <crt.rojas at gmail.com>
wrote:

Hello

 

Do you set your callerid in the context outgoing?

 

[outgoing]

 

exten => _X.,1,Set(CALLERID(num)=4663000)

exten => _X.,n,Dial(..............

 

On Mon, May 9, 2011 at 4:45 AM, mahesh katta <maheshkatta at flexydial.com>
wrote:

Sir ,

this is not working 

 

On Mon, May 9, 2011 at 1:52 PM, A J Stiles
<asterisk_list at earthshod.co.uk> wrote:

On Monday 09 May 2011, mahesh katta wrote:
> Hi,
> THIS IS IN DUBAI.
>
> I am having PRI line with 100 DID's (00-99) and when we call to any
> landline or mobile number then it shows us our board number or pilot
number
> (i.e 4663000 means 00)..

In the context through which outgoing calls are placed, you need a step
which
sets the caller ID number.  For instance, part of our dialplan maps
external
phone numbers with the local part 707060 to 707072 to internal
extensions 301
to 312 respectively.  Our E1 provider also requires us to include the
STD
code, minus the leading zero, for the town we are in -- and will
silently
anonymise the call if we try to send a caller ID that does not belong to
us.

So for outgoing calls, we have something like

[ts-outgoing]
exten => _0., 1, Set(localno=7070$[${CALLERID(num)}-240])
exten => _0., 2, Set(CALLERID(num)=${STD}${localno})


--
AJS

Answers come *after* questions.

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





-- 
Best Regards, 

Mahesh Katta
BUZZWORKS Business Services Private Limited
BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI
201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri
(E) Mumbai 400069
GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634
Web http://www.buzzworks.com
<http://www.buzzworks.com/> 


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




-- 
Best Regards, 

Mahesh Katta
BUZZWORKS Business Services Private Limited
BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI
201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri
(E) Mumbai 400069
GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634
Web http://www.buzzworks.com
<http://www.buzzworks.com/> 



 If you have received this communication in error we would appreciate
you advising us either by telephone or return of e-mail. The contents
of this message, and any attachments, are the property of DataVox,
and are intended for the confidential use of the named recipient only.
If you are not the intended recipient, employee or agent responsible
for delivery of this message to the intended recipient, take note that
any dissemination, distribution or copying of this communication and
its attachments is strictly prohibited, and may be subject to civil or
criminal action for which you may be liable.
Every effort has been made to ensure that this e-mail or any attachments
are free from viruses. While the company has taken every reasonable
precaution to minimise this risk, neither company, nor the sender can
accept liability for any damage which you sustain as a result of viruses.
It is recommended that you should carry out your own virus checks
before opening any attachments. 

Registered in England. No. 27459085.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110510/842bc876/attachment.htm>


More information about the asterisk-users mailing list