Re: [asterisk-users] requirecalltoken and Realtime

2009-09-17 Thread herb
Aloha,

I too am running into a similar problem.  I have version 1.6.1.5 that
works fine, however 1.6.1.6 does not.

I have both requirecalltoken=no  calltokenignore=xxx.xxx.xxx.xxx in
iax.conf, but I am still getting this error message.

[Sep 17 09:54:23] ERROR[32335]: chan_iax2.c:4529 handle_call_token: Call
rejected, CallToken Support required. If unexpected, resolve by placing
address xxx.xxx.xxx.xxx in the calltokenignore list or setting user (null)
requirecalltoken=no

Thanks in advance!

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


[asterisk-users] DAHDI Caller ID problem

2009-09-17 Thread herb
Aloha,

I'm finishing up the final touches on this install, and have run into an
odd problem.

I can't seem to get Caller ID on the analog phone lines working. It's a 
Digium AEX 410 card.

I have Verbose set and a line to print the CID:

I have usecallerid=yes and callerid=asreceived set in both chan_dahdi.conf
and users.conf

[analog]
include=default
exten = s,1,Verbose(passed id is ${CALLERID(num)})
exten = s,2,Answer
exten = s,3,Dial(SIP/100,,)

And this is what I'm getting.

*CLI core set verbose 10
Verbosity was 1 and is now 10
-- Starting simple switch on 'DAHDI/1-1'
[Sep 17 14:44:05] NOTICE[15308]: chan_dahdi.c:7542 ss_thread: Got event 18
(Ring Begin)...
[Sep 17 14:44:07] NOTICE[15308]: chan_dahdi.c:7542 ss_thread: Got event 2
(Ring/Answered)...
[Sep 17 14:44:07] NOTICE[15308]: chan_dahdi.c:7706 ss_thread: MWI: Channel
1 message waiting!
-- Executing [...@analog:1] Verbose(DAHDI/1-1, passed id is ) in new
stack
passed id is
-- Executing [...@analog:2] Answer(DAHDI/1-1, ) in new stack
-- Executing [...@analog:3] Dial(DAHDI/1-1, SIP/100,,) in new stack
  == Using SIP RTP CoS mark 5
-- Called 100
-- SIP/100-b6a22338 is ringing
-- SIP/100-b6a22338 answered DAHDI/1-1
  == Spawn extension (analog, s, 3) exited non-zero on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'

I'm also getting these errors:
[Sep 17 14:01:06] ERROR[14462]: callerid.c:562 callerid_feed: No start bit
found in fsk data.
[Sep 17 14:01:06] WARNING[14462]: chan_dahdi.c:7582 ss_thread: CallerID
feed failed: Success
[Sep 17 14:01:06] WARNING[14462]: chan_dahdi.c:7686 ss_thread: CallerID
returned with error on channel 'DAHDI/1-1'

I have tried calleridsignal=dtmf  ring, as well as calleridstart=ring 
polarity.  No love.

I searched on google for info, but nothing I found had a solution for my
problem.

I know that there's something I missing, but I can't seem to figure it
out.  Can you all help me?

Thanks in advance!

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] chan_dahdi.so fails to load : Inappropriate ioctl for device

2009-09-02 Thread Herb Woodruff
Shaun Ruffell wrote:
 I think you are correct and that this is your problem.  If you have 
 dahdi-tools 2.2.0 installed, but using and older version of dahdi-linux, 
 you will get these errors since the format of some of the ioctls have 
 changed. (related to https://issues.asterisk.org/view.php?id=14499)

 How did you install dahdi-linux
Hi,

Thanks for the reply.  I had a hunch that was my problem.

I just typed make  make install in the dahdi-linux directory.  But I 
did some more digging, and sure enough, modules.dep was not getting 
updated to take advantage of the most recent modules.  Not sure if it's 
my system or the install script, but it kept linking to the old 
modules.  I had to move the old module directory out of /lib/modules in 
order for it to link to the new ones.

Thanks again for all your help!  I appreciate it.

Herb

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


[asterisk-users] chan_dahdi.so fails to load : Inappropriate ioctl for device

2009-09-01 Thread herb
Aloha,

I'm not sure why I'm getting this error, but I can't seem to get
chan_dahdi to load. SIP  IAX2 are working fine.

Debian 4 w/ 2.6.28 kernel. Asterisk 1.6.1.5, dahdi-linux 2.2.0.2,
dahdi-tools-2.2.0

CLI module load chan_dahdi.so
Unable to load module chan_dahdi.so
Command 'module load chan_dahdi.so' failed.
[Sep 1 10:57:51] WARNING[31696]: pbx.c:4550 ast_register_application2:
Already have an application 'DAHDISendKeypadFacility'
[Sep 1 10:57:51] ERROR[31696]: chan_dahdi.c:8786 mkintf: Unable to get
parameters: Inappropriate ioctl for device
[Sep 1 10:57:51] ERROR[31696]: chan_dahdi.c:14170 build_channels: Unable
to register channel '1'

# dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard AEX410 Board 1
name=WCTDM/0
manufacturer=Digium
devicetype=Wildcard AEX410 with VPMADT032
location=PCI Express Bus 11 Slot 09
basechan=1
totchans=4
irq=16
[2]
active=yes
alarms=UNCONFIGURED
description=DAHDI_DUMMY/1 (source: HRtimer) 1
name=DAHDI_DUMMY/1
manufacturer=
devicetype=DAHDI Dummy Timing
location=
basechan=5
totchans=0
irq=0

Note, I have compiled DAHDI 2.2.0.2 but it still shows 2.1.0.4 in the
tool. Version bug? If it should say 2.2.0.2, then that could be my
problem. But how do I correct that?

# dahdi_cfg -vvv
DAHDI Tools Version - 2.2.0

DAHDI Version: 2.1.0.4
Echo Canceller(s):
Configuration
==


Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 02)
Channel 03: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 04)

4 channels to configure.

Setting echocan for channel 1 to none
Setting echocan for channel 2 to none
Setting echocan for channel 3 to none
Setting echocan for channel 4 to none

I have looked up everything I can about this problem, and nothing has lead
me to a solution. Any help would be great appreciated.

Thanks,
Herb

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] chan_dahdi.so fails to load : Inappropriate ioctl for device

2009-09-01 Thread herb
Forgot to include this info in my first post.

# cat /proc/dahdi/*
Span 1: WCTDM/0 Wildcard AEX410 Board 1 (MASTER)
IRQ misses: 1

   1 WCTDM/0/0 FXSKS RED
   2 WCTDM/0/1 FXSKS RED
   3 WCTDM/0/2 FXOKS
   4 WCTDM/0/3 FXOKS

I don't have the analog lines attached to the card yet, hence the RED alarms.

Span 2: DAHDI_DUMMY/1 DAHDI_DUMMY/1 (source: HRtimer) 1

Thanks,
Herb


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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