Re: [asterisk-users] Outbound caller ID ignored
Hi Mitch I don't think you can expect it to work on the analog lines at all out of the box. What kind of hardware are you using to connect to the analog lines? We used Xorcom Astribanks at a stage, but could never (ever) figure out the signalling needed to set the caller ID at our local public phone company servicing our POTS lines (Telkom, South Africa). It was useless anyway, as they didn't support it and their software couldn't apply it. See below. It is a two-pronged problem, e. g. your hardware and drivers need to be able to signal the caller-id to the carrier / public telephone company, and, if you CAN communicate this to the local telephone company, they need to be able to interpret this and set it on calls they process for you. In our case (if I remember right, we've long since dumped all analog lines) there were double problems there as well, e. g. the POTS network here ignored our signalling (and their hardware / software mix doesn't support it anyway, so even if they interpreted and understood the protocol and number being sent, they couldn't apply it) and some legislation that prohibited "CID masquerading" for calls made through the government-owned public telephone network. Our current SIP trunk provider cannot do it either, their systems simply do not support it and all numbers going out are always fixed to the constant trunk outgoing number. E. g. we also spent several days of dev trying to get it to work, eventually checking with them and being informed it is impossible anyway and they do not support changing the number from traffic we pass them. However, they can easily spin up extra logical SIP trunks at miniscule cost (several US cents in local currency equivalent), so if we need a custom number for callees to dial back for a temporary sales campaign or whatever, we simply request it and that trunks fixed, constant number will appear on callee phones. We then simply route the correct internal dialout calls to the temporary virtual trunk by whatever logic we want. Hope this helps. Kind regards, -- Message: 2 Date: Sun, 13 Jan 2019 09:45:27 -0600 From: Mitch Claborn Subject: [asterisk-users] Outbound caller ID ignored Setting the outbound caller ID works fine on our PRI (T1) lines, but does not work on our local POTS lines. No errors in the logs, the new caller ID just seems to be ignored. Should I expect it to work on the analog lines? Dial plan: same =>n,Set(CALLERID(all)=111222) same =>n(dialit),Dial(DAHDI/50/1222333,30) Channels: signalling=fxs_ks callerid=asreceived group=20,21 context=from-pstn faxdetect=incoming faxdetect_timeout=0 faxbuffers => 12,half channel => 49-53 -- Mitch -- _ -- 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] Outbound caller ID ignored
On Sun, Jan 13, 2019 at 9:45 AM Mitch Claborn wrote: > Setting the outbound caller ID works fine on our PRI (T1) lines, but > does not work on our local POTS lines. No errors in the logs, the new > caller ID just seems to be ignored. Should I expect it to work on the > analog lines? > > Dial plan: > same =>n,Set(CALLERID(all)=111222) > same =>n(dialit),Dial(DAHDI/50/1222333,30) > > Channels: > signalling=fxs_ks > callerid=asreceived > group=20,21 > context=from-pstn > faxdetect=incoming > faxdetect_timeout=0 > faxbuffers => 12,half > channel => 49-53 > > It will not work. This is a limitation of analog lines. In this case your Asterisk box is pretending to be a POTS phone. Phones do not tell the PSTN who they are as the PSTN already knows who they are. Richard -- _ -- 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] Outbound caller ID ignored
On Sun, 13 Jan 2019, Mitch Claborn wrote: Setting the outbound caller ID works fine on our PRI (T1) lines, but does not work on our local POTS lines. No errors in the logs, the new caller ID just seems to be ignored. Should I expect it to work on the analog lines? Nope. Setting caller ID is not a POTS feature. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST https://www.linkedin.com/in/steve-edwards-4244281 -- _ -- 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] Outbound caller ID ignored
Setting the outbound caller ID works fine on our PRI (T1) lines, but does not work on our local POTS lines. No errors in the logs, the new caller ID just seems to be ignored. Should I expect it to work on the analog lines? Dial plan: same =>n,Set(CALLERID(all)=111222) same =>n(dialit),Dial(DAHDI/50/1222333,30) Channels: signalling=fxs_ks callerid=asreceived group=20,21 context=from-pstn faxdetect=incoming faxdetect_timeout=0 faxbuffers => 12,half channel => 49-53 -- Mitch -- _ -- 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] OUTBOUND CALLER ID
Set your PRI for intensive debugging for a few outbound calls and trim it to show the relevant info. Intense PRI debugging will probably give you the answer right off the bat. Check your zapata.conf settings: *restrictcid*: (PRI channels only) This option has effect only when hidecallerid=no. If hidecallerid=no and restrictcid=yes, Asterisk will prevent the sending of the Caller ID data as a presentation number when making outgoing calls (ANI data is still sent). Default: no. restrictcid=yes Also make sure that your sip.conf has the correct settings for callerID. There are several setting in there to check for outbound callerID. I think with intensive PRI debugging or looking at the logs, you will see a warning or error that will help you figure out the issue. To me, I would bet it is the carrier only sending the BTN Thanks, Steve T On Wed, May 11, 2011 at 1:15 AM, mahesh katta maheshka...@flexydial.comwrote: On Tue, May 10, 2011 at 11:09 PM, Eric Wieling ewiel...@nyigc.com wrote: You should set the callerid to the complete number. Country code, city/area code, and number. The number below looks to me to be far too short to be a UK number (country code 44), but I could be wrong. sir this i was check with code also 04(area code) but no result , and may be i think country code is not require because they are doing in local and pri no. is landline no.. Your CARRIER must allow you to set outvbound Caller*ID. Have you verified with them that you are allowed to set the CID? I verify with telcom they are given on mail is that set the code 04 and isdn pri , national is type of switch. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of mahesh katta Sent: Tuesday, May 10, 2011 1:15 AM 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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X/5001,2,Set(CALLERID(name)=44578999) exten = _90X,3,AGI(agi://127.0.0.1:4577/call_log) exten = _90X/5001,4,Set(CALLERID(num)=44578999) exten = _90X,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTA MP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,6,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,7,Hangup On Mon, May 9, 2011 at 8:14 PM, Carlos Rojas crt.ro...@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 maheshka...@flexydial.com wrote: Sir , this is not working On Mon, May 9, 2011 at 1:52 PM, A J Stiles asterisk_l...@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
Re: [asterisk-users] OUTBOUND CALLER ID
Steve .T sir, All It is working sir . Thank you very much sir . Thankyou for all support to me . sorry for the my language bcz i have my communication problem. On Wed, May 11, 2011 at 11:30 AM, Steve Totaro stot...@totarotechnologies.com wrote: Set your PRI for intensive debugging for a few outbound calls and trim it to show the relevant info. Intense PRI debugging will probably give you the answer right off the bat. Check your zapata.conf settings: *restrictcid*: (PRI channels only) This option has effect only when hidecallerid=no. If hidecallerid=no and restrictcid=yes, Asterisk will prevent the sending of the Caller ID data as a presentation number when making outgoing calls (ANI data is still sent). Default: no. restrictcid=yes Also make sure that your sip.conf has the correct settings for callerID. There are several setting in there to check for outbound callerID. I think with intensive PRI debugging or looking at the logs, you will see a warning or error that will help you figure out the issue. To me, I would bet it is the carrier only sending the BTN Thanks, Steve T On Wed, May 11, 2011 at 1:15 AM, mahesh katta maheshka...@flexydial.comwrote: On Tue, May 10, 2011 at 11:09 PM, Eric Wieling ewiel...@nyigc.comwrote: You should set the callerid to the complete number. Country code, city/area code, and number. The number below looks to me to be far too short to be a UK number (country code 44), but I could be wrong. sir this i was check with code also 04(area code) but no result , and may be i think country code is not require because they are doing in local and pri no. is landline no.. Your CARRIER must allow you to set outvbound Caller*ID. Have you verified with them that you are allowed to set the CID? I verify with telcom they are given on mail is that set the code 04 and isdn pri , national is type of switch. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of mahesh katta Sent: Tuesday, May 10, 2011 1:15 AM 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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X/5001,2,Set(CALLERID(name)=44578999) exten = _90X,3,AGI(agi://127.0.0.1:4577/call_log) exten = _90X/5001,4,Set(CALLERID(num)=44578999) exten = _90X,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTA MP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,6,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,7,Hangup On Mon, May 9, 2011 at 8:14 PM, Carlos Rojas crt.ro...@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 maheshka...@flexydial.com wrote: Sir , this is not working On Mon, May 9, 2011 at 1:52 PM, A J Stiles asterisk_l...@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
Re: [asterisk-users] OUTBOUND CALLER ID
No problem, what was the solution? On Wed, May 11, 2011 at 2:14 AM, mahesh katta maheshka...@flexydial.comwrote: Steve .T sir, All It is working sir . Thank you very much sir . Thankyou for all support to me . sorry for the my language bcz i have my communication problem. On Wed, May 11, 2011 at 11:30 AM, Steve Totaro stot...@totarotechnologies.com wrote: Set your PRI for intensive debugging for a few outbound calls and trim it to show the relevant info. Intense PRI debugging will probably give you the answer right off the bat. Check your zapata.conf settings: *restrictcid*: (PRI channels only) This option has effect only when hidecallerid=no. If hidecallerid=no and restrictcid=yes, Asterisk will prevent the sending of the Caller ID data as a presentation number when making outgoing calls (ANI data is still sent). Default: no. restrictcid=yes Also make sure that your sip.conf has the correct settings for callerID. There are several setting in there to check for outbound callerID. I think with intensive PRI debugging or looking at the logs, you will see a warning or error that will help you figure out the issue. To me, I would bet it is the carrier only sending the BTN Thanks, Steve T On Wed, May 11, 2011 at 1:15 AM, mahesh katta maheshka...@flexydial.comwrote: On Tue, May 10, 2011 at 11:09 PM, Eric Wieling ewiel...@nyigc.comwrote: You should set the callerid to the complete number. Country code, city/area code, and number. The number below looks to me to be far too short to be a UK number (country code 44), but I could be wrong. sir this i was check with code also 04(area code) but no result , and may be i think country code is not require because they are doing in local and pri no. is landline no.. Your CARRIER must allow you to set outvbound Caller*ID. Have you verified with them that you are allowed to set the CID? I verify with telcom they are given on mail is that set the code 04 and isdn pri , national is type of switch. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of mahesh katta Sent: Tuesday, May 10, 2011 1:15 AM 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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X/5001,2,Set(CALLERID(name)=44578999) exten = _90X,3,AGI(agi://127.0.0.1:4577/call_log) exten = _90X/5001,4,Set(CALLERID(num)=44578999) exten = _90X,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTA MP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,6,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,7,Hangup On Mon, May 9, 2011 at 8:14 PM, Carlos Rojas crt.ro...@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 maheshka...@flexydial.com wrote: Sir , this is not working On Mon, May 9, 2011 at 1:52 PM, A J Stiles asterisk_l...@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
Re: [asterisk-users] OUTBOUND CALLER ID
Sir, I set the below configured in Zapata.conf file. and A .J given Dialplan . that's it is working now hidecallerid=no restrictcid=yes On Wed, May 11, 2011 at 11:55 AM, Steve Totaro stot...@totarotechnologies.com wrote: No problem, what was the solution? On Wed, May 11, 2011 at 2:14 AM, mahesh katta maheshka...@flexydial.comwrote: Steve .T sir, All It is working sir . Thank you very much sir . Thankyou for all support to me . sorry for the my language bcz i have my communication problem. On Wed, May 11, 2011 at 11:30 AM, Steve Totaro stot...@totarotechnologies.com wrote: Set your PRI for intensive debugging for a few outbound calls and trim it to show the relevant info. Intense PRI debugging will probably give you the answer right off the bat. Check your zapata.conf settings: *restrictcid*: (PRI channels only) This option has effect only when hidecallerid=no. If hidecallerid=no and restrictcid=yes, Asterisk will prevent the sending of the Caller ID data as a presentation number when making outgoing calls (ANI data is still sent). Default: no. restrictcid=yes Also make sure that your sip.conf has the correct settings for callerID. There are several setting in there to check for outbound callerID. I think with intensive PRI debugging or looking at the logs, you will see a warning or error that will help you figure out the issue. To me, I would bet it is the carrier only sending the BTN Thanks, Steve T On Wed, May 11, 2011 at 1:15 AM, mahesh katta maheshka...@flexydial.com wrote: On Tue, May 10, 2011 at 11:09 PM, Eric Wieling ewiel...@nyigc.comwrote: You should set the callerid to the complete number. Country code, city/area code, and number. The number below looks to me to be far too short to be a UK number (country code 44), but I could be wrong. sir this i was check with code also 04(area code) but no result , and may be i think country code is not require because they are doing in local and pri no. is landline no.. Your CARRIER must allow you to set outvbound Caller*ID. Have you verified with them that you are allowed to set the CID? I verify with telcom they are given on mail is that set the code 04 and isdn pri , national is type of switch. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of mahesh katta Sent: Tuesday, May 10, 2011 1:15 AM 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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X/5001,2,Set(CALLERID(name)=44578999) exten = _90X,3,AGI(agi://127.0.0.1:4577/call_log) exten = _90X/5001,4,Set(CALLERID(num)=44578999) exten = _90X,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTA MP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,6,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,7,Hangup On Mon, May 9, 2011 at 8:14 PM, Carlos Rojas crt.ro...@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 maheshka...@flexydial.com wrote: Sir , this is not working On Mon, May 9, 2011 at 1:52 PM, A J Stiles asterisk_l...@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
Re: [asterisk-users] OUTBOUND CALLER ID
On Wednesday 11 May 2011, mahesh katta wrote: Sir, I set the below configured in Zapata.conf file. and A .J given Dialplan . that's it is working now hidecallerid=no restrictcid=yes Glad you got it all sorted -- I was going to suggest a few more things you could try this morning, but got beaten to it. Just one thing, though: You might want to take the NoOp() statements out of your dialplan, now you've got it working. It makes little sense to clutter up your console and log files with unnecessary diagnostic messages. -- 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
Re: [asterisk-users] OUTBOUND CALLER ID
Hi Daval, how much you require for this . On Tue, May 10, 2011 at 12:00 PM, DHAVAL INDRODIYA dhaval.it01...@gmail.com wrote: Hi Mahesh, I have solutions but its paid, i can provide setting if you are interested on counsultancy Cheers Dhaval On Tue, May 10, 2011 at 10:45 AM, mahesh katta maheshka...@flexydial.comwrote: sir, Below configuration i wase made in server . but this is not working. exten = _90X,1,NoOp(${CALLERID(num)}) exten = _90X/5001,2,Set(CALLERID(name)=44578999) exten = _90X,3,AGI(agi://127.0.0.1:4577/call_log) exten = _90X/5001,4,Set(CALLERID(num)=44578999) exten = _90X,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,6,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,7,Hangup On Mon, May 9, 2011 at 8:14 PM, Carlos Rojas crt.ro...@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 maheshka...@flexydial.comwrote: Sir , this is not working On Mon, May 9, 2011 at 1:52 PM, A J Stiles asterisk_l...@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 *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 -- _ -- 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 *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 -- _ -- 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 *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 201, Crystal Tower, 75
Re: [asterisk-users] OUTBOUND CALLER ID
Try getting rid of '/5001' (line 2 and 4) and try again! From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X/5001,2,Set(CALLERID(name)=44578999) exten = _90X,3,AGI(agi://127.0.0.1:4577/call_log) exten = _90X/5001,4,Set(CALLERID(num)=44578999) exten = _90X,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALL ERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,6,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,7,Hangup On Mon, May 9, 2011 at 8:14 PM, Carlos Rojas crt.ro...@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 maheshka...@flexydial.com wrote: Sir , this is not working On Mon, May 9, 2011 at 1:52 PM, A J Stiles asterisk_l...@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
Re: [asterisk-users] OUTBOUND CALLER ID
On Tuesday 10 May 2011, mahesh katta wrote: sir, Below configuration i wase made in server . but this is not working. exten = _90X,1,NoOp(${CALLERID(num)}) exten = _90X/5001,2,Set(CALLERID(name)=44578999) exten = _90X,3,AGI(agi://127.0.0.1:4577/call_log) exten = _90X/5001,4,Set(CALLERID(num)=44578999) exten = _90X,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERI DNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,6,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,7,Hangup OK. Here's what I see going on. When you dial 90X: 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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X,2,Set(outgoing_ident=445789${CALLERID(num):-2}) exten = _90X,3,NoOp(${outgoing_ident}) exten = _90X,4,Set(CALLERID(name)=${outgoing_ident}) exten = _90X,5,AGI(agi://127.0.0.1:4577/call_log) exten = _90X,6,Set(CALLERID(num)=${outgoing_ident}) exten = _90X,7,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm| av(0)V(0)) exten =_90X,8,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,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
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_l...@earthshod.co.ukwrote: On Tuesday 10 May 2011, mahesh katta wrote: sir, Below configuration i wase made in server . but this is not working. exten = _90X,1,NoOp(${CALLERID(num)}) exten = _90X/5001,2,Set(CALLERID(name)=44578999) exten = _90X,3,AGI(agi://127.0.0.1:4577/call_log) exten = _90X/5001,4,Set(CALLERID(num)=44578999) exten = _90X,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERI DNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,6,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,7,Hangup OK. Here's what I see going on. When you dial 90X: 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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X,2,Set(outgoing_ident=445789${CALLERID(num):-2}) exten = _90X,3,NoOp(${outgoing_ident}) exten = _90X,4,Set(CALLERID(name)=${outgoing_ident}) exten = _90X,5,AGI(agi://127.0.0.1:4577/call_log) exten = _90X,6,Set(CALLERID(num)=${outgoing_ident}) exten = _90X,7,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm| av(0)V(0)) exten =_90X,8,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,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 *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 -- _ -- 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:
Re: [asterisk-users] OUTBOUND CALLER ID
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-boun...@lists.digium.com [mailto:asterisk-users-boun...@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_l...@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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X/5001,2,Set(CALLERID(name)=44578999) exten = _90X,3,AGI(agi://127.0.0.1:4577/call_log) exten = _90X/5001,4,Set(CALLERID(num)=44578999) exten = _90X,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALL ERI DNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,6,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,7,Hangup OK. Here's what I see going on. When you dial 90X: 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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X,2,Set(outgoing_ident=445789${CALLERID(num):-2}) exten = _90X,3,NoOp(${outgoing_ident}) exten = _90X,4,Set(CALLERID(name)=${outgoing_ident}) exten = _90X,5,AGI(agi://127.0.0.1:4577/call_log) exten = _90X,6,Set(CALLERID(num)=${outgoing_ident}) exten = _90X,7,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALL ERIDNUM}-${EXTEN}-${UNIQUEID}.gsm| av(0)V(0)) exten =_90X,8,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,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
Re: [asterisk-users] OUTBOUND CALLER ID
(Message re-ordered and excessive quoting trimmed.) On Tuesday 10 May 2011, mahesh katta wrote: On Tue, May 10, 2011 at 2:00 PM, A J Stiles asterisk_l...@earthshod.co.ukwrote: 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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X,2,Set(outgoing_ident=445789${CALLERID(num):-2}) exten = _90X,3,NoOp(${outgoing_ident}) exten = _90X,4,Set(CALLERID(name)=${outgoing_ident}) exten = _90X,5,AGI(agi://127.0.0.1:4577/call_log) exten = _90X,6,Set(CALLERID(num)=${outgoing_ident}) exten = _90X,7,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLE RIDNUM}-${EXTEN}-${UNIQUEID}.gsm| av(0)V(0)) exten =_90X,8,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,9,Hangup 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. Sir, A.J.Stiles This dialplan is not working . when I called to out of box . Not working can mean a lot of things. So, let's start at the beginning. Have you ever actually managed to get an outgoing call to work *at all* -- i.e., successfully placed a call onto a trunk, made an external phone ring and been able to speak to the other party, even if the caller ID that shew up was incorrect ? Assuming so, please show the dialplan section that worked for that. Otherwise, you need to go back to first principles and work out exactly what you are doing wrong. We need to start from a point where you are able to place external calls *before* we can discuss how to set the desired caller ID to appear on the receiving end. Obligatory car analogy: There's no point arguing over whether motorways are quicker than A-roads, if you can't even get the engine to start. Next, please describe how to determine, based on the internal extension, what caller ID number should be presented to the outside world. -- 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
Re: [asterisk-users] OUTBOUND CALLER ID
A.j Sir, I am using vicidial server asterisk box. it has asterisk 1.27v , In sip configuration is extensiosn like below [5001] username=5001 secret=1234 mailbox=5001 type=friend^M host=dynamic^M canreinvite=no^M qualify=yes^M nat=yes^M context=default 5001 to 5099 and PRI pilot no. is 4457900 in dubai , telcom give a DID's 4457900 to 4457999, when i am dialing from pstn on DID's(inbound) that will connecting (i was configured with sip means when i dial the 4457901 from outside i will get a call on 5001 extension) here Problem when i dial (out bound) out of box from 5001 extensions the caller id showing pilot no. (4457900) . I need to display that DID's each extension. exten = _90X,1,NoOp(${CALLERID(num)}) exten = _90X,2,Set(outgoing_ident=0445789${CALLERID(num):-2}) exten = _90X,3,NoOp(${outgoing_ident}) exten = _90X,4,Set(CALLERID(name)=${outgoing_ident}) exten = _90X,5,AGI(agi://127.0.0.1:4577/call_log) exten = _90X,6,Set(CALLERID(num)=${outgoing_ident}) exten = _90X,7,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,8,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,9,Hangup On Tue, May 10, 2011 at 4:49 PM, A J Stiles asterisk_l...@earthshod.co.ukwrote: (Message re-ordered and excessive quoting trimmed.) On Tuesday 10 May 2011, mahesh katta wrote: On Tue, May 10, 2011 at 2:00 PM, A J Stiles asterisk_l...@earthshod.co.ukwrote: 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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X,2,Set(outgoing_ident=445789${CALLERID(num):-2}) exten = _90X,3,NoOp(${outgoing_ident}) exten = _90X,4,Set(CALLERID(name)=${outgoing_ident}) exten = _90X,5,AGI(agi://127.0.0.1:4577/call_log) exten = _90X,6,Set(CALLERID(num)=${outgoing_ident}) exten = _90X,7,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLE RIDNUM}-${EXTEN}-${UNIQUEID}.gsm| av(0)V(0)) exten =_90X,8,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,9,Hangup 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. Sir, A.J.Stiles This dialplan is not working . when I called to out of box . Not working can mean a lot of things. So, let's start at the beginning. Have you ever actually managed to get an outgoing call to work *at all* -- i.e., successfully placed a call onto a trunk, made an external phone ring and been able to speak to the other party, even if the caller ID that shew up was incorrect ? Assuming so, please show the dialplan section that worked for that. Otherwise, you need to go back to first principles and work out exactly what you are doing wrong. We need to start from a point where you are able to place external calls *before* we can discuss how to set the desired caller ID to appear on the receiving end. Obligatory car analogy: There's no point arguing over whether motorways are quicker than A-roads, if you can't even get the engine to start. Next, please describe how to determine, based on the internal extension, what caller ID number should be presented to the outside world. -- 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 *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 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for
Re: [asterisk-users] OUTBOUND CALLER ID
(Reformatted *again*. The proper place to post your reply is *below* the message or section to which you are replying, so it reads like: question, answer, question, answer. This makes things much easier for anyone with a similar problem in future, trying to make sense of old messages in the archives.) On Tuesday 10 May 2011, mahesh katta wrote: On Tue, May 10, 2011 at 4:49 PM, A J Stiles asterisk_l...@earthshod.co.ukwrote: Not working can mean a lot of things. So, let's start at the beginning. Have you ever actually managed to get an outgoing call to work *at all* -- i.e., successfully placed a call onto a trunk, made an external phone ring and been able to speak to the other party, even if the caller ID that shew up was incorrect ? Assuming so, please show the dialplan section that worked for that. Otherwise, you need to go back to first principles and work out exactly what you are doing wrong. We need to start from a point where you are able to place external calls *before* we can discuss how to set the desired caller ID to appear on the receiving end. Obligatory car analogy: There's no point arguing over whether motorways are quicker than A-roads, if you can't even get the engine to start. Next, please describe how to determine, based on the internal extension, what caller ID number should be presented to the outside world. A.j Sir, I am using vicidial server asterisk box. it has asterisk 1.27v , In sip configuration is extensiosn like below [5001] username=5001 secret=1234 mailbox=5001 type=friend^M host=dynamic^M canreinvite=no^M qualify=yes^M nat=yes^M context=default 5001 to 5099 and PRI pilot no. is 4457900 in dubai , telcom give a DID's 4457900 to 4457999, when i am dialing from pstn on DID's(inbound) that will connecting (i was configured with sip means when i dial the 4457901 from outside i will get a call on 5001 extension) O.K. So what are you seeing in the console when you place an outgoing call? There should be two NoOp() lines per call; one with the original extension number, and another with what we are trying to set the caller ID to. If it helps, change the lines for steps 1 and 3 as follows: exten = _90X,1,NoOp(Int exten:${CALLERID(num)}) exten = _90X,3,NoOp(Ext ident:${outgoing_ident}) so it is more obvious what they are supposed to represent. Run asterisk -vr in a console, reload the dialplan, capture some output as you make calls from various extensions, and paste it here. The important question is: Do the Ext ident numbers look like what they are supposed to? And if not, then how do they differ from what they are supposed to look like? here Problem when i dial (out bound) out of box from 5001 extensions the caller id showing pilot no. (4457900) . I need to display that DID's each extension. The usual cause of the caller ID not being set to what you want, is that you tried to set it to some number that is not allocated to you, and your telco changed it to some default. (Otherwise, you could fake your outgoing caller ID, which nobody wants.) exten = _90X,1,NoOp(${CALLERID(num)}) exten = _90X,2,Set(outgoing_ident=0445789${CALLERID(num):-2}) exten = _90X,3,NoOp(${outgoing_ident}) exten = _90X,4,Set(CALLERID(name)=${outgoing_ident}) exten = _90X,5,AGI(agi://127.0.0.1:4577/call_log) exten = _90X,6,Set(CALLERID(num)=${outgoing_ident}) exten = _90X,7,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERI DNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,8,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,9,Hangup Right, I'm confused now. This dialplan segment is expecting for you to dial 90, followed by nine digits. But the numbers as which you want to identify -- 4457901 to 4457999 -- are only seven digits long. I'm guessing there probably is an STD code consisting of 0 followed by two digits to indicate the town, and then a 7-digit local number within the town. In which case, I seem to have made a mistake at step 2, somehow letting an extraneous figure 8 get in. Try: exten = _90X,2,Set(outgoing_ident=44579${CALLERID(num):-2}) If that does not seem to work, try prefixing the 44579 with the STD code for your town, with and without the leading zero. And don't forget to reload the dialplan between edits :) -- 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
Re: [asterisk-users] OUTBOUND CALLER ID
Sir, On Tue, May 10, 2011 at 6:15 PM, A J Stiles asterisk_l...@earthshod.co.ukwrote: (Reformatted *again*. The proper place to post your reply is *below* the message or section to which you are replying, so it reads like: question, answer, question, answer. This makes things much easier for anyone with a similar problem in future, trying to make sense of old messages in the archives.) sorry sir I am new to asterisk, On Tuesday 10 May 2011, mahesh katta wrote: On Tue, May 10, 2011 at 4:49 PM, A J Stiles asterisk_l...@earthshod.co.ukwrote: Not working can mean a lot of things. So, let's start at the beginning. Have you ever actually managed to get an outgoing call to work *at all* -- i.e., successfully placed a call onto a trunk, made an external phone ring and been able to speak to the other party, even if the caller ID that shew up was incorrect ? Assuming so, please show the dialplan section that worked for that. Otherwise, you need to go back to first principles and work out exactly what you are doing wrong. We need to start from a point where you are able to place external calls *before* we can discuss how to set the desired caller ID to appear on the receiving end. Obligatory car analogy: There's no point arguing over whether motorways are quicker than A-roads, if you can't even get the engine to start. Next, please describe how to determine, based on the internal extension, what caller ID number should be presented to the outside world. A.j Sir, I am using vicidial server asterisk box. it has asterisk 1.27v , In sip configuration is extensiosn like below [5001] username=5001 secret=1234 mailbox=5001 type=friend^M host=dynamic^M canreinvite=no^M qualify=yes^M nat=yes^M context=default 5001 to 5099 and PRI pilot no. is 4457900 in dubai , telcom give a DID's 4457900 to 4457999, when i am dialing from pstn on DID's(inbound) that will connecting (i was configured with sip means when i dial the 4457901 from outside i will get a call on 5001 extension) O.K. So what are you seeing in the console when you place an outgoing call? There should be two NoOp() lines per call; one with the original extension number, and another with what we are trying to set the caller ID to. If it helps, change the lines for steps 1 and 3 as follows: exten = _90X,1,NoOp(Int exten:${CALLERID(num)}) exten = _90X,3,NoOp(Ext ident:${outgoing_ident}) so it is more obvious what they are supposed to represent. Run asterisk -vr in a console, reload the dialplan, capture some output as you make calls from various extensions, and paste it here. The important question is: Do the Ext ident numbers look like what they are supposed to? And if not, then how do they differ from what they are supposed to look like? NoOp(SIP/5001-b792a1a8, Int exten:044578999) in new stack -- Executing Set(SIP/5001-b792a1a8, outgoing_ident=044578999) in new stack -- Executing NoOp(SIP/5001-b792a1a8, Ext ident:044578999) in new stack -- Executing Set(SIP/5001-b792a1a8, CALLERID(name)=044578999) in new stack -- Executing AGI(SIP/5001-b792a1a8, agi://127.0.0.1:4577/call_log) in new stack -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0 -- Executing Set(SIP/5001-b792a1a8, CALLERID(num)=044578999) in new stack -- Executing MixMonitor(SIP/5001-b792a1a8, /var/spool/asterisk/astrec/20110510-172343-044578999-90559566768-1305033823.129.gsm|av(0)V(0)) in new stack -- Executing Dial(SIP/5001-b792a1a8, Zap/g0/0559566768||tTo) in new stack -- Requested transfer capability: 0x00 - SPEECH -- Called g0/0559566768 == Begin MixMonitor Recording SIP/5001-b792a1a8 -- Zap/1-1 is proceeding passing it to SIP/5001-b792a1a8 -- Zap/1-1 is making progress passing it to SIP/5001-b792a1a8 -- Hungup 'Zap/1-1' == Spawn extension (default, 90559566768, 8) exited non-zero on 'SIP/5001-b792a1a8' -- Executing DeadAGI(SIP/5001-b792a1a8, agi:// 127.0.0.1:4577/call_log--HVcauses--PRI-NODEBUG-0-CANCEL--) in new stack -- AGI Script agi:// 127.0.0.1:4577/call_log--HVcauses--PRI-NODEBUG-0-CANCEL--completed, returning 0 == End MixMonitor Recording SIP/5001-b792a1a8 here Problem when i dial (out bound) out of box from 5001 extensions the caller id showing pilot no. (4457900) . I need to display that DID's each extension. The usual cause of the caller ID not being set to what you want, is that you tried to set it to some number that is not allocated to you, and your telco changed it to some default. (Otherwise, you could fake your outgoing caller ID, which nobody wants.) sir i complaint to telco for this they are said that is set on router. exten = _90X,1,NoOp(${CALLERID(num)}) exten =
Re: [asterisk-users] OUTBOUND CALLER ID
You should set the callerid to the complete number. Country code, city/area code, and number. The number below looks to me to be far too short to be a UK number (country code 44), but I could be wrong. Your CARRIER must allow you to set outvbound Caller*ID. Have you verified with them that you are allowed to set the CID? -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of mahesh katta Sent: Tuesday, May 10, 2011 1:15 AM 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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X/5001,2,Set(CALLERID(name)=44578999) exten = _90X,3,AGI(agi://127.0.0.1:4577/call_log) exten = _90X/5001,4,Set(CALLERID(num)=44578999) exten = _90X,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTA MP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,6,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,7,Hangup On Mon, May 9, 2011 at 8:14 PM, Carlos Rojas crt.ro...@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 maheshka...@flexydial.com wrote: Sir , this is not working On Mon, May 9, 2011 at 1:52 PM, A J Stiles asterisk_l...@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
Re: [asterisk-users] OUTBOUND CALLER ID
On Tue, May 10, 2011 at 11:09 PM, Eric Wieling ewiel...@nyigc.com wrote: You should set the callerid to the complete number. Country code, city/area code, and number. The number below looks to me to be far too short to be a UK number (country code 44), but I could be wrong. sir this i was check with code also 04(area code) but no result , and may be i think country code is not require because they are doing in local and pri no. is landline no.. Your CARRIER must allow you to set outvbound Caller*ID. Have you verified with them that you are allowed to set the CID? I verify with telcom they are given on mail is that set the code 04 and isdn pri , national is type of switch. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of mahesh katta Sent: Tuesday, May 10, 2011 1:15 AM 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 = _90X,1,NoOp(${CALLERID(num)}) exten = _90X/5001,2,Set(CALLERID(name)=44578999) exten = _90X,3,AGI(agi://127.0.0.1:4577/call_log) exten = _90X/5001,4,Set(CALLERID(num)=44578999) exten = _90X,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTA MP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,6,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,7,Hangup On Mon, May 9, 2011 at 8:14 PM, Carlos Rojas crt.ro...@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 maheshka...@flexydial.com wrote: Sir , this is not working On Mon, May 9, 2011 at 1:52 PM, A J Stiles asterisk_l...@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
Re: [asterisk-users] OUTBOUND CALLER ID
What don't you get about this mailing list being non-commercial? Any reply to offer consulting should be directed to the person having the problem and not broadcast to the list. If you cannot follow the rules of the mailing list, then I have very little trust in you. Thanks, Steve Totaro On Tue, May 10, 2011 at 2:30 AM, DHAVAL INDRODIYA dhaval.it01...@gmail.comwrote: Hi Mahesh, I have solutions but its paid, i can provide setting if you are interested on counsultancy Cheers Dhaval On Tue, May 10, 2011 at 10:45 AM, mahesh katta maheshka...@flexydial.comwrote: sir, Below configuration i wase made in server . but this is not working. exten = _90X,1,NoOp(${CALLERID(num)}) exten = _90X/5001,2,Set(CALLERID(name)=44578999) exten = _90X,3,AGI(agi://127.0.0.1:4577/call_log) exten = _90X/5001,4,Set(CALLERID(num)=44578999) exten = _90X,5,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten = _90X,6,Dial(${TRUNK}/${EXTEN:1},,tTo) exten = _90X,7,Hangup On Mon, May 9, 2011 at 8:14 PM, Carlos Rojas crt.ro...@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 maheshka...@flexydial.comwrote: Sir , this is not working On Mon, May 9, 2011 at 1:52 PM, A J Stiles asterisk_l...@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 *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 -- _ -- 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 *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 -- _ -- 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
[asterisk-users] OUTBOUND CALLER ID
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 -- _ -- 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] OUTBOUND CALLER ID
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
Re: [asterisk-users] OUTBOUND CALLER ID
Sir , this is not working On Mon, May 9, 2011 at 1:52 PM, A J Stiles asterisk_l...@earthshod.co.ukwrote: 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 *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 -- _ -- 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] OUTBOUND CALLER ID
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 maheshka...@flexydial.comwrote: Sir , this is not working On Mon, May 9, 2011 at 1:52 PM, A J Stiles asterisk_l...@earthshod.co.ukwrote: 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 *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 -- _ -- 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] outbound caller ID
On 7/30/07, Vieri [EMAIL PROTECTED] wrote: I would like to know if one can set the outgoing caller ID within Asterisk when calls are going out through: 1) an analog POTS line (I suppose not) No. 2) a telco BRI line (I don't think so) 3) a telco PRI line (maybe) Both are the same thing, just the PRI has a more channels. It is up to the telco and/or local laws to determine that policy. 4) a voip provider (surely) Again, it is up to the provider and/or local laws to determine that. In general with wholesale providers you can set whatever CPN you desire. ___ --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] outbound caller ID
Hi, I would like to know if one can set the outgoing caller ID within Asterisk when calls are going out through: 1) an analog POTS line (I suppose not) 2) a telco BRI line (I don't think so) 3) a telco PRI line (maybe) 4) a voip provider (surely) Thanks, Vieri Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ ___ --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] outbound caller ID
1 No 2 I dont know. 3 Currently in the us the answer is yes On 7/30/07, Vieri [EMAIL PROTECTED] wrote: Hi, I would like to know if one can set the outgoing caller ID within Asterisk when calls are going out through: 1) an analog POTS line (I suppose not) 2) a telco BRI line (I don't think so) 3) a telco PRI line (maybe) 4) a voip provider (surely) Thanks, Vieri Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ ___ --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] outbound caller ID
On Mon, Jul 30, 2007 at 10:40:57AM -0400, C F wrote: On 7/30/07, Vieri [EMAIL PROTECTED] wrote: I would like to know if one can set the outgoing caller ID within Asterisk when calls are going out through: 1) an analog POTS line (I suppose not) 2) a telco BRI line (I don't think so) 3) a telco PRI line (maybe) 4) a voip provider (surely) 1 No 2 I dont know. 3 Currently in the us the answer is yes CNID, administratively, is assigned by the originating class-5 end office of the LEC or CLEC. Some carriers will permit you to specify what it should be, administratively, and some switches will accept what you send (definitely over a PRI, definitely at least some generics on a DMS-100, possibly on a BRI, definitely not on some other switches and generics). Whether a VoIP provider will permit you to set it is probably implementation-defined. The FCC has a finger in this pie as well, I believe; there was recent rulemaking about CNID spoofing, the results of which (I *think*) were to impose as a regulation the perfectly sensible limitation that you should only be permitted to send as originating CNID for the end office to propagate Directory Numbers which are administratively yours. Cheers, -- jra -- Jay R. Ashworth Baylink [EMAIL PROTECTED] Designer The Things I Think RFC 2100 Ashworth Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 ___ --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] outbound caller ID
On Mon, 30 Jul 2007 05:24:31 -0700 (PDT), Vieri wrote: Hi, I would like to know if one can set the outgoing caller ID within Asterisk when calls are going out through: 1) an analog POTS line (I suppose not) Nope 2) a telco BRI line (I don't think so) 3) a telco PRI line (maybe) 4) a voip provider (surely) Yepp, as long as the telco allows. In for example sweden, you can only set the CID to the numbers that you own. ___ --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] outbound caller ID
Am Montag, den 30.07.2007, 05:24 -0700 schrieb Vieri: Hi, I would like to know if one can set the outgoing caller ID within Asterisk when calls are going out through: 1) an analog POTS line (I suppose not) 2) a telco BRI line (I don't think so) 3) a telco PRI line (maybe) 4) a voip provider (surely) 1) No 2) Depends. In some ISDN networks you can pay for an additional feature CLI not screened or similar, which means the number sent will not be corrected by the telco switching equipment if an invalid number is sent. AFAIK standard ISDN lines do not allow to send a number that is not connected to the line in question. 3) AFAIK same for ISDN PRIs. 4) Depends. Some allow sending any number, some always send your number and do not even allow to bar the number. sipgate.de for example allow to send any German regular number (or any number that looks like a valid number), but blocks special (0800, 0900, 112) numbers. BR Anselm ___ --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] outbound caller ID
1. No 2. No 3. Only if your particular provider's switch allows it. Most will allow numbers to be set, but block the call if you try to set name. 4. Yes. Yours, Michael Munger, dCAP 404-438-2128 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of C F Sent: Monday, July 30, 2007 10:41 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] outbound caller ID 1 No 2 I dont know. 3 Currently in the us the answer is yes On 7/30/07, Vieri [EMAIL PROTECTED] wrote: Hi, I would like to know if one can set the outgoing caller ID within Asterisk when calls are going out through: 1) an analog POTS line (I suppose not) 2) a telco BRI line (I don't think so) 3) a telco PRI line (maybe) 4) a voip provider (surely) Thanks, Vieri Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ ___ --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 ___ --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] Outbound Caller ID number on E1
Hi All I am having a problem setting the outbound callerid number on a PRI E1 in South Africa. The outbound number keeps on appearing as the main PRI number. How does it work between Asterisk and the Telko? More importantly how do I get it working? Kind Regards Garth -- Garth van Sittert BSc (Physics Computer Science) - Mobile: +27 (0)83 791 6662 Email: [EMAIL PROTECTED] Phone: 08600 BITCO Web:www.bitco.co.za ___ --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] Outbound Caller ID number on E1
I have this problem in the UK on BT too. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Garth van Sittert Sent: 02 February 2006 11:37 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Outbound Caller ID number on E1 Hi All I am having a problem setting the outbound callerid number on a PRI E1 in South Africa. The outbound number keeps on appearing as the main PRI number. How does it work between Asterisk and the Telko? More importantly how do I get it working? Kind Regards Garth -- Garth van Sittert BSc (Physics Computer Science) - Mobile: +27 (0)83 791 6662 Email: [EMAIL PROTECTED] Phone: 08600 BITCO Web:www.bitco.co.za ___ --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 ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/ ___ --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
SV: [Asterisk-Users] Outbound Caller ID number on E1
How do you set the CallerID? Have you checked with your provider that they've enabled callerid? If yes, are you using a correct number that the provider allows? Regards, Jan -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Garth van Sittert Skickat: den 2 februari 2006 12:37 Till: Asterisk Users Mailing List - Non-Commercial Discussion Ämne: [Asterisk-Users] Outbound Caller ID number on E1 Hi All I am having a problem setting the outbound callerid number on a PRI E1 in South Africa. The outbound number keeps on appearing as the main PRI number. How does it work between Asterisk and the Telko? More importantly how do I get it working? Kind Regards Garth -- Garth van Sittert BSc (Physics Computer Science) - Mobile: +27 (0)83 791 6662 Email: [EMAIL PROTECTED] Phone: 08600 BITCO Web:www.bitco.co.za ___ --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 ___ --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] Outbound Caller ID number on E1
Garth van Sittert wrote: Hi All I am having a problem setting the outbound callerid number on a PRI E1 in South Africa. The outbound number keeps on appearing as the main PRI number. How does it work between Asterisk and the Telko? More importantly how do I get it working? Kind Regards Garth Telcos usually arrange outgoing CLI in one of 3 ways: - a free for all - you can put what you like as your CLI, and no checks are made - a rigid arrangement - no matter what you give as the CLI, the telco will replace it with a fixed value before passing the message on - a constrained arrangement - if you give a CLI within the range that is valid for you, it will be passed on. If you give something which is not allocated to you, the telco wil replace it with a fixed value. Sounds like you do not have the first arrangement. You might have the third, though. It could be you just aren't specifying your number correctly - either the digits themselves or the TON/NPI pair might not be right. Steve ___ --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] Outbound Caller ID number on E1
Thanks Steve We replaced an old Siemens that used to produce the outgoing numbers correctly, so we must have the 3rd option. The extensions are all set up to be in that range to provide DID. When the SIP extensions dial out will they provide the extension number which gets prefixed with what? Do I need to send the complete number, 3 digit area code + 4 digit extension to the Telko? Does the zapata.conf add the prefix? How can I check what callerid number is being passed to the Telko? Garth Steve Underwood wrote: Garth van Sittert wrote: Hi All I am having a problem setting the outbound callerid number on a PRI E1 in South Africa. The outbound number keeps on appearing as the main PRI number. How does it work between Asterisk and the Telko? More importantly how do I get it working? Kind Regards Garth Telcos usually arrange outgoing CLI in one of 3 ways: - a free for all - you can put what you like as your CLI, and no checks are made - a rigid arrangement - no matter what you give as the CLI, the telco will replace it with a fixed value before passing the message on - a constrained arrangement - if you give a CLI within the range that is valid for you, it will be passed on. If you give something which is not allocated to you, the telco wil replace it with a fixed value. Sounds like you do not have the first arrangement. You might have the third, though. It could be you just aren't specifying your number correctly - either the digits themselves or the TON/NPI pair might not be right. Steve ___ --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 -- Garth van Sittert BSc (Physics Computer Science) - Mobile: +27 (0)83 791 6662 Email: [EMAIL PROTECTED] Phone: 08600 BITCO Web:www.bitco.co.za ___ --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] Outbound Caller ID number on E1
Hi, I just had the same problem (see post Setting MSN for outgoing ISDN calls). It was very helpful to enable pri debug (pri debug span X). Just try different values for pridialplan, prilocaldialplan. And also try to do CallerPres right before the Dial command. How do you set your CallerID or MSN? I just do: exten = _X.,1,CallingPres(0) exten = _X.,2,SetCIDNum(123456) exten = _X.,3,Dial(Zap/g1/${EXTEN},60, T) exten = _X.,4,Busy() 123456 is my number without area code. (prilocaldialplan=local). Hope that helps, Henry -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! ___ --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] Outbound Caller ID on PRI
What did the Telco have to do? I want to get our outbound callid working properly... PaulH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rod Bacon Sent: Friday, 18 February 2005 4:08 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Outbound Caller ID on PRI As it turns out, it was a telco configuration problem all along. I wasted a day for nothing... - Original Message - From: George Cohn [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Friday, February 18, 2005 2:38 PM Subject: Re: [Asterisk-Users] Outbound Caller ID on PRI Rod Bacon wrote: Would someone mind doing an intense debug on their ISDN PRI and see what LEN (length) the calling number field is being sent? Maybe everyone is sending 14 characters, and my Telco is just fussier than most. Not asterisk related but on the Nortel Opt 81C switches that I maintain, the CLID is sent out on the PRI-ISDN span d-channels as (520) 873- which I believe is 14 characters. It shows up on my caller ID unit at home as (520) 873- which is 14 characters. The telco I am connected to is Time Warner and their CO switch is a Nortel DMS-500 running NI2 compatible software. This is in Arizona USA. George Cohn ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users CAUTION: This email message and accompanying data may contain information that is confidential. If you are not the intended recipient, you are notified that any use, dissemination, distribution or copying of this message or data is prohibited. If you have received this email message in error, please notify us immediately and erase all copies of this message and attachments. Thank you. CAUTION: This email message and accompanying data may contain information that is confidential. If you are not the intended recipient, you are notified that any use, dissemination, distribution or copying of this message or data is prohibited. If you have received this email message in error, please notify us immediately and erase all copies of this message and attachments. Thank you. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Outbound Caller ID on PRI
Rod Bacon wrote: Would someone mind doing an intense debug on their ISDN PRI and see what LEN (length) the calling number field is being sent? Maybe everyone is sending 14 characters, and my Telco is just fussier than most. Not asterisk related but on the Nortel Opt 81C switches that I maintain, the CLID is sent out on the PRI-ISDN span d-channels as (520) 873- which I believe is 14 characters. It shows up on my caller ID unit at home as (520) 873- which is 14 characters. The telco I am connected to is Time Warner and their CO switch is a Nortel DMS-500 running NI2 compatible software. This is in Arizona USA. George Cohn ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Outbound Caller ID on PRI
As it turns out, it was a telco configuration problem all along. I wasted a day for nothing... - Original Message - From: George Cohn [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Friday, February 18, 2005 2:38 PM Subject: Re: [Asterisk-Users] Outbound Caller ID on PRI Rod Bacon wrote: Would someone mind doing an intense debug on their ISDN PRI and see what LEN (length) the calling number field is being sent? Maybe everyone is sending 14 characters, and my Telco is just fussier than most. Not asterisk related but on the Nortel Opt 81C switches that I maintain, the CLID is sent out on the PRI-ISDN span d-channels as (520) 873- which I believe is 14 characters. It shows up on my caller ID unit at home as (520) 873- which is 14 characters. The telco I am connected to is Time Warner and their CO switch is a Nortel DMS-500 running NI2 compatible software. This is in Arizona USA. George Cohn ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Outbound Caller ID on PRI
On 15 Feb 2005, at 05:44, Rod Bacon wrote: Some more info on my problem that someone may be able to explain. The debug information (shown below), lists the LENGTH of the CallerID string as 14 characters, even though I'm only sending 10. I belive that this is the problem. My telco's equipment is looking for 10 characters only. Any ideas where these extra 4 characters are coming from? Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) Presentation: Presentation permitted, user number passed network screening (1) '0386172169' I think the 'extra' bytes are part of the data structure, and perfectly normal. I'm basing this remark on a very quick look at the source code. in dump_called_party_number() in llibpri/q931.c it says: q931_get_number(cnum, sizeof(cnum), ie-data + 1, len - 3); Which looks like the first byte and the last 3 bytes are protocol surrounding the actual number. My best advice is to call your PTT and ask them how many digits they expect you to send, I am guessing they only expect the last 2, but only they know for sure. If I get the time I'll do a debug on my E1 PRI span later today and send you the results. Tim. http://www.westhawk.co.uk/ ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Outbound Caller ID on PRI
On Tue, 15 Feb 2005, tim panton wrote: My best advice is to call your PTT and ask them how many digits they expect you to send, I am guessing they only expect the last 2, but only they know for sure. Also ask them if they require a specific Type Of Number for the outgoing callerid. (Configure that with the prilocaldialplan option). Peter ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Outbound Caller ID on PRI
We have just had an ISDN PRI service commissioned here in AU (using Powertel as provider). I have called them and ensured that we have the ability to set Caller ID on our service to any number in our 100 number block, and I have been assured that everything is OK from their end (unlikely). Every time I drop a sample.call in to /var/spool/asterisk/outgoing with the Callerid: option set, the resultant call still appears to come from our main number. I want to make sure that it's definitely not our problem before I hassle the telco. I have debugged the PRI span, and have seen the following. Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) Presentation: Presentation permitted, user number passed network screening (1) '0386172169' ] I am using a Zaptel Quad PRI card, and currently have an ISDN-10 service connected. Can anyone offer any suggestions? ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Outbound Caller ID on PRI
Some more info on my problem that someone may be able to explain. The debug information (shown below), lists the LENGTH of the CallerID string as 14 characters, even though I'm only sending 10. I belive that this is the problem. My telco's equipment is looking for 10 characters only. Any ideas where these extra 4 characters are coming from? Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) Presentation: Presentation permitted, user number passed network screening (1) '0386172169' == Rod Bacon - VOIP Systems Engineer Empowered Communications Ground Floor, 102 York St. South Melbourne Victoria, Australia. 3205 Phone: +613 99401600Fax: +613 99401650 FWD: 512237IAXtel: 17007401708 == ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Outbound Caller ID on PRI
On Tue, 2005-02-15 at 16:44 +1100, Rod Bacon wrote: Some more info on my problem that someone may be able to explain. The debug information (shown below), lists the LENGTH of the CallerID string as 14 characters, even though I'm only sending 10. I belive that this is the problem. My telco's equipment is looking for 10 characters only. Any ideas where these extra 4 characters are coming from? Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) Presentation: Presentation permitted, user number passed network screening (1) '0386172169' I think TON = national you should send a CID of 386172169 ie, without the leading 0 Although I use this: exten = s,4,SetCIDNum() ie, just the 8 digits, which works fine... and my zapata.conf has: pridialplan=local Hope that helps, Regards, Adam -- -- Adam Goryachev Website Managers Ph: +61 2 8304 [EMAIL PROTECTED] Fax: +61 2 9345 4396www.websitemanagers.com.au -- -- Adam Goryachev Website Managers Ph: +61 2 8304 [EMAIL PROTECTED] Fax: +61 2 9345 4396www.websitemanagers.com.au ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Outbound Caller ID on PRI
Hi, I'd like to add to that answer. Try just sending the phone number without any area code - eg 8617-2169 When calls come in on DID numbers they are always minus areacode so it would go without saying that they should be sent out the same way. Regards, Kimble Young Adam Goryachev wrote: On Tue, 2005-02-15 at 16:44 +1100, Rod Bacon wrote: Some more info on my problem that someone may be able to explain. The debug information (shown below), lists the LENGTH of the CallerID string as 14 characters, even though I'm only sending 10. I belive that this is the problem. My telco's equipment is looking for 10 characters only. Any ideas where these extra 4 characters are coming from? Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) Presentation: Presentation permitted, user number passed network screening (1) '0386172169' I think TON = national you should send a CID of 386172169 ie, without the leading 0 Although I use this: exten = s,4,SetCIDNum() ie, just the 8 digits, which works fine... and my zapata.conf has: pridialplan=local Hope that helps, Regards, Adam ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Outbound Caller ID on PRI
think TON = national you should send a CID of 386172169 ie, without the leading 0 Although I use this: exten = s,4,SetCIDNum() ie, just the 8 digits, which works fine... and my zapata.conf has: pridialplan=local I'm sure there is a setting somewhere, but I'm damned if I can find it. I have tried all possible values for prilocaldialplan (Calling number plan) but nothing makes any difference. The LEN field is always 14 (no matter what string I send). == Rod Bacon - VOIP Systems Engineer Empowered Communications Ground Floor, 102 York St. South Melbourne Victoria, Australia. 3205 Phone: +613 99401600Fax: +613 99401650 FWD: 512237IAXtel: 17007401708 == ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Outbound Caller ID on PRI
Would someone mind doing an intense debug on their ISDN PRI and see what LEN (length) the calling number field is being sent? Maybe everyone is sending 14 characters, and my Telco is just fussier than most. == Rod Bacon - VOIP Systems Engineer Empowered Communications Ground Floor, 102 York St. South Melbourne Victoria, Australia. 3205 Phone: +613 99401600 Fax: +613 99401650 FWD: 512237 IAXtel: 17007401708 == ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Outbound Caller ID on PRI
Being a Melbourne ISDN user as well, I am looking forward to you solving this... Later, PaulH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rod Bacon Sent: Tuesday, 15 February 2005 5:18 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Outbound Caller ID on PRI think TON = national you should send a CID of 386172169 ie, without the leading 0 Although I use this: exten = s,4,SetCIDNum() ie, just the 8 digits, which works fine... and my zapata.conf has: pridialplan=local I'm sure there is a setting somewhere, but I'm damned if I can find it. I have tried all possible values for prilocaldialplan (Calling number plan) but nothing makes any difference. The LEN field is always 14 (no matter what string I send). == Rod Bacon - VOIP Systems Engineer Empowered Communications Ground Floor, 102 York St. South Melbourne Victoria, Australia. 3205 Phone: +613 99401600Fax: +613 99401650 FWD: 512237IAXtel: 17007401708 == ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users CAUTION: This email message and accompanying data may contain information that is confidential. If you are not the intended recipient, you are notified that any use, dissemination, distribution or copying of this message or data is prohibited. If you have received this email message in error, please notify us immediately and erase all copies of this message and attachments. Thank you. CAUTION: This email message and accompanying data may contain information that is confidential. If you are not the intended recipient, you are notified that any use, dissemination, distribution or copying of this message or data is prohibited. If you have received this email message in error, please notify us immediately and erase all copies of this message and attachments. Thank you. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] outbound caller ID problem on PRI
Alastair: At least in some European countries and southamerican environments, you can't send your own ANI. For example: if you have a PRI with the number: 5288 to 52880099, you could send as ANI any number between 000 and 099. The fixed part will be transmitted by your PSTN switch to the network attaching the last 2 number that you send. Generally, if you send a differente qty of numbers that the switch needs, the ANI transmited by the PSTN switch will be the DID number (generally, 5288). If you could send you own ANI, the carriers will be charge the calls to that ANI... think about it. It's a fraude principle. You could set Presentation Indicator in setup message. If you set to Allow your ANI will be shown in the other side, and if you set as Not allow the PSTN will hide your ANI. This is valid only to show the data in the B subscriber FSK demodulator (callerid receiver). Regards, Gus - Original Message - From: Alastair Maw [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:57 PM Subject: [Asterisk-Users] outbound caller ID problem on PRI I can't seem to hide and/or set my caller ID from *. I'm using a quite recent (three weeks or so) CVS with an E400P card. I have pridialplan=unknown in zapata.conf and I'm based in the UK. The relevant bit of pri debug looks like this (reformatted to fit 80 char width): Calling Number (len= 4) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) Presentation: Unknown (67) '' ] I'm dialing in from SIP outbound to Zap with a context like this: exten = _X.,1,SetCallerID(mxtelecom 0845123456) exten = _X.,2,Dial(Zap/1/${EXTEN}) Although: exten = _X.,1,SetCallerID(0845123456|a) exten = _X.,2,Dial(Zap/1/${EXTEN}) Equally doesn't work. I've tried setting these in zapata.conf: callerid=foo 0845123456 hidecallerid=yes No matter what I do, I get a default caller ID provided by my telco. If I prefix the number dialed with 141 (standard UK hide caller ID) the caller ID isn't presented to the end user, but this is an ugly kludge that I don't want to have to do. Ideally, I'd like to be able to set my callerID to an arbitrary number. If I set pridialplan=national/international I can't work out what format the outbound calls numbers should take and get denied messages back. Anyone have any ideas? -- Alastair Maw MX Telecom - Systems Analyst www.mxtelecom.com ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] outbound caller ID problem on PRI
I can't seem to hide and/or set my caller ID from *. I'm using a quite recent (three weeks or so) CVS with an E400P card. I have pridialplan=unknown in zapata.conf and I'm based in the UK. The relevant bit of pri debug looks like this (reformatted to fit 80 char width): Calling Number (len= 4) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) Presentation: Unknown (67) '' ] I'm dialing in from SIP outbound to Zap with a context like this: exten = _X.,1,SetCallerID(mxtelecom 0845123456) exten = _X.,2,Dial(Zap/1/${EXTEN}) Although: exten = _X.,1,SetCallerID(0845123456|a) exten = _X.,2,Dial(Zap/1/${EXTEN}) Equally doesn't work. I've tried setting these in zapata.conf: callerid=foo 0845123456 hidecallerid=yes No matter what I do, I get a default caller ID provided by my telco. If I prefix the number dialed with 141 (standard UK hide caller ID) the caller ID isn't presented to the end user, but this is an ugly kludge that I don't want to have to do. Ideally, I'd like to be able to set my callerID to an arbitrary number. If I set pridialplan=national/international I can't work out what format the outbound calls numbers should take and get denied messages back. Anyone have any ideas? -- Alastair Maw MX Telecom - Systems Analyst www.mxtelecom.com ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users