[asterisk-users] ChanSpy() and Spygroup

2011-12-07 Thread Jeremy.Hellstrom
I am running an Asterisk 1.4.34 installation.   I am trying to separate
several SIP phones into two separate spygroups.  These phones are making
external calls as opposed to receiving incoming calls.  Is there a place
to assign a phone to a Spygroup other than when the call is initiated.
I am trying to avoid having to make separate external call behaviours
for every single extension in the dialplan that will be monitored.

 

Thanks, Jeremy

 

Jeremy Hellstrom

Specialist, IT/Systems I 604.664.2472 I 604.664.2400 (245) | #1550-1090
W. Georgia St. Vancouver BC V6E 3V7 I www.synovate.com
http://www.synovate.com/ 

State-of-the-art focus group facility, now with FocusVision! For
recruiting, hosting and facilitating, visit www.vancouverfocusgroups.com
http://www.vancouverfocusgroups.com/  

 

--
_
-- 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] TELUS British Columbia PRI Settings

2010-09-29 Thread Jeremy.Hellstrom
Thanks for the additional comments, I though the timing was odd as well
as I had thought it would be the provider that set the timing but it is
currently working here and apparently at other sites.

I'll let everyone know if it turns out to be incorrect somehow.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tzafrir
Cohen
Sent: September 28, 2010 11:06 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] TELUS British Columbia PRI Settings

On Tue, Sep 28, 2010 at 11:23:16AM -0500, jeremy.hellst...@synovate.com
wrote:
 I'd just like to thank everyone that helped me get this running.  I
thought I had a FAS PRI but it turns out it was NFAS so there was no
dchannel on the second PRI.  When getting the 2nd PRI changed, I
received an email containing the cheat sheet TELUS employees use which I
thought I should share, though quite a few settings will be obvious to
Asterisk gurus.  
 
 The TELUS cheat sheet
 
 
 Asterisk PRI provisioning
 = 
  
 T1 span timing is provisioned in /etc/zaptel.conf or
/etc/dahdi/system.conf


---
  
 For syntax see
[system.conf.sample](http://svn.digium.com/svn/dahdi/tools/trunk/system.
conf.sample)
 
 ### Defining a span as esf/b8zs
 span=1,0,0,esf,b8zs 
 
 ### Defining a span as sf/ami
 span=1,0,0,d4,ami

Both have timing=0 . That is: that device sets the timing on the T1
line. Shouldn't it be '1' instead?

   
  
 PRI B/D channels are provisioned in /etc/zaptel.conf or
/etc/dahdi/system.conf


--
 
 For syntax see
[system.conf.sample](http://svn.digium.com/svn/dahdi/tools/trunk/system.
conf.sample)  
 
 bchan=1-23
 dchan=24
 
 PRI interface options are provisioned in /etc/asterisk/zapata.conf or
/etc/asterisk/chan_dahdi.conf 


---
 
 For syntax see
[chan_dahdi.conf.sample](http://svn.digium.com/svn/asterisk/trunk/config
s/chan_dahdi.conf.sample)
 
  [channels]
 ;--- PRI interface options
 ; Switchtype:  Only used for PRI.
 ;
 ; national:National ISDN 2 (default)
 ; dms100:  Nortel DMS100
 ; 4ess:ATT 4ESS
 ; 5ess:Lucent 5ESS
 ; euroisdn:EuroISDN (common in Europe)
 ; ni1: Old National ISDN 1
 ; qsig:Q.SIG
  
 switchtype=national
 context=incoming-from-dahdi ; defined in extensions.conf
 signalling=pri_cpe ; should be pri-cpe for customer side  
  
 ### Defining channel groups for selection
 
 Once you've defined groups in chan_dahdi.conf.sample they can be
referenced in extensions.conf
 
  [channels]
 ;--- PRI interface options
 . . .   
 group=1 ; reference for hunting method in extensions.conf
 channel=1-23 ; follows b-channel provisioning


Note that anything after that 'channel=' line has no effect on those
channels.
 
 ### TON / NPI
 For syntax see
[chan_dahdi.conf.sample](http://svn.digium.com/svn/asterisk/trunk/config
s/chan_dahdi.conf.sample)
 ; unknown:Unknown
 ; private:Private ISDN
 ; local:  Local ISDN
 ; national:   National ISDN
 ; international:  International ISDN
 ; dynamic:Dynamically selects the appropriate dialplan
 ; redundant:  Same as dynamic, except that the underlying
number is not
 ; changed (not common)
 

  pridialplan 
 For syntax see
[chan_dahdi.conf.sample](http://svn.digium.com/svn/asterisk/trunk/config
s/chan_dahdi.conf.sample)
 
 * national : Interpret the digits as a national number.
 * international : A fully formed E.164 phone number.
 
 [channels]
 . . .
 ; PRI Dialplan: The ISDN-level Type Of Number (TON) or
numbering plan, used for
 ; the dialed number.  For most installations, leaving this as
'unknown' (the
 ; default) works in the most cases.  In some very unusual
circumstances, you
 ; may need to set this to 'dynamic' or 'redundant'.  Note that
if you set one
 ; of the others, you will be unable to dial another class of
numbers.  For
 ; example, if you set 'national', you will be unable to dial
local or
 ; international numbers.
 pridialplan=unknown ; Asterisk default

As of 1.6.0 . On 1.4 the default is 'national'.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- Bandwidth and 

Re: [asterisk-users] TELUS British Columbia PRI Settings

2010-09-28 Thread Jeremy.Hellstrom
I'd just like to thank everyone that helped me get this running.  I thought I 
had a FAS PRI but it turns out it was NFAS so there was no dchannel on the 
second PRI.  When getting the 2nd PRI changed, I received an email containing 
the cheat sheet TELUS employees use which I thought I should share, though 
quite a few settings will be obvious to Asterisk gurus.  

The TELUS cheat sheet


Asterisk PRI provisioning
= 
 
T1 span timing is provisioned in /etc/zaptel.conf or /etc/dahdi/system.conf
---
 
For syntax see 
[system.conf.sample](http://svn.digium.com/svn/dahdi/tools/trunk/system.conf.sample)

### Defining a span as esf/b8zs
span=1,0,0,esf,b8zs 

### Defining a span as sf/ami
span=1,0,0,d4,ami
  
 
PRI B/D channels are provisioned in /etc/zaptel.conf or /etc/dahdi/system.conf
--

For syntax see 
[system.conf.sample](http://svn.digium.com/svn/dahdi/tools/trunk/system.conf.sample)
  

bchan=1-23
dchan=24

PRI interface options are provisioned in /etc/asterisk/zapata.conf or 
/etc/asterisk/chan_dahdi.conf 
---

For syntax see 
[chan_dahdi.conf.sample](http://svn.digium.com/svn/asterisk/trunk/configs/chan_dahdi.conf.sample)

 [channels]
;--- PRI interface options
; Switchtype:  Only used for PRI.
;
; national:National ISDN 2 (default)
; dms100:  Nortel DMS100
; 4ess:ATT 4ESS
; 5ess:Lucent 5ESS
; euroisdn:EuroISDN (common in Europe)
; ni1: Old National ISDN 1
; qsig:Q.SIG
 
switchtype=national
context=incoming-from-dahdi ; defined in extensions.conf
signalling=pri_cpe ; should be pri-cpe for customer side  
 
### Defining channel groups for selection

Once you've defined groups in chan_dahdi.conf.sample they can be referenced in 
extensions.conf

 [channels]
;--- PRI interface options
. . .   
group=1 ; reference for hunting method in extensions.conf
channel=1-23 ; follows b-channel provisioning

### TON / NPI
For syntax see 
[chan_dahdi.conf.sample](http://svn.digium.com/svn/asterisk/trunk/configs/chan_dahdi.conf.sample)
; unknown:Unknown
; private:Private ISDN
; local:  Local ISDN
; national:   National ISDN
; international:  International ISDN
; dynamic:Dynamically selects the appropriate dialplan
; redundant:  Same as dynamic, except that the underlying number is 
not
; changed (not common)

 pridialplan 
For syntax see 
[chan_dahdi.conf.sample](http://svn.digium.com/svn/asterisk/trunk/configs/chan_dahdi.conf.sample)

* national : Interpret the digits as a national number.
* international : A fully formed E.164 phone number.

[channels]
. . .
; PRI Dialplan: The ISDN-level Type Of Number (TON) or numbering plan, 
used for
; the dialed number.  For most installations, leaving this as 'unknown' 
(the
; default) works in the most cases.  In some very unusual 
circumstances, you
; may need to set this to 'dynamic' or 'redundant'.  Note that if you 
set one
; of the others, you will be unable to dial another class of numbers.  
For
; example, if you set 'national', you will be unable to dial local or
; international numbers.
pridialplan=unknown ; Asterisk default

 prilocaldialplan 
 
 
 
For syntax see 
[chan_dahdi.conf.sample](http://svn.digium.com/svn/asterisk/trunk/configs/chan_dahdi.conf.sample)

* national : Interpret the digits as a national number.
* international : A fully formed E.164 phone number.
 
; PRI Local Dialplan:  Only RARELY used for PRI (sets the calling 
number's
; numbering plan).  In North America, the typical use is sending the 10 
digit
; callerID number and setting the prilocaldialplan to 'national' (the 
default).
prilocaldialplan=national ; Asterisk default
 
 
Hunting (selection of a specific trunk) 
---
 
### Invoking hunting in Asterisk dialplans
  
For syntax see 
[extensions.config.sample](http://svn.digium.com/svn/asterisk/trunk/configs/extensions.conf.sample)

; g: select the lowest-numbered non-busy DAHDI channel
;(aka. ascending sequential hunt group).
; G: select the highest-numbered non-busy DAHDI channel
;(aka. descending sequential hunt group).
 
 
exten = 1,1,Dial(DAHDI/g1/8675309) ; ascending sequential hunt group (LIDL 
towards provider)
exten = 2,1,Dial(DAHDI/G1/8675309) ; descending sequential hunt group 
(MIDL towards provider)
  
   

Re: [asterisk-users] TELUS British Columbia PRI Settings

2010-08-30 Thread Jeremy.Hellstrom
It is a half turned up PRI, so 1-12 should be correct?

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tzafrir Cohen
Sent: August 28, 2010 12:49 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] TELUS British Columbia PRI Settings

On Sat, Aug 28, 2010 at 01:32:13PM -0400, Andres wrote:
 On 8/28/2010 12:59 PM, jeremy.hellst...@synovate.com wrote:
 
  I’m not surprised both the conf file and myself are confused.
 
  __
 
  I still end up with messages telling me that a dchannel cannot be 
  found. Any other suggestions?
 
  Thanks, Jeremy
 
 
 I suggest you start over as I can see you are still confused about the 
 content of the 2 files and still trying to use spanmap.
 
 Start with /etc/dahdi/system.conf:
 -
 loadzone=us
 defaultzone=us
 span=1,1,0,esf,b8zs
 bchan=1-23
 hardhdlc=24
 

Basically fine (hardhdlc, indeed?)

 
 ...and /etc/asterisk/chan_dahdi.conf:

Almost OK. Just one thing missing:

 

[channels]

 language=en
 context=from-pstn
 switchtype=national
 signalling = pri_cpe
 group=1
 channel = 1-12
 ---

(1-12? not 1-23?)

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- 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
-- 
_
-- 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] TELUS British Columbia PRI Settings

2010-08-30 Thread Jeremy.Hellstrom
I tried those as you said, deleting my failed attempt.  I've found that
using hardhdlc=24 generates an error and reminds me that FXO uses FXS
signalling and vice versa when running dadhi_restart, which seems to
indicate that it is the wrong variable name.

I also notice that if I change that variable to dchan in system.conf, I
receive no error but no matter what value I put in Asterisk looks at
channel 24 for the dchannel and as this is a half turned up PRI I have
suspicions that the dchan is not 24 though I still need TELUS to get
back to me to confirm that. 

Any other ideas as to what I am doing wrong or if I am making a bad
assumption?

Thanks, Jeremy

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Andres
Sent: August 28, 2010 10:32 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] TELUS British Columbia PRI Settings

On 8/28/2010 12:59 PM, jeremy.hellst...@synovate.com wrote:

 I'm not surprised both the conf file and myself are confused.

 __

 I still end up with messages telling me that a dchannel cannot be 
 found. Any other suggestions?

 Thanks, Jeremy


I suggest you start over as I can see you are still confused about the 
content of the 2 files and still trying to use spanmap.

Start with /etc/dahdi/system.conf:
-
loadzone=us
defaultzone=us
span=1,1,0,esf,b8zs
bchan=1-23
hardhdlc=24


...and /etc/asterisk/chan_dahdi.conf:

language=en
context=from-pstn
switchtype=national
signalling = pri_cpe
group=1
channel = 1-12
---

That is the most basic stuff you need to get the PRI up.

Andres
http://www.neuroredes.com

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

-- 
_
-- 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] TELUS British Columbia PRI Settings

2010-08-30 Thread Jeremy.Hellstrom
The specific error message is as follows.
_
Changing signalling on channel 24 from Unused to Hardware assisted
D-channel
DAHDI_CHANCONFIG failed on channel 24: Invalid argument (22)
Did you forget that FXS interfaces are configured with FXO signalling
and that FXO interfaces use FXS signalling?
_

I am using the simplified system.conf and chan_dahdi that you specified
before.

Thanks for continuing to help me and my gift for producing bizarre
errors.
Jeremy

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Andres
Sent: August 30, 2010 11:45 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] TELUS British Columbia PRI Settings

On 8/30/2010 11:42 AM, jeremy.hellst...@synovate.com wrote:
 I tried those as you said, deleting my failed attempt.  I've found
that
 using hardhdlc=24 generates an error and reminds me that FXO uses FXS
 signalling and vice versa when running dadhi_restart, which seems to
 indicate that it is the wrong variable name.

That makes no sense.  You are configuring a PRI, not an analog line.  
You should not be getting any messages regarding FXO or FXS.  Take a 
look at the file again and delete any reference to analog channels if 
you are not using them.

Andres
http://www.neuroredes.com
 I also notice that if I change that variable to dchan in system.conf,
I
 receive no error but no matter what value I put in Asterisk looks at
 channel 24 for the dchannel and as this is a half turned up PRI I have
 suspicions that the dchan is not 24 though I still need TELUS to get
 back to me to confirm that.

 Any other ideas as to what I am doing wrong or if I am making a bad
 assumption?

 Thanks, Jeremy

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Andres
 Sent: August 28, 2010 10:32 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] TELUS British Columbia PRI Settings

 On 8/28/2010 12:59 PM, jeremy.hellst...@synovate.com wrote:

 I'm not surprised both the conf file and myself are confused.

 __

 I still end up with messages telling me that a dchannel cannot be
 found. Any other suggestions?

 Thanks, Jeremy


  
 I suggest you start over as I can see you are still confused about the
 content of the 2 files and still trying to use spanmap.

 Start with /etc/dahdi/system.conf:
 -
 loadzone=us
 defaultzone=us
 span=1,1,0,esf,b8zs
 bchan=1-23
 hardhdlc=24
 

 ...and /etc/asterisk/chan_dahdi.conf:
 
 language=en
 context=from-pstn
 switchtype=national
 signalling = pri_cpe
 group=1
 channel =  1-12
 ---

 That is the most basic stuff you need to get the PRI up.

 Andres
 http://www.neuroredes.com




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

-- 
_
-- 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] TELUS British Columbia PRI Settings

2010-08-28 Thread Jeremy.Hellstrom
I'm not surprised both the conf file and myself are confused.

 

I've pared things down in chan_dahdi.conf to ...

_

 [channels]

spanmap = 1,1,0,esf,b8zs

#include dahdi-channels.conf

switchtype = national

signalling = pri_cpe

context = default

_

As I read the instructions for chan_dahdi, the spanmap - span = 1,
timing = from PSTN, LBO = 0, framing = esf and coding = b8zs

 

In the header of dahdi-channels.conf it specifies that it is intended to
be included in chan_dahdi and I have noticed that if I remove that line
then I only generate a pseudo channel and no PRI channels.



; Autogenerated by /usr/sbin/dahdi_genconf on Thu Aug 26 11:11:45 2010

; If you edit this file and execute /usr/sbin/dahdi_genconf again,

; your manual changes will be LOST.

; Dahdi Channels Configurations (chan_dahdi.conf)

;

; This is not intended to be a complete chan_dahdi.conf. Rather, it is
intended

; to be #include-d by /etc/chan_dahdi.conf that will include the global
settings

;

 

; Span 1: WCT1/0 Wildcard TE121 Card 0 (MASTER) B8ZS/ESF ClockSource 

group=0,11

context=from-pstn

switchtype=national

signalling = pri_cpe

channel = 1-12

group = 63

__

 

 

I still end up with messages telling me that a dchannel cannot be found.
Any other suggestions?

 

Thanks, Jeremy

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Charles
Moye
Sent: August 28, 2010 6:39 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] TELUS British Columbia PRI Settings

 

Oh, and that isn't how a spanmap looks either. It looks like you have
mixed some stuff from system.conf and chan_dahdi.conf here. My guess is
your system.conf is configured at least mostly right, and that is why
everything goes green.

 

http://svn.asterisk.org/svn/dahdi/tools/branches/2.3/system.conf.sample

 

On Sat, Aug 28, 2010 at 8:35 AM, Charles Moye cha...@gmail.com wrote:

 [trunkgroups]

 trunkgroup = 1,24

 spanmap = 1,1,0,esf,b8zs

 

If you're only using one span, is there a reason you are using
trunkgroups? I believe those only get used for NFAS and GR-303

 

 #include /etc/asterisk/dahdi-channels.conf

 

Do you have anything defined in this file? Since it comes at the top,
any changes you make below it won't affect anything defined in that
file.

 

 bchannel = 1-12

 dchannel = 24

 

I didn't think bchannel and dchannel were valid for chan_dahdi.conf.
Don't those only exist in system.conf?

I believe you only declare 'channel' for the b-channels in
chan_dahdi.conf.

 

http://svn.asterisk.org/svn/asterisk/branches/1.6.2/configs/chan_dahdi.c
onf.sample

 

 

-- 
_
-- 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] TELUS British Columbia PRI Settings

2010-08-27 Thread Jeremy.Hellstrom
I am having some difficulties getting my Asterisk box to find the d-channel 
from a TELUS PRI and am waiting to hear back from one of their techs.  In the 
meantime I thought I would check with the brilliant people of the mailing list.

 

As I understand it is a T1 connection, not an E1 and I am using a Digium TE121 
with hardware echo cancellation.  I have green lights on the back of the card 
and the PRI connection, which go red when I do a dahdi restart command and come 
back to green once it is finished.

 

I know from our other system that the frame and coding are ESF and B8ZS so it 
must be something in the signaling of the channels.  My chan_dadhdi is below, 
the commented out lines are ones I have tried.  I’ve also tried moving the 
dchannel  around, 12 through 24.  Does anyone see anything blatantly wrong?  

 

Thanks, Jeremy

 

chan_dahdi.conf

 

[trunkgroups]

trunkgroup = 1,24

spanmap = 1,1,0,esf,b8zs

 

[channels]

#include /etc/asterisk/dahdi-channels.conf

 

;signalling = em

;signalling = pri_net

signalling = pri_cpe

;context=default

context=incoming

;switchtype=national

switchtype=dms100

;group = 1

bchannel = 1-12

dchannel = 24

echocancel=yes

-- 
_
-- 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] TELUS British Columbia PRI Settings

2010-08-27 Thread Jeremy.Hellstrom
I see ...
Chan_dahdi.c 2796 pri_find_dchan  No D-channel available using Primary channel 
X as D-channel anyway.

With X being whichever number I assigned to the D-channel in chan_dahdi and 
system.conf.

Then when dialling I get an error 0 - unknown, which occurs when Asterisk tries 
to open a channel from softphone to PSTN.

Jeremy

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Paul Belanger
Sent: August 27, 2010 10:13 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] TELUS British Columbia PRI Settings

On Fri, Aug 27, 2010 at 12:46 PM,  jeremy.hellst...@synovate.com wrote:
 moving the dchannel  around, 12 through 24.  Does anyone see anything
 blatantly wrong?

What alarms are you getting?

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

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

-- 
_
-- 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] Reinstalling Asterisk due to hardware changes

2010-08-06 Thread Jeremy.Hellstrom
My purely SIP experiment has failed so I am purchasing a Digium E1/T1 card to 
put into my Asterisk box.

 

I know from the wonderful O'Reilly book that the proper installation is Zaptel 
à libpri à Asterisk.  Is it possible to simply reinstall in that order once I 
have installed the card and have Asterisk successfully work or is it best to 
uninstall all three packages and install from scratch?

 

Thanks, Jeremy

 

Jeremy Hellstrom   

 

Specialist, IT/Systems/Sampling

Phone (604) 664 2472

Fax (604) 664 2456

Suite 1550

1090 West Georgia St.

Vancouver BC

V6E 3V7

 

www.synovate.com http://www.synovate.com/ 

 



Vancouver's ultimate focus group facility

State-of-the-art focus group facility, now with FocusVision! Synovate is your 
one-stop shop for all qualitative research needs from recruiting, to 
moderating, to facilitating. To learn more, visit 
www.synovate.com/vancouverfocusgroups 
http://www.synovate.com/vancouverfocusgroups  

 

-- 
_
-- 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] Using SIP to dial extension that will give an outside line

2010-08-03 Thread Jeremy.Hellstrom
I am trying to add an Asterisk box to an Iwatsu ECS (Software Version
7.0 R.01) hopefully without using a physical T1/E1 card.  Internally the
SIP works fine, it is dialling an outside line that is giving me
difficulties.  One way that I think it might be possible is for an
outbound call to connect to extenstion 3001, which is one of 36 PRI
trunks available to the Iwatsu system.  Dialling ext 3001 on an Iwatsu
immediately gives an Iwatsu phone an open outbound line.

 

I cannot figure out a way to define that extension in the dial plan when
I enter the Iwatsu as a channel.  Am I totally barking up the wrong tree
with this method?

-- 
_
-- 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] Using SIP to dial extension that will give anoutside line

2010-08-03 Thread Jeremy.Hellstrom



-Original Message-
From: asterisk-users-boun...@lists.digium.com on behalf of Carlos Chavez
Sent: Tue 8/3/2010 2:17 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Using SIP to dial extension that will give 
anoutside line
 
On Tue, 2010-08-03 at 16:04 -0500, Danny Nicholas wrote:
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of
 jeremy.hellst...@synovate.com
 Subject: [asterisk-users] Using SIP to dial extension that will give
 anoutside line
 
 
  
 
 You could try this:
 
  
 
 ; use lwatsu line
 
 Exten = 1234,1,dial(SIP/3001ww5551212)
 
  
 
 If dialing extension SIP/3001 from asterisk connects to the lwatsu
 with an open line, the ww5551212 will wait 1 second, the dial on using
 the lwatsu.
 
   Actually, you nee to dial like this:

exten = 1234,1,Dial(SIP/lwatsu_sip/${NUMBER})

lwatsu_sip must be a defined peer in your sip.conf and ${NUMBER} would
be the number you wish to dial through that peer.  If you need to send
the DTMF after the call is connected you can use the D option in the
dial command.  It is up to the PBX to interpret the number you sent
using its internal dialplan.

.
-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001


Thanks all, 
Unfortunately it is only the Iwatsu IP phones that grab the open line @ 3001 
currently, the softphones do not.  I might try programming the extension and 
see if I can get a response that way.

Mostly what I am seeing is 

*CLI   == Using SIP RTP CoS mark 5
-- Executing [96046642...@phones:1] Dial(SIP/testphone1-0053, 
SIP/6046642400) in new stack
  == Using SIP RTP CoS mark 5
[Aug  3 14:41:02] WARNING[1948]: chan_sip.c:5340 create_addr: No such host: 
6046642400
[Aug  3 14:41:02] WARNING[1948]: app_dial.c:1747 dial_exec_full: Unable to 
create channel of type 'SIP' (cause 20 - Unknown)
  == Everyone is busy/congested at this time (1:0/0/1)
-- Executing [96046642...@phones:2] Congestion(SIP/testphone1-0053, 
) in new stack
  == Spawn extension (phones, 96046642400, 2) exited non-zero on 
'SIP/testphone1-0053'

or

*CLI   == Using SIP RTP CoS mark 5
-- Executing [96046642...@phones:1] Dial(SIP/testphone1-0057, 
SIP/Iwatsu/6046642400) in new stack
  == Using SIP RTP CoS mark 5
-- Called Iwatsu/6046642400
[Aug  3 14:47:36] WARNING[3239]: chan_sip.c:17865 handle_response_invite: 
Received response: Forbidden from 'TestPhone1 
sip:testpho...@10.30.20.156;tag=as60718fca'
-- SIP/Iwatsu-0058 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
-- Executing [96046642...@phones:2] Congestion(SIP/testphone1-0057, 
) in new stack
  == Spawn extension (phones, 96046642400, 2) exited non-zero on 
'SIP/testphone1-0057'


Dependent on defining Iwatsu as a friend in the latter or as a variable in the 
former.  By the way Exten = 1234,1,dial(SIP/3001ww5551212) had asterisk return 
No such host: 3001ww5551212
-- 
_
-- 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