[asterisk-users] include sip configuration from another file in sip.conf

2010-05-12 Thread Robert Wagner
Hi,

when i include a sip configuration from another file in my sip.conf
using #include /etc/asterisk/sip-sipgate.conf everything seems to be
working.
The peer is listed when i execute sip show peers and Status is OK.
But the peer is not listed using sip show registry.
I need to place the register = ... in the sip.conf to make it work.
Is this working as expected or is it a bug?

Regards
Robert Wagner




signature.asc
Description: OpenPGP digital signature
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] pattern containing an asterisk

2010-05-12 Thread Robert Wagner
Hi,

i need to match a number with like 03012345678*0 or 03012345*9
I tried _X.*X and _X!*X but both are maching 03012345678 too, ignoring
that *X is required at the end.
The interesting part is that like expected _X*X is matching only numbers
like 1*1 and not 11

Regards
Robert Wagner




signature.asc
Description: OpenPGP digital signature
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] TE110P - [EMAIL PROTECTED] Install Problems - Televantage 3 T1

2005-09-15 Thread Robert Wagner
Title: TE110P - [EMAIL PROTECTED] Install Problems



I 
figured it out. The old system (Televantage 3 and 4 I think) has limited 
specifications on the T1. After setting up the system, I was able to send 
and recieve calls. I still have some work to do like figuring out faxing 
and a floating receptionist, but this is a nice start.

Televantage 
T1 Requirements:
Framing: D4 Superframe or Extended 
Superframd
Interface: DSX-1
Supervisory Signal: 2- or 4-wire 
EM
Wink: Wink and double wink
CSU or 
NTU equipment: Robbed bit: CSU, ISDN: NTU
Line 
coding/Framing: For D4 Superframe: AMI; for Extended Superframe: 
B8ZS
Digit 
signaling: Robbed Bit: DTMF or MF; ISDN: DTMF
--


Working Config for Televantage 3 T1
---zaptel.conf
span=1,1,0,d4,ami 
#This will vary depending on your T1. Look at your Adtran or CSU and set 
accordingly.em=1-24
# Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0"# channel 1, 
WCT1, unhandled for now# channel 2, WCT1, unhandled for now# channel 3, 
WCT1, unhandled for now# channel 4, WCT1, unhandled for now# channel 5, 
WCT1, unhandled for now# channel 6, WCT1, unhandled for now# channel 7, 
WCT1, unhandled for now# channel 8, WCT1, unhandled for now# channel 9, 
WCT1, unhandled for now# channel 10, WCT1, unhandled for now# channel 
11, WCT1, unhandled for now# channel 12, WCT1, unhandled for now# 
channel 13, WCT1, unhandled for now# channel 14, WCT1, unhandled for 
now# channel 15, WCT1, unhandled for now# channel 16, WCT1, unhandled 
for now# channel 17, WCT1, unhandled for now# channel 18, WCT1, 
unhandled for now# channel 19, WCT1, unhandled for now# channel 20, 
WCT1, unhandled for now# channel 21, WCT1, unhandled for now# channel 
22, WCT1, unhandled for now# channel 23, WCT1, unhandled for now# 
channel 24, WCT1, unhandled for now

# Global data

loadzone = 
usdefaultzone=usend 
zaptel.conf

---zapata.conf
;; Zapata telephony interface;; 
Configuration file

[trunkgroups]

[channels]

language=ensignalling=em_wgroup=0context=from-pstnchannel=1-24echocancelwhenbridged=yesechotraining=400busydetect=nofaxdetect=incoming---end 
zapata.conf


  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Robert 
  WagnerSent: Wednesday, September 14, 2005 10:46 AMTo: 
  asterisk-users@lists.digium.comSubject: [Asterisk-Users] TE110P - 
  [EMAIL PROTECTED] Install Problems
  I am having problems sending and receiving calls 
  over the T1. They never seem to connect - outbound keeps ringing, 
  inbound gets busy. The T1 looks ok - no errors on the line. Any 
  ideas on what is wrong? I have tried a 
  variety of fxsks and fxoks configurations without avail. This is a 
  single [EMAIL PROTECTED] system with a single T1 card. Robbed Bit T1 ami, 
  d4.
  --inbound call  -- 
  Starting simple switch on 'Zap/7-1'  -- Starting simple switch on 
  'Zap/14-1'  -- Executing 
  Playback("Zap/7-1", "vm-goodbye") in new stack  -- Playing 'vm-goodbye' (language 'en') 
   -- Executing Macro("Zap/7-1", 
  "hangupcall") in new stack  -- Executing ResetCDR("Zap/7-1", "w") in new 
  stack  -- Executing 
  NoCDR("Zap/7-1", "") in new stack  -- Executing Wait("Zap/7-1", "5") in new 
  stack  -- Executing 
  Playback("Zap/14-1", "vm-goodbye") in new stack  -- Playing 'vm-goodbye' (language 'en') 
   -- Executing Hangup("Zap/7-1", 
  "") in new stack  == Spawn extension 
  (macro-hangupcall, s, 4) exited non-zero on 'Zap/7-1' in macro 
  'hangupcall'  == Spawn extension 
  (default, s, 2) exited non-zero on 'Zap/7-1'  -- Hungup 'Zap/7-1'  -- Executing Macro("Zap/14-1", "hangupcall") in new 
  stack  -- Executing 
  ResetCDR("Zap/14-1", "w") in new stack  -- Executing NoCDR("Zap/14-1", "") in new 
  stack  -- Executing 
  Wait("Zap/14-1", "5") in new stack  -- Executing Hangup("Zap/14-1", "") in new 
  stack  == Spawn extension 
  (macro-hangupcall, s, 4) exited non-zero on 'Zap/14-1' in macro 
  'hangupcall'  == Spawn extension 
  (default, s, 2) exited non-zero on 'Zap/14-1'  -- Hungup 'Zap/14-1'  
  --outbound call  -- Executing SetVar("SIP/4901-cd04", 
  "OUTNUM=mynum") in new stack  -- Executing Cut("SIP/4901-cd04", 
  "custom=OUT_1|:|1") in new stack  -- Executing GotoIf("SIP/4901-cd04", "0?19") in new 
  stack  -- Executing 
  Dial("SIP/4901-cd04", "ZAP/g0/mynum") in new stack  -- Called g0/mynum  -- Zap/1-1 answered SIP/4901-cd04  -- Hungup 'Zap/1-1' --- 
  [zaptel.conf] span=1,1,0,d4,ami # have tried with 1,0,0 - same problem 
  fxsks=1-24 loadzone = us defaultzone=us 
  
  [zapata.conf] [channels] signalling=fxs_ks 
  group=0 

[Asterisk-Users] TE110P - [EMAIL PROTECTED] Install Problems

2005-09-14 Thread Robert Wagner
Title: TE110P - [EMAIL PROTECTED] Install Problems






I am having problems sending and receiving calls over the T1. They never seem to connect - outbound keeps ringing, inbound gets busy. The T1 looks ok - no errors on the line. Any ideas on what is wrong? I have tried a variety of fxsks and fxoks configurations without avail. This is a single [EMAIL PROTECTED] system with a single T1 card. Robbed Bit T1 ami, d4.

--inbound call

 -- Starting simple switch on 'Zap/7-1'

 -- Starting simple switch on 'Zap/14-1'

 -- Executing Playback(Zap/7-1, vm-goodbye) in new stack

 -- Playing 'vm-goodbye' (language 'en')

 -- Executing Macro(Zap/7-1, hangupcall) in new stack

 -- Executing ResetCDR(Zap/7-1, w) in new stack

 -- Executing NoCDR(Zap/7-1, ) in new stack

 -- Executing Wait(Zap/7-1, 5) in new stack

 -- Executing Playback(Zap/14-1, vm-goodbye) in new stack

 -- Playing 'vm-goodbye' (language 'en')

 -- Executing Hangup(Zap/7-1, ) in new stack

 == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Zap/7-1' in macro 'hangupcall'

 == Spawn extension (default, s, 2) exited non-zero on 'Zap/7-1'

 -- Hungup 'Zap/7-1'

 -- Executing Macro(Zap/14-1, hangupcall) in new stack

 -- Executing ResetCDR(Zap/14-1, w) in new stack

 -- Executing NoCDR(Zap/14-1, ) in new stack

 -- Executing Wait(Zap/14-1, 5) in new stack

 -- Executing Hangup(Zap/14-1, ) in new stack

 == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Zap/14-1' in macro 'hangupcall'

 == Spawn extension (default, s, 2) exited non-zero on 'Zap/14-1'

 -- Hungup 'Zap/14-1'




--outbound call

 -- Executing SetVar(SIP/4901-cd04, OUTNUM=mynum) in new stack

 -- Executing Cut(SIP/4901-cd04, custom=OUT_1|:|1) in new stack

 -- Executing GotoIf(SIP/4901-cd04, 0?19) in new stack

 -- Executing Dial(SIP/4901-cd04, ZAP/g0/mynum) in new stack

 -- Called g0/mynum

 -- Zap/1-1 answered SIP/4901-cd04

 -- Hungup 'Zap/1-1'

---



[zaptel.conf]

span=1,1,0,d4,ami # have tried with 1,0,0 - same problem

fxsks=1-24

loadzone = us

defaultzone=us


[zapata.conf]

[channels]

signalling=fxs_ks

group=0

;context=incoming

channel=1-24

echocancelwhenbridged=yes

echotraining=400

context=default

faxdetect=incoming


;Include genzaptelconf configs

#include zapata-auto.conf


;Include AMP configs

#include zapata_additional.conf




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