[asterisk-users] outgoing callerid problem

2010-02-20 Thread Peter Gelencser
Hi,


I have a B410P card with bri_cpe signalling and two Openvox analog card 
(A1200p, A800P) with fxo_ks signalling. From the ISDN we have 
Point-Point 10 connection with a 10 public phone number range. If I 
receive a public call, the asterisk recevies the last two digit from 
this range, so it works, I can receive all the 10 numbers. If I'd like 
to dial from an exten which I have to dedicate a public phone number, 
the callerid always the fist number from the range.

the chan_dahdi.conf

[channels]
usecallerid=yes
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
callgroup=1
pickupgroup=1
useincomingcalleridondahditransfer = yes
mohinterpret=default
mohsuggest=default
#include dahdi-channels.conf

switchtype = euroisdn
signalling = bri_cpe
group = 0
channel = 1,2,4,5,7,8,10,11

signalling=fxo_ks
group = 0
channel =13-28


the dahdi-channels.conf


just on of the channels which I need a public phone number instead of 
39XXX50

;;; line=23 OPVXA1200/12/2
signalling=fxo_ks
callerid=39XXX53
mailbox=
group=0
context=default
channel = 23
callerid=39XXX53
mailbox=
group=0
context=default


Please let me know what do I misconfigure. Thanks for any help in advence.


Best regards,
Peter Gelencser


-- 
_
-- 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] Outgoing CallerID for KPN in Belgium

2009-06-24 Thread Bart Coninckx
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?


Thank you!

B.




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


[asterisk-users] Outgoing CallerID w. DAHDI on ISDN BRI

2009-01-20 Thread Peter Müller
Hi List,
i've set up an Asterisk 1.6.0.3 Server equipped with an Xorcom Astribank BRI
XR0013 (2 Port BRI) and Dahdi 2.1.0. In- and outgoing calls are no problem. But
I can't get Asterisk/DAHDI to use the second Number of the BRI. All calls set
the primary number as callerid. It wouldn't be a problem, if we would use this
one as id for our company, but it's already in use (private).

I tried with Set(Callerid(num)=12345)/Set(Callerid(number) in extensions.conf
and callerid=12345 in chan_dahdi.conf and in dahdi-channels.conf. In Dahdi i
activated all options for transmitting a callerid, including the ones for PRI
(for Testing).

Has anybody an idea?

Thanks in advance for any hint/help/tip.



Mit freundlichen Grüßen / Kind Regards
Peter Müller___
-- 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] Outgoing CallerID

2007-04-19 Thread Forrest Beck

I am not sure of the best way to do this, so I thought I would query the list.

I have about 100 internal extensions ranging from 2000 - 2100.  Each
internal extension has a external DID number.  For example: 2001 =
5552871620.  As you can see the internal externsion and DID don't
match in any way.  What would be the best way to set the DID for when
a extension dials out on the PRI?  In sip.conf I am using CallerID as
their internal number.

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

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


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

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


[asterisk-users] Outgoing callerid in AMI

2006-09-11 Thread Mir

Hello

I have a problem with callerid in the manager interface.

I think that Asterisk has a strange way to handle callerid, until I
found out to set the o-switch in the DIAL statement, it did not work
the way I wanted, it still doesnt, but now it works ok in one
direction.

My extension is 311, if 310 tries to call me, and I do a STATUS
request on the manager interface, I get this back:

Event: Status
Privilege: Call
Channel: SIP/311-08b97790
CallerID: 310
CallerIDName: Aastra
Account:
State: Ringing
Uniqueid: 1157967815.19

This is correct, I can see that the callerid is 310

However, if I call 310, and do a STATUS request, I get this back:

Event: Status
Privilege: Call
Channel: SIP/311-08b8dd58
CallerID: 311
CallerIDName: Snom
Account:
State: Ring
Context: macro-vm
Extension: s
Priority: 5
Seconds: 4
Uniqueid: 1157967902.20

Not very useful, the callerid is 311 (myself), and there is no
information that I'm trying to call 310.

Is there a way to fix this, that I have overlooked?

Michael
___
--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


[Asterisk-Users] Outgoing CallerID on PRI problems

2004-06-29 Thread McInnis, JP

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


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

2003-10-17 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 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-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 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 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


[Asterisk-Users] Outgoing CallerID

2003-10-14 Thread JanM
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---

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


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


[Asterisk-Users] outgoing callerid string

2003-07-17 Thread firedude
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] outgoing callerid string

2003-07-17 Thread Derek Beaumont
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


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