[Asterisk-Users] Call Detail Records for Inbound Calls

2006-02-16 Thread James Steven



Hi
Currently my 
Asterisk is installed with default CDR settings. With these it is only 
showing details for outgoing calls. All phone extens are in default 
context. 

Is it possible to 
set up Call Detail Records for Inbound Calls? Would this be a change in 
Manager_CDR.conf or other file?

Thanks for your 
help
James
___
--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] CDR for Inbound Calls

2006-02-15 Thread James Steven



Hi
What is the easiest 
method to set up CDRs for inbound calls? Can this be achieved without use 
of AGI and programming?
Thanks for your 
help.
James
___
--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] CDR for Inbound Calls

2006-02-15 Thread James Steven
Currently, with default settings only outgoing calls are recorded.  How can
I enable inbound? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of yusuf
Sent: 15 February 2006 15:02
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] CDR for Inbound Calls

James Steven wrote:
 Hi
 What is the easiest method to set up CDRs for inbound calls?  Can this 
 be achieved without use of AGI and programming?
 Thanks for your help.
 James
 

if I am not misunderstanding you,  CDR's are automaticall written for ALL
calls through the system.  to specefically handle inbound calls, put it into
a certain context, so you can seperate from the rest.

yusuf
___
--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 for unacceptable content by 'VITANIUM'
the industry leading email virus and content management service from
Vitanium Systems. Contact details are available at www.vitanium.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


[Asterisk-Users] Forwarding only at certain times

2005-12-08 Thread James Steven



Hi

In my 
extensions.conf shown below when the external 
number 123 is dialed it goes to phone ext1. I can forward to another phone 
using exampleline below but I would only like to forward after 5pm and 
before 9am. How can this be done?

Thanks for your help.

exten = 
123,1,LookupCIDNameexten = 123,2,Dial(SIP/ext1,40)exten = 
123,3,Voicemail(1)exten = 
123,4,Hangup---
exten = 
123,1,goto(XXX,1)
___
--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] Dial with 44 and +44 prefix

2005-11-01 Thread James Steven
Hi

That seems to work fine now using Z for the last line.  Thanks very much for
your help and explanations.  

Incidentally, we are using VoipTalk but are looking to trial another
provider as have been experiencing the occasional call cut out and quality
issues.  Out of interest, do you have experience of VoipTalk's service or
know of their reputation for service quality?

Regards
James

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Bagnall
Sent: 31 October 2005 15:53
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] Dial with 44 and +44 prefix

 I have inserted the lines you suggested but Asterisk keeps the 0 when 
 dialling with all alternatives.  Also, I am unsure what the phrase 
 ${EXTEN::2}${EXTEN:3} does?  Could you explain this abit?

The syntax is {EXTEN:initial offset:length}

So EXTEN:3 chops off the first three digits and has no length, so it goes to
the end of the number.
EXTEN::2 has no offset, so starts from the beginning of the number, but only
has a length of 2 (so you get the first 2 digits) By putting the 2 together
you *should* get the first 2 digits, skip one, then the rest of the number.

 exten = _0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1})
 exten = _00.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2})
 exten = _440.,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:3})
 exten = _09XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN})
 exten = _44.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN})

You're using Voiptalk I see :-)

It may be the sort order of extensions that's catching you out here. If _44.
is matched before _440. then you'll still get the zero in there. Try this
for your last line:

exten = _44N.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN})
(N should be the same as [1-9] I think)

Regards,

Chris
--
C.M. Bagnall, Director, Minotaur I.T. Limited This email is made from 100%
recycled electrons


___
--Bandwidth and Colocation sponsored by Easynews.com --

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


This message has been scanned for unacceptable content by 'VITANIUM'
the industry leading email virus and content management service from 
Vitanium Systems. Contact details are available at www.vitanium.com.




___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Dial with 44 and +44 prefix

2005-10-31 Thread James Steven
Thanks, thought that should work but had a type error which have now
corrected.  One further question, how can I set up a line so that if 440 is
dialled before a number the 0 is taken out so only 44 is actually used?

Thanks again.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Bagnall
Sent: 28 October 2005 12:30
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] Dial with 44 and +44 prefix

 exten = _0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1})
 exten = _00.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2})

 How can I configure my
 extensions.conf to dial a number starting with 44 to dial without 
 changes?  Also a number sent from Outlook starting with +44?

exten = _44.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN})

Not sure what format outlook sends its numbers in (i.e. whether it sends +44
or whether it translates it into 0044 before sending it, or possibly even
stripping it off if it knows you're in the UK already)

Regards,

Chris
--
C.M. Bagnall, Director, Minotaur I.T. Limited This email is made from 100%
recycled electrons


___
--Bandwidth and Colocation sponsored by Easynews.com --

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


This message has been scanned for unacceptable content by 'VITANIUM'
the industry leading email virus and content management service from 
Vitanium Systems. Contact details are available at www.vitanium.com.




___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Dial with 44 and +44 prefix

2005-10-31 Thread James Steven
Hi 

I have inserted the lines you suggested but Asterisk keeps the 0 when
dialling with all alternatives.  Also, I am unsure what the phrase
${EXTEN::2}${EXTEN:3} does?  Could you explain this abit?

My extensions.conf is:

[default] 
exten = _0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1})
exten = _00.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2})
exten = _440.,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:3})
exten = _09XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN})
exten = _44.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN})

Thanks
James

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Bagnall
Sent: 31 October 2005 12:13
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] Dial with 44 and +44 prefix

 One further question, how can I set up a line so that if 440 is 
 dialled before a number the 0 is taken out so only 44 is actually 
 used?

exten = _440.,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:3})

You could probably do it by playing around with different offets as well:

exten = _440.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN::2}${EXTEN:3})

This would be more flexible if you wanted to do the same for different
country codes, for example:

exten = _NX0.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN::2}${EXTEN:3})

That would remove the zero from any 2-digit country code.

exten = _NXX0.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN::3}${EXTEN:4})

That'd do the same thing for a 3-digit country code.

Regards,

Chris
--
C.M. Bagnall, Director, Minotaur I.T. Limited This email is made from 100%
recycled electrons


___
--Bandwidth and Colocation sponsored by Easynews.com --

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


This message has been scanned for unacceptable content by 'VITANIUM'
the industry leading email virus and content management service from 
Vitanium Systems. Contact details are available at www.vitanium.com.




___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Dial with 44 and +44 prefix

2005-10-28 Thread James Steven



Hi

Currently, in 
extensions.conf I have:

exten = 
_0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1})exten 
= _00.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2})

This enables numbers 
to dialledstarting with 0 and 00 and changes them to start with 44. 
How can I configure my extensions.conf to dial a number starting with 44 to dial 
without changes? Also a number sent from Outlook starting with +44? 


Thanks for your 
help.
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Context configuration with AstTapi

2005-10-20 Thread James Steven



Hi
I am using Asterisk 
TAPI driver with Outlook and have many contacts with numbers listed as +44 1XXX 
XX which is international dialling for UK. My Asterisk context is as 
follows:

[outlook]
exten = 
_0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1})
exten = 
_00.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2})

How can I set up the 
context to dial a number starting with +44 from Outlook. I have 
tried:


exten = 
_+.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2})

and


exten = 
_+44.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2})

but both do not dial 
number. Can Asterisk be set to recognise "+" and change it to 
"00"?

Thanks for your 
help

___
--Bandwidth and Colocation sponsored by Easynews.com --

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] DNIS/DNID

2005-10-19 Thread James Steven



Hi
Is it possible with 
Asterisk to tellthe called party which number was dialled by the 
caller? Or in place of the number dialled have a description such as 
'Sales' or 'Accounts'? Ideally, I would like to show a description 
corresponding to the number dialled followed by CIDName. 
How might this be set up? 

Currently my 
extensions.conf is:

exten = 
xx,1,LookupCIDNameexten = xx,2,Dial(SIP/xx,50)exten = 
xx,3,Voicemail(xx)exten = xx,4,Hangup

Thanks for your 
help.

___
--Bandwidth and Colocation sponsored by Easynews.com --

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] DNIS/DNID

2005-10-19 Thread James Steven



That worked great. Thanks


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Steve 
TotaroSent: 19 October 2005 14:45To: Asterisk Users 
Mailing List - Non-Commercial DiscussionSubject: Re: [Asterisk-Users] 
DNIS/DNID

exten = xx,2,SetCIDName(*-SALES-* 
${CALLERIDNAME})

  - Original Message - 
  From: 
  James Steven 
  To: asterisk-users@lists.digium.com 
  
  Sent: Wednesday, October 19, 2005 9:33 
  AM
  Subject: [Asterisk-Users] DNIS/DNID
  
  Hi
  Is it possible 
  with Asterisk to tellthe called party which number was dialled by the 
  caller? Or in place of the number dialled have a description such as 
  'Sales' or 'Accounts'? Ideally, I would like to show a description 
  corresponding to the number dialled followed by CIDName. 
  How might this be set up? 
  
  Currently my 
  extensions.conf is:
  
  exten = 
  xx,1,LookupCIDNameexten = xx,2,Dial(SIP/xx,50)exten = 
  xx,3,Voicemail(xx)exten = xx,4,Hangup
  
  Thanks for your 
  help.
  
  
  

  ___--Bandwidth and 
  Colocation sponsored by Easynews.com --Asterisk-Users mailing 
  listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  UNSUBSCRIBE or update options visit: 
  http://lists.digium.com/mailman/listinfo/asterisk-users 
  
  

  No virus found in this incoming message.Checked by AVG 
  Anti-Virus.Version: 7.0.344 / Virus Database: 267.12.4/143 - Release Date: 
  10/19/05This message has been scanned for 
unacceptable content by 'VITANIUM' the industry leading email virus and 
content management service from Vitanium Systems. Contact details are 
available at www.vitanium.com. 

___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Display number dialled

2005-10-18 Thread James Steven



Hi
Is it possible with 
Asterisk to tellthe called party which number was dialled by the 
caller? Or in place of the number dialled have a description such as 
'Sales' or 'Accounts'? Ideally, I would like to show a description 
corresponding to the number dialled followed by CIDName. 
How might this be set up? 

Currently my 
extensions.conf is:

exten = 
xx,1,LookupCIDNameexten = xx,2,Dial(SIP/xx,50)exten = 
xx,3,Voicemail(xx)exten = xx,4,Hangup

Thanks for your 
help.

___
--Bandwidth and Colocation sponsored by Easynews.com --

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