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).. As i give all the extensions a particular DID, so people from outside world can call them. The problem is the CALLERID ... When we call from any of other extension PSTN line carries out our pilot number (i.e 4663000 means 00) rather than its own DID number. I have already talked with my service provider and he said that they have activated it from their end.. Incoming DID's have been configured successfully and probelm is just for the outgoing caller ID that it shows always is pilot number ........ -- Best Regards, Mahesh Katta *BUZZ**WORKS* 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110509/3836ca99/attachment.htm>
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.
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>
Why do I get the feeling that this guy wants someone to write it for him
for free?
Especially seeing has how he has never posted what anyone who has tried
to help, have requested.
Maybe Mr. Katta needs to google for 'dcap'?
________________________________
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 11:49
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] OUTBOUND CALLER ID
Sir,
A.J.Stiles
This dialplan is not working . when I called to out of box .
On Tue, May 10, 2011 at 2:00 PM, A J Stiles
<asterisk_list at earthshod.co.uk> wrote:
On Tuesday 10 May 2011, mahesh katta wrote:
> 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
ERI
>DNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten =>
> _90XXXXXXXXX,6,Dial(${TRUNK}/${EXTEN:1},,tTo)
> exten => _90XXXXXXXXX,7,Hangup
OK. Here's what I see going on.
When you dial 90XXXXXXXXX:
Stage 1: The NoOp() will just write the CALLERID(num) to the
console. (This
initially will be the originating extension number.)
Stage 2: If the originating extension is 5001, the
CALLERID(name) will be set
to 44578999.
Stage 3: Calls an AGI script, presumably to log the call
outside of the CDR
database.
Stage 4: If the originating extension is 5001, the
CALLERID(num) will be set
to 44578999.
Stage 5: Starts a recording.
Stage 6: Passes the dialled number, skipping 1 digit from the
beginning
(i.e. the initial 9 for the outside line), to a Dial() command.
Stage 7: Hangs up.
I'm not at all convinced that this is right, especially as you
are mixing
destination extensions with and without originating extensions.
And, the way
this bit is written, it will only ever set the outgoing caller
ID for
extension 5001.
I think it needs to be more like this. Here, I'm taking an
educated guess
that you want your caller ID to appear on outgoing calls as
445789 followed
by the last 2 digits of the extension number. If this is not
right, you will
have to change it -- or explain exactly how to derive the caller
ID you want
to appear on external phones, from the originating internal
extension, like I
originally asked.
exten => _90XXXXXXXXX,1,NoOp(${CALLERID(num)})
exten =>
_90XXXXXXXXX,2,Set(outgoing_ident=445789${CALLERID(num):-2})
exten => _90XXXXXXXXX,3,NoOp(${outgoing_ident})
exten => _90XXXXXXXXX,4,Set(CALLERID(name)=${outgoing_ident})
exten => _90XXXXXXXXX,5,AGI(agi://127.0.0.1:4577/call_log)
exten => _90XXXXXXXXX,6,Set(CALLERID(num)=${outgoing_ident})
exten =>
_90XXXXXXXXX,7,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALL
ERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|
av(0)V(0))
exten =>_90XXXXXXXXX,8,Dial(${TRUNK}/${EXTEN:1},,tTo)
exten => _90XXXXXXXXX,9,Hangup
What this will do:
Stage 1: The NoOp() will just write the CALLERID(num) to the
console. (This
initially will be the originating extension number.)
Stage 2: Creates a variable "outgoing_ident". This consists of
the string
445789 followed by the last 2 digits of the originating
extension number.
Stage 3: The NoOp() will write the value of ${outgoing_ident}
to the console.
Stage 4: Sets CALLERID(name) to the value we just put into
${outgoing_ident}.
Stage 5: Calls logging AGI script.
Stage 6: Sets CALLERID(num) to the value we just put into
${outgoing_ident}.
This is most likely to be noticed.
Stage 7: Starts recording.
Stage 8: Passes the dialled number, skipping 1 digit from the
beginning, to a
Dial() command.
Stage 9: Hangs up.
Modify stage 2 if necessary to suit exactly how you want your
outgoing ident
to appear. You can take out the NoOp() statements and renumber
appropriately
once it's working as you want it.
Note that if the console seems to show you created the right
ident but it
doesn't appear on phones when you dial out, then either the
format is wrong
or your telco doesn't think you are authorised to use that
ident; this is a
matter you will need to take up with your phone company.
--
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/>
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/73fcc48a/attachment.htm>