Re: [asterisk-users] Outgoing CallerID for KPN in Belgium

2009-06-24 Thread Rob Hillis
Bart Coninckx wrote:
> Hi, 
>
> I'm using a ISDN-30 E1 line from KPN Belgium.
>
> The challenge is to get a correct CallerID on outgoing lines.
>
> When I put this in my dialplan:
>
> exten => _0.,1,Set(TEMPVAR=${CALLERID(num):1})
> exten => _0.,2,Set(CALLERID(num)=144622${TEMPVAR})
> exten => _0.,3,NoOp(${CALLERID(num)})
> exten => _0.,4,Dial(Zap/g1/${EXTEN:1},,)
>
> The resulting CallerID is accepted by the telco, but on phones it shows for 
> instance as:
> +14462241, whereas it should be +3214462241. So it seems the telco adds a 
> "+". I've tried to then use:
>
> exten => _0.,2,Set(CALLERID(num)=32144622${TEMPVAR})
>
> but the telco seems not to accept this since it sends the general CallerID 
> out. 
>
> Any clues on what I need to change to get this working? Is it something in 
> zapata.conf? Is it related to nationalprefix and internationalprefix?

Your best bet is to ask your telco what caller ID format you should be
presenting.  Asterisk is obviously working as expected, but for whatever
reason the telco is either not accepting the right format, or not
processing the presented caller ID correctly.


___
-- 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] Outgoing CallerID

2007-04-19 Thread Forrest Beck

Thanks.  I will just use the asterisk database.

This brought up a new question though.

This is what I am using to dial out.  If a key for the phone exist in
the db it will assign it the did specified.  If not, just assign the
main incoming operator number.

I have a new family in the astdb named external_did.  Some entries
look like this:

external_did/2503/9195551212
external_did/2505/9195551213

[macro-dialoutpstn]
exten => s,1,Set(curextension=${CALLERID(num)})
exten => s,2,Set(dbdid="${DB(external_did/${curextension})}")
exten => s,3,NoOp(${curextension})
exten => s,4,NoOp(${dbdid})
exten => s,4,GoToIf($["${dbdid}" = ""]?5:8)
exten => s,5,Set(CALLERID(num)=9195559595)
exten => s,6,Dial(SIP/mspri/${MACRO_EXTEN:1},300)
exten => s,7,Hanup()
exten => s,8,Set(CALLERID(num)=${DB(external_did/${curextension})})
exten => s,9,NoOp(${CALLERID(num)})
exten => s,10,Dial(SIP/mspri/${MACRO_EXTEN:1},300)
exten => s,11,Hangup()

This works just fine.

Now what about my incoming calls.  My incoming calls will be sent from
the telco to asterisk as the seven digit number that was dialed.  So
if I have _X. in my context it will be processed as extension
9195551212.

So is there a way to lookup in the asterisk database a value and
return the key it belongs to?  Because I already have the phone number
in the asterisk database set to each extension.

I know I could just create a new family and add the keys there, like so

incoming_did/9195551212/2503
incoming_did/9195551213/2504

I was just looking to see if I could save myself a step.

This may be where I will need to switch to MySQL.



On 4/19/07, Alex Balashov <[EMAIL PROTECTED]> wrote:


On Thu, 19 Apr 2007, Forrest Beck said something to this effect:

> I thought of maybe adding a key for each extension to the astdb and
> have a Macro query the astdb.  Any other ideas?

   That would work, and is certainly the easiest, since you can bulk-load
the DID -> extension maps via external CLI commands with a simple script.

   You could also have Asterisk do MySQL dips for this information, if the
desire is to administer it from a web-based front-end.  Or if there is
some sort of mathematical relationship between the extension and the DID
range, the dialplan interpreter itself is capable of fairly sophisticated
mathematical extrapolations.

-- Alex

--
Alex Balashov <[EMAIL PROTECTED]>
___
--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




--
***
Forrest Beck
IAXTEL: 17002871718
[EMAIL PROTECTED]
___
--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] Outgoing CallerID

2007-04-19 Thread David Gomillion

On 4/19/07, Forrest Beck <[EMAIL PROTECTED]> wrote:



I thought of maybe adding a key for each extension to the astdb and
have a Macro query the astdb.  Any other ideas?




That's how we do it. We created a MySQL DB that maps DIDs to extensions, and
a php script to write our configuration files for us (a file called did.conf,
which is #include'd into extensions.conf), as well as push the DID into the
Asterisk DB. Actually the DB holds all of the information for our phones,
and all of the files we need are generated each night, including sip
configs, provisioning files for our Polycoms,  the dhcpd configurations to
give "static" addresses, and a few other miscellaneous files. And it creates
our phone list. The nice thing about building the DB yourself is that you
can do anything you want with it.

On one of our boxes, I went a step further and created individual outgoing
contexts, one for each device. The context set the caller ID. But it was
definite overkill; I haven't done that since.


Thanks.


--
***
Forrest Beck
IAXTEL: 17002871718
[EMAIL PROTECTED]
___
--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] Outgoing CallerID

2007-04-19 Thread Alex Balashov


On Thu, 19 Apr 2007, Forrest Beck said something to this effect:


I thought of maybe adding a key for each extension to the astdb and
have a Macro query the astdb.  Any other ideas?


  That would work, and is certainly the easiest, since you can bulk-load
the DID -> extension maps via external CLI commands with a simple script.

  You could also have Asterisk do MySQL dips for this information, if the
desire is to administer it from a web-based front-end.  Or if there is
some sort of mathematical relationship between the extension and the DID
range, the dialplan interpreter itself is capable of fairly sophisticated
mathematical extrapolations.

-- Alex

--
Alex Balashov <[EMAIL PROTECTED]>
___
--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] Outgoing CallerID on PRI problems

2004-06-29 Thread Alastair Maw
On 29/06/04 15:13, McInnis, JP wrote:
The monitor shows that the CallerID is being set to the specified
number, but yet when the call is received on the user end the ID is
always the base number of our DID.  [...]
There are many things to try that others haven't touched on.
 - Make sure your pridialplan setting is correct for both dialled *and*
   presented number.
 - Make sure you're sending the right number of digits. You can ask your
   telco how many to send if they're clueful and you can find the right
   techie to talk to.
 - Some things are misleading. For example, we discovered we could set our
   presentation TON (pridialplan) to be international, and that this would
   work for most lines, but that for for some calls routed over least-cost
   routing to mobile operators and the like the caller ID wasn't appearing
   on the remote party's 'phone. We discovered that the telco only
   properly supports the TON being national on their switch.
One of our telcos requires a different pridialplan (type of number, or 
TON) for the presented number than for the dialled number, which Asterisk 
doesn't natively support. We realised this must be the case because we 
tried everything else and when you do a "pri debug span x" (where x should 
be replaced by a span number, obviously) in the call setup it keeps 
claiming you have an invalid number being presented (I don't have the 
precise log to hand, I'm afraid). If you discover this is the case, e-mail 
me and I can send you a patch. I ought to get around to adding a bug 
report/feature request about that, too. :)

You may also want to check out the Callingpres() app. For example, to hide 
caller ID on many PRI switches, first you have to set it to something, 
then you have to specify that you want it hidden. Otherwise Asterisk 
doesn't know what TON to set (because there isn't a number), so it sets 
the TON to unknown (0), and it doesn't work:

[dialZapHideCli]
exten => _X.,1,SetCallerID(1234567890)
exten => _X.,2,Callingpres(35)
exten => _X.,3,Dial(Zap/g1/${EXTEN})
Regards,
Alastair
--
Alastair Maw
Systems Analyst
http://www.mxtelecom.com
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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] Outgoing CallerID on PRI problems

2004-06-29 Thread Robinson Tim-W10277
Some telcos require you only to send a certain number of digits.  Try
sending fewer and fewer digits and see if it starts working.  E.g.
instead of sending 1601abcdefg try sending 601abcdefg or abcdefg or defg
or even fg

If this doesn't work, from the CLI type pri debug span x and see what
you get in the SETUP message.

Other possiblities are in zapata.conf - you may need to set the correct
parameters for your type of PRI.  Best thing might be to ask your telco
how your line is configured.

Please report back with success/failure.  We all like to hear of
people's successes as well as problems!

Rgds
Tim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of McInnis, JP
Sent: 29 June 2004 15:13
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] Outgoing CallerID on PRI problems



For outgoing calls made on our PRI circuit we are setting the Caller ID
using the format

Exten => _9XXX,1,SetCallerID(1601XXX)

The monitor shows that the CallerID is being set to the specified
number, but yet when the call is received on the user end the ID is
always the base number of our DID.  For example we have 8600-8650 as
DID's but the callerid is always 8600 regardless of the extension that
makes the outgoing call.

We have tried using the variable SetCallerID(${BYEXTENSION}) but still
get the same results.

Any suggestions?
 

JP McInnis, Director of Technology
Copiah Lincoln Community College
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
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] Outgoing CallerID on PRI problems

2004-06-29 Thread Eric Wieling
Drop the leading 1

On Tue, 2004-06-29 at 09:13, McInnis, JP wrote:
> For outgoing calls made on our PRI circuit we are setting the Caller ID
> using the format
> 
> Exten => _9XXX,1,SetCallerID(1601XXX)
> 
> The monitor shows that the CallerID is being set to the specified
> number, but yet when the call is received on the user end the ID is
> always the base number of our DID.  For example we have 8600-8650 as
> DID's but the callerid is always 8600 regardless of the extension that
> makes the outgoing call.
> 
> We have tried using the variable SetCallerID(${BYEXTENSION}) but still
> get the same results.
> 
> Any suggestions?
>  
> 
> JP McInnis, Director of Technology
> Copiah Lincoln Community College
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
  Eric Wieling * BTEL Consulting * 504-899-1387 x2111
"In a related story, the IRS has recently ruled that the cost of Windows
upgrades can NOT be deducted as a gambling loss."

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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] Outgoing CallerID on PRI problems

2004-06-29 Thread Bruce Komito
Regardless of what you send in callerid, your PRI has a phone number
associated with it that you don't see, but is used for billing.  This is
so you cannot spoof the LD company into thinking the call came from
somewhere other than from you.  I believe the PRI provider can provision
the PRI to use either this "hard-wired" callerid , or the one you provide.
It sounds to me like your PRI is provisioned as the former.  I would talk
to your PRI provider and see if they agree and are willing to change this.

Bruce Komito
High Sierra Networks, Inc.
www.servers-r-us.com
(775) 236-5815


On Tue, 29 Jun 2004, McInnis, JP wrote:

>
> For outgoing calls made on our PRI circuit we are setting the Caller ID
> using the format
>
> Exten => _9XXX,1,SetCallerID(1601XXX)
>
> The monitor shows that the CallerID is being set to the specified
> number, but yet when the call is received on the user end the ID is
> always the base number of our DID.  For example we have 8600-8650 as
> DID's but the callerid is always 8600 regardless of the extension that
> makes the outgoing call.
>
> We have tried using the variable SetCallerID(${BYEXTENSION}) but still
> get the same results.
>
> Any suggestions?
>
>
> JP McInnis, Director of Technology
> Copiah Lincoln Community College
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
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] Outgoing CallerID on PRI problems

2004-06-29 Thread Andrew Kohlsmith
On Tuesday 29 June 2004 10:13, McInnis, JP wrote:
> The monitor shows that the CallerID is being set to the specified
> number, but yet when the call is received on the user end the ID is
> always the base number of our DID.  For example we have 8600-8650 as
> DID's but the callerid is always 8600 regardless of the extension that
> makes the outgoing call.

Your telco is restricting your outgoing caller ID.  I'd contact your sales 
rep, as this is something only the telco can fix.

-A.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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] Outgoing CallerID

2003-10-16 Thread Mickey Binder
> Calling Number (len=12) [ Ext: 0  TON: International Number 
> (1)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> >Presentation: Presentation 
> permitted, user number passed network screening (1) '4330' ]
> It might be that the number plan is international 
> Change pridialplan to unknown in zapata.conf
> 
> Martin
> 
> > Called Number (len=11) [ Ext: 1  TON: International Number 
> (1)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '2840' ]
> >
> > Cant figure out what's wrong?
> >
> > regards
> > Mickey Binder
> > 
> ÿÿÿÀ²×«ŠÉÿRÇ«²f¢–)à–+-Ë^®+$ýK
> ®ÏåŠËlýØ Šéÿr‰¡¶Úÿÿùb²Ûÿv("ºoÜ¢oæj)fjåŠËbú?jË^®+$þë

That was it, I changed dialplan=international to dialplan=unknown and it worked.

Thank you very much

Mickey Binder
[EMAIL PROTECTED])fjåŠËbú?jË^®+$ºÇ«

Re: [Asterisk-Users] Outgoing CallerID

2003-10-16 Thread CW_ASN - Gus
Mickey:

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 or number you have sent is wrong, the ANI transmited by the
PSTN switch will be the main 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 specify which number (between your number range) you send to PSTN
switch.

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).

Please don't confuse about CallerID with ANI! You can hide or send a
particular CallerID, but you never can hide your ANI o sends other ANI range
than yours. In fact, the CallerID follows to ANI digits. Technically,
CallerID is only 1 byte that allow to hide o shows your ANI. Thats all...


Regards,

Gus

- Original Message -
From: "Mickey Binder" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 4:09 PM
Subject: RE: [Asterisk-Users] Outgoing CallerID


> > > JanM wrote:
> > >
> > > > Hello,
> > > >
> > > > Does anyone know how to set the outgoing CallerID properly
> > > when using Snom200/SIP/CAPI/BRI?
> > > >
> > --SNIP--
> > > > My mobile is only showing some other number that my isdn
> > > line is having.
> > > >
> > > > ---JanM---
> > > Telecom restrictions?
> > > I can set only caller IDs within the set of numbers provided
> > > me from telecom.
> > > Check with your telecom if you're allowed to set any caller ID.
> >
> > I'm experiencing the exact same behavior.
> >
> > I have an E1 line (using TE410P) with 30 numbers associated
> > to it, and I know that I'm allowed to change the outgoing
> > CallerID, because our production PBX is a Lucent
> > ArgentBranch, and when dialing out from this the CallerId
> > displays correct. I've tried some different configurations in
> > order to get it to work but without luck.
> >
> > This is a snip of my extensions.conf
> >
> > [Outgoing]
> > ;
> > ;Outside access via Zaptel interface (PRI)
> > exten => _XX.,1,SetCallerId(4330)
> > exten => _XX.,2,Dial,Zap/g1/BYEXTENSION
> >
> > The main isdn number is 4399 and is the only number I can
> > get displayed when calling.
> >
> > regards
> > Mickey Binder
>
> I've done some more testing and by debugging the pri span I think I've
found where it tries to present the outgoing id.
>
> To me everything looks ok but still the only number I see from the outside
is my main ISDN number.
>
> Here is a couple of lines from the log:
>
> Calling Number (len=12) [ Ext: 0  TON: International Number (1)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>Presentation: Presentation permitted, user
number passed network screening (1) '4330' ]
> Called Number (len=11) [ Ext: 1  TON: International Number (1)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '2840' ]
>
> Cant figure out what's wrong?
>
> regards
> Mickey Binder
> ®R²--®R²¶,r?¡¶ÚþX¬¶Çb,+¦r?¿T¨¥T©ÿ-+-Swèý«-z¸¬'ë

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Outgoing CallerID

2003-10-16 Thread Martin Pycko
> Calling Number (len=12) [ Ext: 0  TON: International Number (1)  NPI: ISDN/Telephony 
> Numbering Plan (E.164/E.163) (1)
>Presentation: Presentation permitted, user number passed 
> network screening (1) '4330' ]
It might be that the number plan is international 
Change pridialplan to unknown in zapata.conf

Martin

> Called Number (len=11) [ Ext: 1  TON: International Number (1)  NPI: ISDN/Telephony 
> Numbering Plan (E.164/E.163) (1) '2840' ]
>
> Cant figure out what's wrong?
>
> regards
> Mickey Binder
> ÿÿÿÀ²×«ŠÉÿRÇ«²f¢–)à–+-Ë^®+$ýK®ÏåŠËlýØ Šéÿr‰¡¶Úÿÿùb²Ûÿv("ºoÜ¢oæj)fjåŠËbú?jË^®+$þë
>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Outgoing CallerID

2003-10-16 Thread Mickey Binder
> > JanM wrote:
> > 
> > > Hello,
> > > 
> > > Does anyone know how to set the outgoing CallerID properly 
> > when using Snom200/SIP/CAPI/BRI?
> > > 
> --SNIP--
> > > My mobile is only showing some other number that my isdn 
> > line is having.
> > > 
> > > ---JanM---
> > Telecom restrictions?
> > I can set only caller IDs within the set of numbers provided 
> > me from telecom.
> > Check with your telecom if you're allowed to set any caller ID.
> 
> I'm experiencing the exact same behavior. 
> 
> I have an E1 line (using TE410P) with 30 numbers associated 
> to it, and I know that I'm allowed to change the outgoing 
> CallerID, because our production PBX is a Lucent 
> ArgentBranch, and when dialing out from this the CallerId 
> displays correct. I've tried some different configurations in 
> order to get it to work but without luck.
> 
> This is a snip of my extensions.conf
> 
> [Outgoing]
> ;
> ;Outside access via Zaptel interface (PRI)
> exten => _XX.,1,SetCallerId(4330)
> exten => _XX.,2,Dial,Zap/g1/BYEXTENSION
> 
> The main isdn number is 4399 and is the only number I can 
> get displayed when calling.
>  
> regards
> Mickey Binder

I've done some more testing and by debugging the pri span I think I've found where it 
tries to present the outgoing id.

To me everything looks ok but still the only number I see from the outside is my main 
ISDN number.

Here is a couple of lines from the log:

Calling Number (len=12) [ Ext: 0  TON: International Number (1)  NPI: ISDN/Telephony 
Numbering Plan (E.164/E.163) (1)
   Presentation: Presentation permitted, user number passed 
network screening (1) '4330' ]
Called Number (len=11) [ Ext: 1  TON: International Number (1)  NPI: ISDN/Telephony 
Numbering Plan (E.164/E.163) (1) '2840' ]

Cant figure out what's wrong?

regards
Mickey Binder
,µêâ²E,z»&j)bž b²Ð,µêâ²E,z»%ŠËlv("ºg(šm§ÿåŠËlv("ºg(›ùšŠYšŸùb²Ø§~Ú²×«ŠÉ.±êì

RE: [Asterisk-Users] Outgoing CallerID

2003-10-16 Thread Mickey Binder
> JanM wrote:
> 
> > Hello,
> > 
> > Does anyone know how to set the outgoing CallerID properly 
> when using Snom200/SIP/CAPI/BRI?
> > 
--SNIP--
> > My mobile is only showing some other number that my isdn 
> line is having.
> > 
> > ---JanM---
> Telecom restrictions?
> I can set only caller IDs within the set of numbers provided 
> me from telecom.
> Check with your telecom if you're allowed to set any caller ID.

I'm experiencing the exact same behavior. 

I have an E1 line (using TE410P) with 30 numbers associated to it, and I know that I'm 
allowed to change the outgoing CallerID, because our production PBX is a Lucent 
ArgentBranch, and when dialing out from this the CallerId displays correct. I've tried 
some different configurations in order to get it to work but without luck.

This is a snip of my extensions.conf

[Outgoing]
;
;Outside access via Zaptel interface (PRI)
exten => _XX.,1,SetCallerId(4330)
exten => _XX.,2,Dial,Zap/g1/BYEXTENSION

The main isdn number is 4399 and is the only number I can get displayed when 
calling.
 
regards
Mickey Binder
,µêâ²E,z»&j)bž b²Ð,µêâ²E,z»%ŠËlv("ºg(šm§ÿåŠËlv("ºg(›ùšŠYšŸùb²Ø§~Ú²×«ŠÉ.±êì

Re: [Asterisk-Users] Outgoing CallerID

2003-10-14 Thread Anton Tinchev
JanM wrote:

> Hello,
> 
> Does anyone know how to set the outgoing CallerID properly when using 
> Snom200/SIP/CAPI/BRI?
> 
> Following doesn´t work:
> exten => _0.,1,SetCallerID,526910
> exten => _0.,2,Dial,CAPI/526980:${EXTEN:1}
> 
> Asterisk writes:
> *CLI> -- Executing SetCallerID("SIP/226-ada0", "526910") in new stack
> -- Executing Dial("SIP/226-ada0", "CAPI/526980:0408665390") in new stack
> -- Called 526980:0408665390
> -- CAPI[contr3/526980]/0 is ringing
> 
> My mobile is only showing some other number that my isdn line is having.
> 
> ---JanM---
Telecom restrictions?
I can set only caller IDs within the set of numbers provided me from telecom.
Check with your telecom if you're allowed to set any caller ID.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] outgoing callerid string

2003-07-17 Thread John Todd
You can use the SetCallerID application to do this, as well. 
Whenever a call is destined for the "outside" world, just 
SetCallerID(13334445)

Am I missing something more complex here?

Of course, you'll need to have a PRI to do this, and 1333444 
needs to be a permitted number for your outbound calls.

JT



You can set this in zapata.conf.
Basically, you just define the callerid before you define the channel.
Outgoing channels will have the callerid of the company, and internal
channels will have the callerid of the extension.
In zapata.conf
Example:
;I don't think you have to change anything in the fxo_ks channels
because that will be handled by the phone company.
signalling=fxs_ks
callerid=>"Receptionist" <0>
channel=>4
callerid=>"Adam West" <555>
channel=>5
Is there a way for me to set my outgoing callerid string so that all
callers outside of my pbx see our callerid string as company name main
company number but callers inside our telephone network see extension
holders name extension number?  In looking at the references it looks
like
I can do one or the other but not both.  Does anyone know how I might
accomplish this?
Thanks for any suggestions.
AJ
___
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 mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users