Re: [Asterisk-Users] Xorcom Rapid

2006-06-14 Thread Tzafrir Cohen
Hi

Sorry for the long response time. I was away for a while and am now
going over the asterisk-users backlog.

On Sun, Jun 11, 2006 at 06:12:50PM +0200, Olivier Saulnier wrote:
 Tzafrir Cohen a écrit :
 
 I'm still not hapy with that as a default. It should provide you a basis
 for manual editing at this stage. But I wonder what else could the
 script configured there differently. Are those sane defaults for BRI on
 France?
 
  
 
 I've modified zaptel-channels.conf file , because, nothing happen when i 
 call from an external phone inside the company.
 It's my problem, i don't know how name the QuadBRI interface, and how to 
 use it in extensions files
 Do you hace some samples to give me, or explain me how i can detect the 
 name to use?

I'll just note that the standard zaptel.conf and zapata.conf samples
that come with the qozap source could be found at
/usr/share/doc/zaptel-source/examples/qozap

Note to self: it should be back in the package zaptel, not in the
package zaptel-source . Will be moved there.

I'll answer your other mail shortly...

-- 
Tzafrir Cohen  sip:[EMAIL PROTECTED]
icq#16849755   iax:[EMAIL PROTECTED]
+972-50-7952406   
[EMAIL PROTECTED]  http://www.xorcom.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


Re: [Asterisk-Users] Xorcom Rapid

2006-06-14 Thread Tzafrir Cohen
On Sun, Jun 11, 2006 at 07:07:12PM +0200, Olivier Saulnier wrote:
 Tzafrir Cohen a écrit :
 
 
 Jut as usual with Zaptel: Zap/NNN (e.g: Zap/1 , Zap/2) for individual
 channels. And gNNN and similar work just the same.
 
  
 
 OK, in extensions.conf, i put the contexts PSTN and INTERNAL as:
 [PSTN] ;  for in coming calls - defin in zapata.conf
 exten = s,1,Dial(IAX2/300,20)
 exten = s,2,Voicemail, u300)
 
 [INTERNAL] ; for internal AND outgoing call - actually just outgoing calls
 exten = _0.,1,Dial(ZAP/g1/${EXTEN:1})
 
 For hardware, how can i know on which interface is connected my ISDN line??

If all of them are defined but you only get no D channel message for
some, probably only those few are disconnected.

 
 For outgoing call, i name the channel ZAP/1 in extensions.conf file, but 
 i dont know if it's correct.
 And i always have the message timeout, but no rule 't' in context 
 What's mean??

 
 
 There is no extension named t in that context to handle timeouts.
 
 Your dialplan reads:
 
 [PSTN]
 exten = 1,1,Dial (IAX2/300,20)
 exten = s,2,Voicemail, u300)
 
 So no timeout action is specified. Ignore it if you don't just want to
 have the call disconnected on timeout without taking any other action.
 
 I'm not sure if the space after Dial is legal. I figure it may be the
 source to your problem. Do you get an error in the CLI when reloading?
 Before reloading:
 
  set verbose 1
 
 to see only the relevant warnings.
 
  
 
 I have the same message!
 Do you know how i can stop messages from qozap (they fill the screen 
 either asterisk is down!!!)

Simply don't define in zapata.conf (or any included configs) that span.

-- 
Tzafrir Cohen  sip:[EMAIL PROTECTED]
icq#16849755   iax:[EMAIL PROTECTED]
+972-50-7952406   
[EMAIL PROTECTED]  http://www.xorcom.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


Re: [Asterisk-Users] Xorcom Rapid

2006-06-13 Thread Olivier Saulnier

Hello,

I've receive no response, no idea??

Bets regards,
Olivier S;

Tzafrir Cohen a écrit :



Jut as usual with Zaptel: Zap/NNN (e.g: Zap/1 , Zap/2) for individual
channels. And gNNN and similar work just the same.

 


OK, in extensions.conf, i put the contexts PSTN and INTERNAL as:
[PSTN] ;  for in coming calls - defin in zapata.conf
exten = s,1,Dial(IAX2/300,20)
exten = s,2,Voicemail, u300)

[INTERNAL] ; for internal AND outgoing call - actually just outgoing calls
exten = _0.,1,Dial(ZAP/g1/${EXTEN:1})

For hardware, how can i know on which interface is connected my ISDN line??

For outgoing call, i name the channel ZAP/1 in extensions.conf file, but 
i dont know if it's correct.

And i always have the message timeout, but no rule 't' in context 
What's mean??
   



There is no extension named t in that context to handle timeouts.

Your dialplan reads:

[PSTN]
exten = 1,1,Dial (IAX2/300,20)
exten = s,2,Voicemail, u300)

So no timeout action is specified. Ignore it if you don't just want to
have the call disconnected on timeout without taking any other action.

I'm not sure if the space after Dial is legal. I figure it may be the
source to your problem. Do you get an error in the CLI when reloading?
Before reloading:

 set verbose 1

to see only the relevant warnings.

 


I have the same message!
Do you know how i can stop messages from qozap (they fill the screen
either asterisk is down!!!)

Best regards,

--
Olivier Saulnier
STEGANUX
1er étage Diamecans
Bel Air
03410 St Victor
T: 04.70.02.27.62
F: 04.70.09.97.41
http://www.steganux.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



___
--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] Xorcom Rapid

2006-06-11 Thread Olivier Saulnier

Tzafrir Cohen a écrit :


I'm still not hapy with that as a default. It should provide you a basis
for manual editing at this stage. But I wonder what else could the
script configured there differently. Are those sane defaults for BRI on
France?

 

I've modified zaptel-channels.conf file , because, nothing happen when i 
call from an external phone inside the company.
It's my problem, i don't know how name the QuadBRI interface, and how to 
use it in extensions files
Do you hace some samples to give me, or explain me how i can detect the 
name to use?


Best regards,
Olivier Saulnier


# Global data

loadzone= fr
defaultzone= fr


zaptel-channels.conf:

; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: ztqoz/2/1 quadBRI PCI ISDN Card 1 Span 1 [TE] (cardID 0)
group=0
context=PSTN
switchtype = euroisdn
signalling = bri_cpe
channel = 1-2

; Span 2: ztqoz/2/2 quadBRI PCI ISDN Card 1 Span 2 [TE] (cardID 0)
group=0
context=PSTN
switchtype = euroisdn
signalling = bri_cpe
channel = 4-5

; Span 3: ztqoz/2/3 quadBRI PCI ISDN Card 1 Span 3 [TE] (cardID 0)
group=0
context=PSTN
switchtype = euroisdn
signalling = bri_cpe
channel = 7-8

; Span 4: ztqoz/2/4 quadBRI PCI ISDN Card 1 Span 4 [TE] (cardID 0)
group=0
context=PSTN
switchtype = euroisdn
signalling = bri_cpe
channel = 10-11


extensions.conf:

[general]
static=yes
; we don't want asterisk to write the configuration, as it will write
; everything to a single file
writeprotect=yes

[globals]
#include extensions-defs.conf

; another #include. This one includes complete contetexts.
; What happens if a section that has existed is re-added?
;
; Currently Asterisk ignores the new section. And thus is is very simple
; to override existing extensions. However nobody guarantees that the
; configurations will be paserd the same way in the future. This is 
intended

; for immediate hacks and for long-run system breakage.
#include extensions.d/*.conf

; Basically you should not edit this file to add new stuff: add/edit
; files in extensions.d/ instead. Fr instance: to add an IVR: look at
; extensions.d/ivr.conf and later on 'include = ivr' instead of
; 'include =phone'

[macro-stdexten]
;
; Standard extension macro:
;   ${ARG1} - Device(s) to ring
;   ${ARG2} - flags for Dial: if empty: tr. pass '-' for no flags.
;   ${ARG3} - voicemail box. If empty: use the extension number.
exten = s,1,SetVar(VMBOX=${MACRO_EXTEN}); default for VMBOX, if no ARG3
exten = s,2,GotoIf($[${LEN(${ARG3})} = 0]?4)
exten = s,3,SetVar(VMBOX=${ARG3})
; Ring the interface, 20 seconds maximum
exten = s,4,SetVar(FLAGS=r)
; why 'x'? see bourne shell 101
exten = s,5,GotoIf($[ x${ARG2} = x- ]?7); '-' as the 'flags' argument
exten = s,6,SetVar(FLAGS=${ARG2})
exten = s,7,Dial(${ARG1},20,${ARG2})
; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten = s,8,Goto(s-${DIALSTATUS},1)

; If unavailable, send to voicemail w/ unavail announce
exten = s-NOANSWER,1,Voicemail(u${VMBOX})
; If they press #, return to start
exten = s-NOANSWER,2,Goto(${MACRO_CONTEXT},s,1)

; If busy, send to voicemail w/ busy announce
exten = s-BUSY,1,Voicemail(b${VMBOX})
; If they press #, return to start
exten = s-BUSY,2,Goto(${MACRO_CONTEXT},s,1)

; Treat anything
exten = _s-.,1,Goto(s-NOANSWER,1)

;
; You may want to improve this one
;
[macro-stdmeetme]
exten = s,1,MeetMe(${MACRO_EXTEN},M)

[macro-dialout]
;
; a macro for setting up a trunk
; usage:
;
; Arguments:
;
;  ARG1: trunk channels: a ''-separated list of channels
;  ARG2: number: the number to dial.
;
; Example:
;
;   exten = _9.,Macro(dialout,Zap/1Zap2,${EXTEN:1})
;
exten = s,1,ChanIsAvail(${ARG1}); use
exten = s,102,Goto(s-CHANUNAVAIL,1) ; this indicates that all lines
exten = s,2,SetVar(DIALLINE=${AVAILORIGCHAN})
exten = s,3,Goto(start,1) ;
include = trunk-macros-common

[macro-trunksip]
;
; a macro for setting up a trunk
; usage:
;
; Arguments:
;
;  ARG1: trunk channel: a *single* channel name: SIP/peer, IAX2/peer
;   Does this work for OH323?
;  ARG2: number: the number to dial.
;  ARG3 (optional): maximal number of calls allowed in this trunk.
;   If not given: unlimited.
;
; Example:
;
;   exten = _9.,Macro(Zap/1Zap2,${EXTEN:1})
;
exten = s,1,GotoIf($[${ARG3} = ]?6)
; The group name is the sip/iax peer
exten = s,2,Cut(GROUPNAME,ARG1,,1); leave only the first target
exten = s,3,Cut(GROUPNAME,GROUPNAME,/,2); extract peer name
exten = s,4,SetGroup(${GROUPNAME})
exten = s,5,CheckGroup(${ARG3})
exten = s,106,Goto(s-CHANUNAVAIL,1)
exten = s,6,SetVar(DIALLINE=${ARG1})
exten = s,7,Goto(start,1)
include = trunk-macros-common

[trunk-macros-common]
;
; a macro for setting up a trunk
; usage:
;
; Arguments:
;
;  DIALLINE: trunk channels: The channel 

Re: [Asterisk-Users] Xorcom Rapid

2006-06-11 Thread Olivier Saulnier

Tzafrir Cohen a écrit :



Jut as usual with Zaptel: Zap/NNN (e.g: Zap/1 , Zap/2) for individual
channels. And gNNN and similar work just the same.

 


OK, in extensions.conf, i put the contexts PSTN and INTERNAL as:
[PSTN] ;  for in coming calls - defin in zapata.conf
exten = s,1,Dial(IAX2/300,20)
exten = s,2,Voicemail, u300)

[INTERNAL] ; for internal AND outgoing call - actually just outgoing calls
exten = _0.,1,Dial(ZAP/g1/${EXTEN:1})

For hardware, how can i know on which interface is connected my ISDN line??

For outgoing call, i name the channel ZAP/1 in extensions.conf file, but 
i dont know if it's correct.

And i always have the message timeout, but no rule 't' in context 
What's mean??
   



There is no extension named t in that context to handle timeouts.

Your dialplan reads:

[PSTN]
exten = 1,1,Dial (IAX2/300,20)
exten = s,2,Voicemail, u300)

So no timeout action is specified. Ignore it if you don't just want to
have the call disconnected on timeout without taking any other action.

I'm not sure if the space after Dial is legal. I figure it may be the
source to your problem. Do you get an error in the CLI when reloading?
Before reloading:

 set verbose 1

to see only the relevant warnings.

 


I have the same message!
Do you know how i can stop messages from qozap (they fill the screen 
either asterisk is down!!!)


Best regards,

--
Olivier Saulnier
STEGANUX
1er étage Diamecans
Bel Air
03410 St Victor
T: 04.70.02.27.62
F: 04.70.09.97.41
http://www.steganux.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


Re: [Asterisk-Users] Xorcom Rapid

2006-06-10 Thread Tzafrir Cohen
Hi

On Fri, Jun 09, 2006 at 04:50:11PM +0200, Olivier Saulnier wrote:
 Hello,
 
 I've install Rapid for try to solve my problems of external acces (i 
 can't receive and send calls).
 I nedd some more information:
 On a Bristuff what are the channels names??

Jut as usual with Zaptel: Zap/NNN (e.g: Zap/1 , Zap/2) for individual
channels. And gNNN and similar work just the same.

 For outgoing call, i name the channel ZAP/1 in extensions.conf file, but 
 i dont know if it's correct.
 And i always have the message timeout, but no rule 't' in context 
 What's mean??

There is no extension named t in that context to handle timeouts.

Your dialplan reads:

[PSTN]
exten = 1,1,Dial (IAX2/300,20)
exten = s,2,Voicemail, u300)

So no timeout action is specified. Ignore it if you don't just want to
have the call disconnected on timeout without taking any other action.

I'm not sure if the space after Dial is legal. I figure it may be the
source to your problem. Do you get an error in the CLI when reloading?
Before reloading:

  set verbose 1

to see only the relevant warnings.

-- 
Tzafrir Cohen  sip:[EMAIL PROTECTED]
icq#16849755   iax:[EMAIL PROTECTED]
+972-50-7952406   
[EMAIL PROTECTED]  http://www.xorcom.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] Xorcom Rapid

2006-06-09 Thread Olivier Saulnier

Hello,

I've install Rapid for try to solve my problems of external acces (i 
can't receive and send calls).

I nedd some more information:
On a Bristuff what are the channels names??
For outgoing call, i name the channel ZAP/1 in extensions.conf file, but 
i dont know if it's correct.

And i always have the message timeout, but no rule 't' in context 
What's mean??

I give some files:

zaptel.conf:
--
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: ztqoz/2/1 quadBRI PCI ISDN Card 1 Span 1 [TE] (cardID 0)
span=1,1,1,ccs,ami
# termtype: te
bchan=1-2
dchan=3

# Span 2: ztqoz/2/2 quadBRI PCI ISDN Card 1 Span 2 [TE] (cardID 0)
span=2,1,1,ccs,ami
# termtype: te
bchan=4-5
dchan=6

# Span 3: ztqoz/2/3 quadBRI PCI ISDN Card 1 Span 3 [TE] (cardID 0)
span=3,1,1,ccs,ami
# termtype: te
bchan=7-8
dchan=9

# Span 4: ztqoz/2/4 quadBRI PCI ISDN Card 1 Span 4 [TE] (cardID 0)
span=4,1,1,ccs,ami
# termtype: te
bchan=10-11
dchan=12

# Global data

loadzone= fr
defaultzone= fr


zaptel-channels.conf:

; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: ztqoz/2/1 quadBRI PCI ISDN Card 1 Span 1 [TE] (cardID 0)
group=0
context=PSTN
switchtype = euroisdn
signalling = bri_cpe
channel = 1-2

; Span 2: ztqoz/2/2 quadBRI PCI ISDN Card 1 Span 2 [TE] (cardID 0)
group=0
context=PSTN
switchtype = euroisdn
signalling = bri_cpe
channel = 4-5

; Span 3: ztqoz/2/3 quadBRI PCI ISDN Card 1 Span 3 [TE] (cardID 0)
group=0
context=PSTN
switchtype = euroisdn
signalling = bri_cpe
channel = 7-8

; Span 4: ztqoz/2/4 quadBRI PCI ISDN Card 1 Span 4 [TE] (cardID 0)
group=0
context=PSTN
switchtype = euroisdn
signalling = bri_cpe
channel = 10-11


extensions.conf:

[general]
static=yes
; we don't want asterisk to write the configuration, as it will write
; everything to a single file
writeprotect=yes

[globals]
#include extensions-defs.conf

; another #include. This one includes complete contetexts.
; What happens if a section that has existed is re-added?
;
; Currently Asterisk ignores the new section. And thus is is very simple
; to override existing extensions. However nobody guarantees that the
; configurations will be paserd the same way in the future. This is 
intended

; for immediate hacks and for long-run system breakage.
#include extensions.d/*.conf

; Basically you should not edit this file to add new stuff: add/edit
; files in extensions.d/ instead. Fr instance: to add an IVR: look at
; extensions.d/ivr.conf and later on 'include = ivr' instead of
; 'include =phone'

[macro-stdexten]
;
; Standard extension macro:
;   ${ARG1} - Device(s) to ring
;   ${ARG2} - flags for Dial: if empty: tr. pass '-' for no flags.
;   ${ARG3} - voicemail box. If empty: use the extension number.
exten = s,1,SetVar(VMBOX=${MACRO_EXTEN}); default for VMBOX, if no ARG3
exten = s,2,GotoIf($[${LEN(${ARG3})} = 0]?4)
exten = s,3,SetVar(VMBOX=${ARG3})
; Ring the interface, 20 seconds maximum
exten = s,4,SetVar(FLAGS=r)
; why 'x'? see bourne shell 101
exten = s,5,GotoIf($[ x${ARG2} = x- ]?7); '-' as the 'flags' argument
exten = s,6,SetVar(FLAGS=${ARG2})
exten = s,7,Dial(${ARG1},20,${ARG2})
; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten = s,8,Goto(s-${DIALSTATUS},1)

; If unavailable, send to voicemail w/ unavail announce
exten = s-NOANSWER,1,Voicemail(u${VMBOX})
; If they press #, return to start
exten = s-NOANSWER,2,Goto(${MACRO_CONTEXT},s,1)

; If busy, send to voicemail w/ busy announce
exten = s-BUSY,1,Voicemail(b${VMBOX})
; If they press #, return to start
exten = s-BUSY,2,Goto(${MACRO_CONTEXT},s,1)

; Treat anything
exten = _s-.,1,Goto(s-NOANSWER,1)

;
; You may want to improve this one
;
[macro-stdmeetme]
exten = s,1,MeetMe(${MACRO_EXTEN},M)

[macro-dialout]
;
; a macro for setting up a trunk
; usage:
;
; Arguments:
;
;  ARG1: trunk channels: a ''-separated list of channels
;  ARG2: number: the number to dial.
;
; Example:
;
;   exten = _9.,Macro(dialout,Zap/1Zap2,${EXTEN:1})
;
exten = s,1,ChanIsAvail(${ARG1}); use
exten = s,102,Goto(s-CHANUNAVAIL,1) ; this indicates that all lines
exten = s,2,SetVar(DIALLINE=${AVAILORIGCHAN})
exten = s,3,Goto(start,1) ;
include = trunk-macros-common

[macro-trunksip]
;
; a macro for setting up a trunk
; usage:
;
; Arguments:
;
;  ARG1: trunk channel: a *single* channel name: SIP/peer, IAX2/peer
;   Does this work for OH323?
;  ARG2: number: the number to dial.
;  ARG3 (optional): maximal number of calls allowed in this trunk.
;   If not given: unlimited.
;
; Example:
;
;   exten = _9.,Macro(Zap/1Zap2,${EXTEN:1})
;
exten = 

Re: [Asterisk-Users] Xorcom Rapid

2006-06-09 Thread Tzafrir Cohen
On Fri, Jun 09, 2006 at 04:50:11PM +0200, Olivier Saulnier wrote:
 Hello,
 
 I've install Rapid for try to solve my problems of external acces (i 
 can't receive and send calls).
 I nedd some more information:
 On a Bristuff what are the channels names??
 For outgoing call, i name the channel ZAP/1 in extensions.conf file, but 
 i dont know if it's correct.
 And i always have the message timeout, but no rule 't' in context 
 What's mean??
 
 I give some files:
 
 zaptel.conf:
 --
 # Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
 # Zaptel Configuration File
 #
 # This file is parsed by the Zaptel Configurator, ztcfg
 #
 
 # It must be in the module loading order
 
 
 # Span 1: ztqoz/2/1 quadBRI PCI ISDN Card 1 Span 1 [TE] (cardID 0)
 span=1,1,1,ccs,ami
 # termtype: te
 bchan=1-2
 dchan=3
 
 # Span 2: ztqoz/2/2 quadBRI PCI ISDN Card 1 Span 2 [TE] (cardID 0)
 span=2,1,1,ccs,ami
 # termtype: te
 bchan=4-5
 dchan=6
 
 # Span 3: ztqoz/2/3 quadBRI PCI ISDN Card 1 Span 3 [TE] (cardID 0)
 span=3,1,1,ccs,ami
 # termtype: te
 bchan=7-8
 dchan=9
 
 # Span 4: ztqoz/2/4 quadBRI PCI ISDN Card 1 Span 4 [TE] (cardID 0)
 span=4,1,1,ccs,ami
 # termtype: te
 bchan=10-11
 dchan=12

I'm still not hapy with that as a default. It should provide you a basis
for manual editing at this stage. But I wonder what else could the
script configured there differently. Are those sane defaults for BRI on
France?

 
 # Global data
 
 loadzone= fr
 defaultzone= fr
 
 
 zaptel-channels.conf:
 
 ; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
 ; Zaptel Channels Configurations (zapata.conf)
 ;
 ; This is not intended to be a complete zapata.conf. Rather, it is intended
 ; to be #include-d by /etc/zapata.conf that will include the global settings
 ;
 
 ; Span 1: ztqoz/2/1 quadBRI PCI ISDN Card 1 Span 1 [TE] (cardID 0)
 group=0
 context=PSTN
 switchtype = euroisdn
 signalling = bri_cpe
 channel = 1-2
 
 ; Span 2: ztqoz/2/2 quadBRI PCI ISDN Card 1 Span 2 [TE] (cardID 0)
 group=0
 context=PSTN
 switchtype = euroisdn
 signalling = bri_cpe
 channel = 4-5
 
 ; Span 3: ztqoz/2/3 quadBRI PCI ISDN Card 1 Span 3 [TE] (cardID 0)
 group=0
 context=PSTN
 switchtype = euroisdn
 signalling = bri_cpe
 channel = 7-8
 
 ; Span 4: ztqoz/2/4 quadBRI PCI ISDN Card 1 Span 4 [TE] (cardID 0)
 group=0
 context=PSTN
 switchtype = euroisdn
 signalling = bri_cpe
 channel = 10-11
 
 
 extensions.conf:
 
 [general]
 static=yes
 ; we don't want asterisk to write the configuration, as it will write
 ; everything to a single file
 writeprotect=yes
 
 [globals]
 #include extensions-defs.conf
 
 ; another #include. This one includes complete contetexts.
 ; What happens if a section that has existed is re-added?
 ;
 ; Currently Asterisk ignores the new section. And thus is is very simple
 ; to override existing extensions. However nobody guarantees that the
 ; configurations will be paserd the same way in the future. This is 
 intended
 ; for immediate hacks and for long-run system breakage.
 #include extensions.d/*.conf
 
 ; Basically you should not edit this file to add new stuff: add/edit
 ; files in extensions.d/ instead. Fr instance: to add an IVR: look at
 ; extensions.d/ivr.conf and later on 'include = ivr' instead of
 ; 'include =phone'
 
 [macro-stdexten]
 ;
 ; Standard extension macro:
 ;   ${ARG1} - Device(s) to ring
 ;   ${ARG2} - flags for Dial: if empty: tr. pass '-' for no flags.
 ;   ${ARG3} - voicemail box. If empty: use the extension number.
 exten = s,1,SetVar(VMBOX=${MACRO_EXTEN}); default for VMBOX, if no ARG3
 exten = s,2,GotoIf($[${LEN(${ARG3})} = 0]?4)
 exten = s,3,SetVar(VMBOX=${ARG3})
 ; Ring the interface, 20 seconds maximum
 exten = s,4,SetVar(FLAGS=r)
 ; why 'x'? see bourne shell 101
 exten = s,5,GotoIf($[ x${ARG2} = x- ]?7); '-' as the 'flags' argument
 exten = s,6,SetVar(FLAGS=${ARG2})
 exten = s,7,Dial(${ARG1},20,${ARG2})
 ; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
 exten = s,8,Goto(s-${DIALSTATUS},1)
 
 ; If unavailable, send to voicemail w/ unavail announce
 exten = s-NOANSWER,1,Voicemail(u${VMBOX})
 ; If they press #, return to start
 exten = s-NOANSWER,2,Goto(${MACRO_CONTEXT},s,1)
 
 ; If busy, send to voicemail w/ busy announce
 exten = s-BUSY,1,Voicemail(b${VMBOX})
 ; If they press #, return to start
 exten = s-BUSY,2,Goto(${MACRO_CONTEXT},s,1)
 
 ; Treat anything
 exten = _s-.,1,Goto(s-NOANSWER,1)
 
 ;
 ; You may want to improve this one
 ;
 [macro-stdmeetme]
 exten = s,1,MeetMe(${MACRO_EXTEN},M)
 
 [macro-dialout]
 ;
 ; a macro for setting up a trunk
 ; usage:
 ;
 ; Arguments:
 ;
 ;  ARG1: trunk channels: a ''-separated list of channels
 ;  ARG2: number: the number to dial.
 ;
 ; Example:
 ;
 ;   exten = _9.,Macro(dialout,Zap/1Zap2,${EXTEN:1})
 ;
 exten = s,1,ChanIsAvail(${ARG1}); use
 exten = s,102,Goto(s-CHANUNAVAIL,1) ; this indicates that all lines
 exten = s,2,SetVar(DIALLINE=${AVAILORIGCHAN})
 exten = s,3,Goto(start,1) 

[Asterisk-Users] XORCOM RAPID Asterisk - Suggestions?

2005-08-17 Thread Sharadindu Mohanty
Hey Guys,
 Wanted a Suggestion..Howz this Xorcom Asterisk?I am using it and till now its fine as currently it is in testing stage with 3-4 users.

Any Ideas???

ThanksSharadindu Mohanty
		How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! 
Photos___
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] XORCOM RAPID Asterisk - Suggestions?

2005-08-17 Thread brent clements
We like it alot. It makes rapid deployment of asterisk boxes a breeze.

Brent


On 8/17/05, Sharadindu Mohanty [EMAIL PROTECTED] wrote:
 Hey Guys,
   Wanted a Suggestion..Howz this Xorcom Asterisk?I am using it and till now
 its fine as currently it is in testing stage with 3-4 users.
  
 Any Ideas???
  
 Thanks
 
 Sharadindu Mohanty
 
 
 How much free photo storage do you get? Store your holiday snaps for FREE
 with Yahoo! Photos. Get Yahoo! Photos 
 How much free photo storage do you get? Store your holiday snaps for FREE
 with Yahoo! Photos. Get Yahoo! Photos 
 
 
 ___
 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] XORCOM RAPID Asterisk - Suggestions?

2005-08-17 Thread Tzafrir Cohen
On Wed, Aug 17, 2005 at 01:36:51PM +0100, Sharadindu Mohanty wrote:
 Hey Guys,
   Wanted a Suggestion..Howz this Xorcom Asterisk?

Great!

 I am using it and till now its fine as currently it is in testing stage 
 with 3-4 users.

I've been using it for quite a while and am very happy with it. Even
better than Debian! 

The fact the I've posted notices of its releases to this have nothing to
do with the tone of this message. I'm totally objective.

  
 Any Ideas???

In a more serious tone, feedback would be appreciated: here, in the
Xorcom Rapid users list, or to me privately.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
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] Xorcom Rapid 1.1

2005-07-22 Thread Tzafrir Cohen
Hi all

Xorcom Rapid 1.1 is here. 

* Asterisk 1.0.9
* Flash Operator Panel
* improved Zaptel hardware detection: should hopefully detect E1, T1
   ZapHFC and qozap. No more channel numbers guessing in
   zapata/zaptel.conf
* and much of the extra software available for it

You can get the full details at 

  http://www.xorcom.com/rapid

so I'll just highlight the points that I believe are more relevant to the
people here rather than a standard press-release. Warning: long post.


Xorcom Rapid is based on the current Debian Stable. This is not just
Asterisk built from source on a certain system: we use native
distribution packages. You can install just the parts you like. E.g:
spandsp and the h323 channel (with their extra dependencies) are optional
components. It is also possible to upgrade packages or the whole system. 

It is a binary distribution. Some people really don't like that idea.
They think that if you didn't built it from upstream source it's not 
worth it. Well, if you have such an attitude then why are you running a
Linux/*BSD distribution? use LinuxFromScratch to build a system like a
real programmer, and come back to report how long it took you and if
you eventually did get a better and more manageable result. 

Binary distribution is by no means locked down. You need to apply some
fixes to the source? a decent packaging system provides simple ways of
extracting the original source, patching it, and building the result.
Build your own debs. True, you may need to set up a separate build
system, but then again, the whole build tool-chain is not needed for a
PBX to run.

We tried to separate the configuration to smaller files. This should
make it safer to use newer configuration that fixes and enhances the
default, and yet maintain your local changes. We do want to make it
easier for you to upgrade your system, so you won't be stuck with an
old, broken Asterisk that happened to work and you don't touch it.

That said, we do realise that the voodoo factor is still considerably
large. We can't and won't try forcing upgrades on anybody's precious PBX
system. 


This version is based on 1.0 . However it seems that the CVS head is
really not that far from becoming 1.2 . The next version of Rapid will
be based on it. Debian is also supposed to start working with Asterisk
1.1 packages in the Experimental branch. In the near future we will
probably continue backporting required packages from Unstable when
necessary and maintain compatibility with Stable.


Vim is included, along with syntax highlighting for asterisk
configurations. vim is not the default vi (nvi is much smaller, you
know) but if you edit many files, you'd probably want to install it.

I am looking for improvements: e.g: when editing Apache's httpd.conf
files or CSS files, the syntax highlighting is very good at spotting
syntax errors. I have already added something simple in that direction
(a line that begins with '#' and is not an 'include' will be coloured as
an error), but I'd like to see more.


Also included in this release is a web-based configuration interface
called DeStar . I'm interested to expose it to a larger crowd, so have a
go with it.


I've included some scriptary to play convert MP3s (off line) to phone
quality WAVs, and to play the WAVs with sox for the music-on-hold . I
would appreciate input on what you'd expect there. e.j: add some
randomisation to the wav-player scriptlet?


The detection of Zaptel PRI and BRI cards should detect channel numbers
correctly. But the span parameters and such are generally my simple
attempt to give sane defaults. If it doesn't work in your case, please
let me know. As a general note, if a simple shell script can detect
channel numbers so easily, why can't chan_zap do all the work by itself?


And another small thing to simplify the initial testing: iaxcomm.exe is
included on the CD. For windows people it should run off the CD. One
less thing to download.


We have also set up a mailing list for Rapid, so feel free to subscribe
there and post questions to a smaller, more focused crowd: 

  http://xorcom.com/mailman/listinfo/users_xorcom.com

-- 
Tzafrir Cohen | [EMAIL PROTECTED]  | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 | http://www.xorcom.com/| friend
___
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] Xorcom Rapid 1.0 released

2005-02-06 Thread Tzafrir Cohen
Hi folks

Xorcom Rapid 1.0 is avilable for download

Q: 1.0?
A: Sure, better than 0.9.1:

 *  Asterisk 1.0.5
 * Base packages upgraded
 * Built with SpanDSP support
 * Improved Zaptel detection
 *  ast-cmd with some useful command-line abilities provided
 * ssh installed by default
 * putty.exe is included on the CD
 * music-on-hold files removed due to potential licensing 
   issues (http://bugs.debian.org/288429)
 * Country selection in the installer has been fixed
 * Kernel upgraded (may require manual upgrade)
 * Additional options available in the menu

http://xorcom.com/release-notes-v1_0.html


Q: Rapid?
A: Debian/GNU/Linux/Asterisk: a distribution that features an 
auto-install for Debian Linux and pre-configured Asterisk. It quickly and
effortlessly converts any PC to a functioning Asterisk PBX.

http://www.xorcom.com/rapid.html


Q: Xorcom?
A: Xorcom Ltd., a contributing member of the Asterisk community,
develops software and hardware for the open source Asterisk PBX
environment. Our goal is to make Asterisk a friendly, easytoinstall
and easytouse system, enabling fast and simple installation and
configuration of PBXs of all sizes. 

http://www.xorcom.com/

-- 
Tzafrir Cohen   icq#16849755  +972-50-7952406
[EMAIL PROTECTED]http://xorcom.com
-
Tzafrir Cohen | New signature for new address and  |  VIM is
http://tzafrir.org.il | new homepage   | a Mutt's  
[EMAIL PROTECTED] ||  best
ICQ# 16849755 | Space reserved for other protocols | friend
___
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] Xorcom Rapid CD for Production?

2005-01-13 Thread Michael Graves
Not yet. I've decided to try Any Powel's Asterisk-Live-CF instead. See
http://www.automated.it/asterisk-Live-cf.htm for details. His install
boots from CF then runs from ramdisk such that the lifespan of CF in
read/write cycles is not a huge issue. I'll put the server on a UPS and
have the VM emailed off to users as a rule. I may also have the VM
written to another server via NFS.

I haven't been able to put time into this recently. I hope to get on
with it next week.

Michael

On Wed, 12 Jan 2005 18:35:41 -0500, Jeff R Glassman wrote:

Did you ever have success copying your configs to the Xorcom box?


Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Michael
Graves
Sent: Monday, January 03, 2005 10:49 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Xorcom Rapid CD for Production?


Hi All,

The past day or so I've setup a new * server based upon the Xorcom
Rapid ISO. It did as promised; wiped the base system, installed Debian
OS, installed Asterisk with a dummy configuration. So far so good.

If I could get the config from my existing * server migrated to the
Xorcom box the I'd be ready to roll. Essentially, it would be the same
as I have now on Fedora Core 1, but with a text mode management shell
and reboots into everything fully working without an user intervention.
I could put a 1 Gb CF card in a CF to IDE adapter and have an HD free
server, or just use a small HD instead.

However, I can't seem to get my current * configs to load to the Xorcom
box. I tried to sftp from my Windows desktop but my Windows ssh/sftp
client (www.privateshell.com) would not connect to the Xorcom box. I
confirmed that sshd was installed and running by trying Putty, as
described in the Xorcom faq. With Putty and its sftp counterpart I
could one-by-one upload the conf files from my existing server to the
Xorcom box, but it killed the * install on the Xorcom box.

Anybody have any experience turning the Xorcom Rapid installation into
a production installation for a small office? It would seem that I only
need to setup the configs appropriately, but something is going
dramatically wrong and I can't see it at the moment.

Michael

--
Michael Graves   [EMAIL PROTECTED]
Sr. Product Specialist  www.pixelpower.com
Pixel Power Inc. [EMAIL PROTECTED]

o713-861-4005
o800-905-6412
c713-201-1262



___
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



--
Michael Graves   [EMAIL PROTECTED]
Sr. Product Specialist  www.pixelpower.com
Pixel Power Inc. [EMAIL PROTECTED]

o713-861-4005
o800-905-6412
c713-201-1262





___
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] Xorcom Rapid CD for Production?

2005-01-12 Thread Jeff R Glassman
Did you ever have success copying your configs to the Xorcom box?


Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Michael
Graves
Sent: Monday, January 03, 2005 10:49 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Xorcom Rapid CD for Production?


Hi All,

The past day or so I've setup a new * server based upon the Xorcom
Rapid ISO. It did as promised; wiped the base system, installed Debian
OS, installed Asterisk with a dummy configuration. So far so good.

If I could get the config from my existing * server migrated to the
Xorcom box the I'd be ready to roll. Essentially, it would be the same
as I have now on Fedora Core 1, but with a text mode management shell
and reboots into everything fully working without an user intervention.
I could put a 1 Gb CF card in a CF to IDE adapter and have an HD free
server, or just use a small HD instead.

However, I can't seem to get my current * configs to load to the Xorcom
box. I tried to sftp from my Windows desktop but my Windows ssh/sftp
client (www.privateshell.com) would not connect to the Xorcom box. I
confirmed that sshd was installed and running by trying Putty, as
described in the Xorcom faq. With Putty and its sftp counterpart I
could one-by-one upload the conf files from my existing server to the
Xorcom box, but it killed the * install on the Xorcom box.

Anybody have any experience turning the Xorcom Rapid installation into
a production installation for a small office? It would seem that I only
need to setup the configs appropriately, but something is going
dramatically wrong and I can't see it at the moment.

Michael

--
Michael Graves   [EMAIL PROTECTED]
Sr. Product Specialist  www.pixelpower.com
Pixel Power Inc. [EMAIL PROTECTED]

o713-861-4005
o800-905-6412
c713-201-1262



___
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


[Asterisk-Users] Xorcom Rapid CD for Production?

2005-01-03 Thread Michael Graves
Hi All,

The past day or so I've setup a new * server based upon the Xorcom
Rapid ISO. It did as promised; wiped the base system, installed Debian
OS, installed Asterisk with a dummy configuration. So far so good.

If I could get the config from my existing * server migrated to the
Xorcom box the I'd be ready to roll. Essentially, it would be the same
as I have now on Fedora Core 1, but with a text mode management shell
and reboots into everything fully working without an user intervention.
I could put a 1 Gb CF card in a CF to IDE adapter and have an HD free
server, or just use a small HD instead.

However, I can't seem to get my current * configs to load to the Xorcom
box. I tried to sftp from my Windows desktop but my Windows ssh/sftp
client (www.privateshell.com) would not connect to the Xorcom box. I
confirmed that sshd was installed and running by trying Putty, as
described in the Xorcom faq. With Putty and its sftp counterpart I
could one-by-one upload the conf files from my existing server to the
Xorcom box, but it killed the * install on the Xorcom box.

Anybody have any experience turning the Xorcom Rapid installation into
a production installation for a small office? It would seem that I only
need to setup the configs appropriately, but something is going
dramatically wrong and I can't see it at the moment.

Michael

--
Michael Graves   [EMAIL PROTECTED]
Sr. Product Specialist  www.pixelpower.com
Pixel Power Inc. [EMAIL PROTECTED]

o713-861-4005
o800-905-6412
c713-201-1262



___
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] Xorcom Rapid CD for Production?

2005-01-03 Thread Jeff Glassman
When I tried to use Rapid CD I was able to get it loaded but never was able
to get get my internet working either by dcph or by assigning the ip
address.

I havve tried two other flavors of Linux and both connected to the internet.

Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Michael
Graves
Sent: Monday, January 03, 2005 10:49 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Xorcom Rapid CD for Production?


Hi All,

The past day or so I've setup a new * server based upon the Xorcom
Rapid ISO. It did as promised; wiped the base system, installed Debian
OS, installed Asterisk with a dummy configuration. So far so good.

If I could get the config from my existing * server migrated to the
Xorcom box the I'd be ready to roll. Essentially, it would be the same
as I have now on Fedora Core 1, but with a text mode management shell
and reboots into everything fully working without an user intervention.
I could put a 1 Gb CF card in a CF to IDE adapter and have an HD free
server, or just use a small HD instead.

However, I can't seem to get my current * configs to load to the Xorcom
box. I tried to sftp from my Windows desktop but my Windows ssh/sftp
client (www.privateshell.com) would not connect to the Xorcom box. I
confirmed that sshd was installed and running by trying Putty, as
described in the Xorcom faq. With Putty and its sftp counterpart I
could one-by-one upload the conf files from my existing server to the
Xorcom box, but it killed the * install on the Xorcom box.

Anybody have any experience turning the Xorcom Rapid installation into
a production installation for a small office? It would seem that I only
need to setup the configs appropriately, but something is going
dramatically wrong and I can't see it at the moment.

Michael

--
Michael Graves   [EMAIL PROTECTED]
Sr. Product Specialist  www.pixelpower.com
Pixel Power Inc. [EMAIL PROTECTED]

o713-861-4005
o800-905-6412
c713-201-1262



___
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] Xorcom Rapid CD for Production?

2005-01-03 Thread dean collins
Jeff,
You need to install using the linux 'expert' command at the beginning of
the installation

Basically I had the same problem.

Some nic cards are not recognized by xorcom and therefore don't request
dhcp etc.

Michael,
I was never able to upload my old configs onto Xorcom, I hope you have
better success but I don't think it works this way and I gave up.



Cheers,
Dean



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
Glassman
Sent: Monday, January 03, 2005 10:55 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Xorcom Rapid CD for Production?

When I tried to use Rapid CD I was able to get it loaded but never was
able
to get get my internet working either by dcph or by assigning the ip
address.

I havve tried two other flavors of Linux and both connected to the
internet.

Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Michael
Graves
Sent: Monday, January 03, 2005 10:49 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Xorcom Rapid CD for Production?


Hi All,

The past day or so I've setup a new * server based upon the Xorcom
Rapid ISO. It did as promised; wiped the base system, installed Debian
OS, installed Asterisk with a dummy configuration. So far so good.

If I could get the config from my existing * server migrated to the
Xorcom box the I'd be ready to roll. Essentially, it would be the same
as I have now on Fedora Core 1, but with a text mode management shell
and reboots into everything fully working without an user intervention.
I could put a 1 Gb CF card in a CF to IDE adapter and have an HD free
server, or just use a small HD instead.

However, I can't seem to get my current * configs to load to the Xorcom
box. I tried to sftp from my Windows desktop but my Windows ssh/sftp
client (www.privateshell.com) would not connect to the Xorcom box. I
confirmed that sshd was installed and running by trying Putty, as
described in the Xorcom faq. With Putty and its sftp counterpart I
could one-by-one upload the conf files from my existing server to the
Xorcom box, but it killed the * install on the Xorcom box.

Anybody have any experience turning the Xorcom Rapid installation into
a production installation for a small office? It would seem that I only
need to setup the configs appropriately, but something is going
dramatically wrong and I can't see it at the moment.

Michael

--
Michael Graves   [EMAIL PROTECTED]
Sr. Product Specialist  www.pixelpower.com
Pixel Power Inc. [EMAIL PROTECTED]

o713-861-4005
o800-905-6412
c713-201-1262



___
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

___
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] Xorcom Rapid CD for Production?

2005-01-03 Thread Michael Graves
On Mon, 3 Jan 2005 22:55:20 -0500, Jeff Glassman wrote:

When I tried to use Rapid CD I was able to get it loaded but never was able
to get get my internet working either by dcph or by assigning the ip
address.

I havve tried two other flavors of Linux and both connected to the internet.

Jeff

I had no problem with getting the box in my LAN and connected to the
internet. I have not yet tried to connect to an ITSP. That would be
part of getting my old configs loaded to the system, which I've yet to
accomplish in a working fashion.

Could there be some substancial difference between my existing FC1
system and the Xorcom Debian? File locations? Permissions or CHMOD on
the config files themselves? 

I'm wokring based upon the assumption that I can simply migrate
/etc/asterisk between systems. Of course, I'll have to make certain
that VM mailboxes are setup correctly on the new box.

Michael
 
--
Michael Graves   [EMAIL PROTECTED]
Sr. Product Specialist  www.pixelpower.com
Pixel Power Inc. [EMAIL PROTECTED]

o713-861-4005
o800-905-6412
c713-201-1262



___
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] Xorcom Rapid CD for Production?

2005-01-03 Thread Kristian Kielhofner
Michael Graves wrote:
Hi All,
The past day or so I've setup a new * server based upon the Xorcom
Rapid ISO. It did as promised; wiped the base system, installed Debian
OS, installed Asterisk with a dummy configuration. So far so good.
If I could get the config from my existing * server migrated to the
Xorcom box the I'd be ready to roll. Essentially, it would be the same
as I have now on Fedora Core 1, but with a text mode management shell
and reboots into everything fully working without an user intervention.
I could put a 1 Gb CF card in a CF to IDE adapter and have an HD free
server, or just use a small HD instead.
However, I can't seem to get my current * configs to load to the Xorcom
box. I tried to sftp from my Windows desktop but my Windows ssh/sftp
client (www.privateshell.com) would not connect to the Xorcom box. I
confirmed that sshd was installed and running by trying Putty, as
described in the Xorcom faq. With Putty and its sftp counterpart I
could one-by-one upload the conf files from my existing server to the
Xorcom box, but it killed the * install on the Xorcom box.
Anybody have any experience turning the Xorcom Rapid installation into
a production installation for a small office? It would seem that I only
need to setup the configs appropriately, but something is going
dramatically wrong and I can't see it at the moment.
Michael
--
Michael Graves   [EMAIL PROTECTED]
Sr. Product Specialist  www.pixelpower.com
Pixel Power Inc. [EMAIL PROTECTED]
o713-861-4005
o800-905-6412
c713-201-1262
Micheal,
	A 1GB compact flash with an IDE - CF adapter will probably not last 
very long without a lot of tweaking.  Have you looked at AstLinux?:

http://www.krisk.org/astlinux/
Yep, it's my baby...
--
Kristian Kielhofner
___
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] Xorcom Rapid 0.9.0

2004-12-10 Thread Tzafrir Cohen
Hi

On Thu, Dec 09, 2004 at 02:12:13PM +0200, Tzafrir Cohen wrote:
 Hi
 
 Version 0.9.0 of Xorcom Rapid Debian/GNU/Linux/Asterisk has just been
 released.
 
 Main changes:
 

[snip]

 * Automatic detection of the most common Zaptel cards

[snip]

Astrisk will simply abort with an incorrect Zaptel channel
configuration, as opposed to other channels that are optional. This
makes automatic detection of Zaptel cards even more important.

We wrote some detection scripts that do a great job of auto-detecting
the hardware we currently have. They are part of our modified Zaptel
package and we hope to push those changes to Debain and/or Asterisk. 

I'd like to give more details about the scripts. I would appreciate any
feedback from others here.

The basic script is /usr/sbin/genzaptelconf . It attempts to generate a
working /etc/zaptel.conf or /etc/asterisk/zapata.conf according to what
it sees on /proc/zaptel .

Originally it was just a glorified awk script without much logic inside.
However from the data in /proc/zaptel we have no way to tell if a
channel is available or not. The card we tested it with was a TDM400P
with just one FXS module.

Our simple test to tell if the channel is a working module or not was to
try to open it and read one byte from it (head -c1 /dev/zaptel/NUM) .
But we first had to verify that the channel is working. We did this by
running ztcfg with a temporary config file.

This worked fine for that card and for our FXO cards. But when we got 
to the E100P card the reading of the byte hanged. Therefore we decided
to skip it for the moment .


/usr/sbin/zaptel-detect uses genzaptelconf to detect which modules could
be loaded. It starts by rmmod-ing all zaptel modules. Then for each
module it loads the module and checks if the load of the module has
changed the size of the output of genzaptelconf. If not, then the module
probably does nothing.


genzaptelconf does not attempt to generate a complete zapata.conf.
Rather , it creates /etc/asterisk/zapate-channels.conf , which is
#include-d by the main zapata.conf . Is there such a trick possible with
zaptel.conf?

The format of zapata.conf doesn't really help auto-generation: If you
put something in one extension you should take care to remove it later,
so it won't affect others. This is very unlike sip.conf and others.


There is one more thing we would appreciate feedback about:
We included in our current user interface (a text-based menu) quite a 
few useful commands. Starting from simple ones, like 'asterisk -rx show
uptime' , a ping to the first nameserver from /etc/resolv.conf, etc. 

Any idea for additions to that menu (/usr/bin/rapid-menu in the package
rapid-scripts. It is actually a configuration file for pdmenu ) would be 
welcome.

-- 
Tzafrir Cohen+---+
http://xorcom.com/   |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]  +---+
___
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] Xorcom Rapid 0.9.0

2004-12-09 Thread Tzafrir Cohen
Hi

Version 0.9.0 of Xorcom Rapid Debian/GNU/Linux/Asterisk has just been
released.

Main changes:

* A decent version of Asterisk/Zaptel (1.0.2) is provided
* Includes a better default configuration
* Automatic detection of the most common Zaptel cards
* Contains more optional software (apache, MySQL, Webmin and others) - 
  available via menu

You can get it from: 

http://updates.xorcom.com/iso/
http://updates.xorcom.com/iso/rapid.iso
http://updates.xorcom.com/iso/RAPID.txt


We seek input in a number of areas. Specifically, our genzaptelconf and
zaptel-detect scripts for generating zaptel.conf and zapata.conf
automatically could use feedback.



Updating from previous version:
Due to some initial packaging issues the upgrade from version 0.5.2 is
much more complicated than 'apt-get dist-upgrade' . 

The following procedure should be able to upgrade Xorcom Rapid 0.5.2 to
the current version. However it was only tested on a clean install.


# disable the original source (this adds a '#' before the apt source of
# the local CD. This is only required because of the versions of the 
# zaptel packages.
sed -i -e 's|^deb.*/var/cache/rapid.*|# |' /etc/apt/sources.list
apt-get update
apt-get remove zaptel zaptel-modules-2.6.7-1-386 zaptel-modules-2.4.27-1-386
# press Enter for yes
apt-get dist-upgrade
# press Enter for yes
# here may come some configuration questions from some scripts
apt-get remove perl-modules xfree86-common ipchains rapid-tasks
echo base_exten=400 /etc/default/zaptel.conf
apt-get install zaptel zaptel-modules-2.4.27-1-386
/usr/share/rapid-scripts/zaptel-detect-wrapper

# nice, but you can live without: replace login on consoles 5, 6 with
# rapid-menu-s currently in the modified /usr/lib/base-config/apt-setup
sed -i -e \
  's|^\([56]\):.*$|\1:2345:respawn:/usr/bin/rapid-menu  /dev/tty\1 
\/dev/tty\1|' \
 /etc/inittab.real
telinit -q
chvt 1
# return to console 1. also cress ctrl-c or restart to restart
# the menu.
# you will still need to login and logout once on consoles 5 and 6 to
# get the menus there


We hope that we have now set the files and versioned packages better,
so next time the upgrade would be simpler.



-- 
Tzafrir Cohen   +---+
http://xorcom.com/  |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED] +---+
___
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] Xorcom Rapid Asterisk distro beta 0.5.2

2004-10-28 Thread dean collins
I used the Xorcom cd to set up yesterday as well, haven't finished
configs yet but I assume it's all ok.

One point I will make is that it wouldn't discover my dhcp unless I
installed using the expert mode then dhcp auto-discover worked fine.

Cheers,
Dean

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of steve
szmidt
Sent: Thursday, October 28, 2004 12:49 AM
To: Asterisk Users List
Subject: Re: [Asterisk-Users] Xorcom Rapid Asterisk distro beta 0.5.2

On Sunday 10 October 2004 06:41 am, Tzafrir Cohen wrote:
 Hi folks

 Hello to all,

 We have created a simple Debian-based distribution of Asterisk. A CD
 image of an installer(150MB, requires no extra packages from the 'net)
 that installs Debian and Asterisk simple and easy.

 You are invited to take a look at:

 http://www.xorcom.com/rapid/

 The image is free as in GPL. Sources included on the image.

 Any comments will be appreciated, either via the website or directly
to
 me.

 I'd like to thank all the users and developers who helped me on
 #asterisk , #debian-boot and other places.

Being posed as an Asterisk distro I decided to reply to the list.


This is a nice and fast install ending up using the whole of 334M on a
single 
partition. I used an old 600 MHz machine with 256M RAM and it went
pretty 
fast and smooth. 

Though I can't for the life of me understand why it defaults to having
these 
ports open by default:

porttcp udp service
9   x   x   discard
13  x   daytime
37  x   time
2000x   callbook

I know I don't want to offer any of these services to the Internet.
9/13/37 
are never used these days as those services were found too easy to hack 
through. That was a number of years ago and of course they could be
improved. 
But still does not explain why they are open. My SIP devices uses 123.

Port 2000 has been reported as recently as the 25th Oct to be an
increasing 
new IIS PCT exploit. 

One usually prefer to keep a low profile with servers. This one is
asking for 
attention. 

To their defense, if you read the release notes, they do recommend
against 
using this in a production environment. I'd like to see a more prominent

warning. And during the ever simple install it does not verify the root 
password. You better know what you type.

It does not have ssh installed. Not being a debian user I'm not sure if 
there's a good reason to not include ssh in the default install. Except
to 
keep things to bare bones. Though I would be hard to not have space for
ssh. 
The game Banner could be skipped if space is the target.

All in all it has lots of tools linked through a menu system that works
pretty 
decently. Plenty enough for a server. I guess having an ability to edit 
asterisk from there could be added. Otherwise it's quite complete.

I managed to install ssh, and mc, easily enough (from the CD I think, it
seems 
too fast to have come down over the net). Somehow I've managed to make
this  
my first direct contact with building a Debian system. It would be VERY
hard 
to make it any easier.

The one thing I'd like to see is a menu option that opens the services I
need 
After the install. Not open by default.

Asterisk from 05/31/04 is running on kernel 2.4.27. 

There's a minor point of having a broken vm link in /var/spool/asterisk.

Having said all that, I think they have done a great job of creating a
single 
Asterisk CD. Some honest work went into getting this done. As a
contribution 
to Asterisk I think it's a very good thing! If the next release
continous 
this well, it should be a very popular distro for our community!

-- 

Steve Szmidt

They that would give up essential liberty for temporary safety 
deserve neither liberty nor safety.
Benjamin Franklin
___
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] Xorcom Rapid Asterisk distro beta 0.5.2

2004-10-27 Thread steve szmidt
On Sunday 10 October 2004 06:41 am, Tzafrir Cohen wrote:
 Hi folks

 Hello to all,

 We have created a simple Debian-based distribution of Asterisk. A CD
 image of an installer(150MB, requires no extra packages from the 'net)
 that installs Debian and Asterisk simple and easy.

 You are invited to take a look at:

 http://www.xorcom.com/rapid/

 The image is free as in GPL. Sources included on the image.

 Any comments will be appreciated, either via the website or directly to
 me.

 I'd like to thank all the users and developers who helped me on
 #asterisk , #debian-boot and other places.

Being posed as an Asterisk distro I decided to reply to the list.


This is a nice and fast install ending up using the whole of 334M on a single 
partition. I used an old 600 MHz machine with 256M RAM and it went pretty 
fast and smooth. 

Though I can't for the life of me understand why it defaults to having these 
ports open by default:

porttcp udp service
9   x   x   discard
13  x   daytime
37  x   time
2000x   callbook

I know I don't want to offer any of these services to the Internet. 9/13/37 
are never used these days as those services were found too easy to hack 
through. That was a number of years ago and of course they could be improved. 
But still does not explain why they are open. My SIP devices uses 123.

Port 2000 has been reported as recently as the 25th Oct to be an increasing 
new IIS PCT exploit. 

One usually prefer to keep a low profile with servers. This one is asking for 
attention. 

To their defense, if you read the release notes, they do recommend against 
using this in a production environment. I'd like to see a more prominent 
warning. And during the ever simple install it does not verify the root 
password. You better know what you type.

It does not have ssh installed. Not being a debian user I'm not sure if 
there's a good reason to not include ssh in the default install. Except to 
keep things to bare bones. Though I would be hard to not have space for ssh. 
The game Banner could be skipped if space is the target.

All in all it has lots of tools linked through a menu system that works pretty 
decently. Plenty enough for a server. I guess having an ability to edit 
asterisk from there could be added. Otherwise it's quite complete.

I managed to install ssh, and mc, easily enough (from the CD I think, it seems 
too fast to have come down over the net). Somehow I've managed to make this  
my first direct contact with building a Debian system. It would be VERY hard 
to make it any easier.

The one thing I'd like to see is a menu option that opens the services I need 
After the install. Not open by default.

Asterisk from 05/31/04 is running on kernel 2.4.27. 

There's a minor point of having a broken vm link in /var/spool/asterisk.

Having said all that, I think they have done a great job of creating a single 
Asterisk CD. Some honest work went into getting this done. As a contribution 
to Asterisk I think it's a very good thing! If the next release continous 
this well, it should be a very popular distro for our community!

-- 

Steve Szmidt

They that would give up essential liberty for temporary safety 
deserve neither liberty nor safety.
Benjamin Franklin
___
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] Xorcom Rapid Asterisk distro beta 0.5.2

2004-10-10 Thread Tzafrir Cohen
Hi again, folks

A short update

On Sun, Oct 10, 2004 at 12:41:07PM +0200, Tzafrir Cohen wrote:
 
 We have created a simple Debian-based distribution of Asterisk. A CD
 image of an installer(150MB, requires no extra packages from the 'net)
 that installs Debian and Asterisk simple and easy.
 
 You are invited to take a look at:
 
 http://www.xorcom.com/rapid/

Original file was at http://iglu.org.il/pub/Hebrew/Xorcom/

A mirror has been contributed by Joop Cousteau:

  http://radiovoip.com/Rapid/

So you can now actually download this in more than a modem's speed :-)

 
 The image is free as in GPL. Sources included on the image.
 
 Any comments will be appreciated, either via the website or directly to
 me.
 
 I'd like to thank all the users and developers who helped me on
 #asterisk , #debian-boot and other places.

-- 
Tzafrir Cohen   +---+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]   +---+
[EMAIL PROTECTED] icq#16849755
___
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