[Asterisk-Users] Advanced WaitForDigits

2006-05-17 Thread Christian Gröger

Hi,
I am using some ISDN Phones with my Asterisk, there are some outbound 
routes to sip and to the telco, that make it necessary to dial 10 
numbers sometimes. But sometimes if you need some more time to look for 
the number the timeout in WaitForDigits is exceeded and it tries to dial 
the too short number. Is there a more advanced possibility, that somehow 
detects if the number exists or something?


btw. Can Asterisk recognize pulse dial tones?

Thanks,Chris
___
--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] Using ISDN MSNs for dialing out of Asterisk

2006-04-18 Thread Christian Gröger

Hi,
I am using Asterisk with misdn connected to an ISDN Line, so I have 
several numbers I can use...


I know that I can use misdn like this in my extensions.conf:

exten = _0.,1,Dial(mISDN/1/${EXTEN:1})

But how can I use another number/MSN of my ISDN connection... it always uses 
the default number, but i'd like to use another MSN for calling...
Can somebody help me please?

Thanks, Chris


___
--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] Receiving Faxes...

2006-04-18 Thread Christian Gröger

Hi,

I am experimenting with receiving faxes in asterisk:

exten = in_fax,1,Macro(faxreceive)
exten = in_fax,2,system(tiff2ps -2eaz -w 8.5 -h 11 ${FAXFILE} | ps2pdf 
- ${FAXFILE}.pdf)
exten = in_fax,3,system(cp ${FAXFILE}.pdf 
/var/www/faxes/${CALLERID(number)}.pdf)
exten = in_fax,4,system(mime-construct --to [EMAIL PROTECTED] --subject Fax 
from ${CALLERID(number)} ${CALLERID(name)} --attachment 
${CALLERID(number)}.pdf --type application/pdf --file ${FAXFILE}.pdf)

exten = in_fax,5,system(rm ${FAXFILE} ${FAXFILE}.pdf)
exten = in_fax,6,Hangup

That is an extension Freepbx made, with some extensions from me, because 
FreePBX doesn't work well with mISDN... Wel, it receives faxes and it 
saves them as an tif, it also converts them to a pdf file, but the other 
commands aren't executed... why?


thanks for help
___
--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] Remember the incoming context?

2006-04-18 Thread Christian Gröger

I thought this was Local/[EMAIL PROTECTED]

If the number is unique in your configuration, and the context is 
already included somehow in your default-context, you can just do a 
Local/number, give it a try


Edwin Groothuis wrote:


Greetings,

Somewhere on my asterisk system, a calls come in in a certain
context, for example, from-sip or from-pstn.

Then the calls gets routed through the dialplan, and a macro gets
called, and another one and then the call needs to be redirected
to another number in the same initial context. And you can use
Dial(Local/number/initialcontext) for that.

Oops, this initial context is lost somewhere on the line.

Unless I'm very mistaken, there is no way to find out what the
original context was, is there?

Edwin

 



___
--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] Sound Conversion Problems with Festival+Mbrola

2006-04-10 Thread Christian Gröger

Hi,
I wrote a script for making a gsm or wav file out of a text, i tried it 
first with text2speech from the festival package, and sox for converting 
it to a gsm file, that worked really well... and I can play it back with 
the Playback cmd.


But only in English, so I tried Mbrola with a German database... txt2pho 
creates the phonetic file out of the text I give it, mbrola makes a wav 
file out of it, which really works, and sox should transcode it again... 
but I just can't hear the file with the playback command :(


Why is that?
___
--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] FreePBX on Debian

2006-04-02 Thread Christian Gröger

Hi,
okay, i managed to install it :) but I have some Problems with mISDN. I 
have set up two mISDN-extensions, that can phone each other, or the 
mailboxes. But i can't phone those special numbers like *60 for weather 
or *98 for message center, what should i do?


stoffell wrote:


On 4/2/06, Christian Gröger [EMAIL PROTECTED] wrote:
 


need that Zaptel stuff? It always prompted errors so i am now using
mISDN -without errors, is there a module for freePBX for mISDN?
   



to use mISDN with freepbx, you can Add custom trunk in the Trunks menu.

 


Anyway, is there a good manual for installing FreePBX on debian?
Something with typical debian-errors and stuff? That standard manual is
so focussed on Suse :(
   



Try the readme or INSTALL file, in the archive. It basically explains
what you need to do. Or join #freepbx on irc.

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


[Asterisk-Users] FreePBX on Debian

2006-04-01 Thread Christian Gröger

Hi
I got Asterix running on Debian Etch a few days ago. Version 1.2.6. 
Today i tried to install Freepbx and I got really confused. Do I really 
need that Zaptel stuff? It always prompted errors so i am now using 
mISDN -without errors, is there a module for freePBX for mISDN?
Then I tried installing that spandsp stuff, but makefile patching didn't 
work and i don't know what to do there manually... Next error was in 
that cdr-mysql-thing in asterisk-addons with much warnings during 
compiling :-/


Anyway, is there a good manual for installing FreePBX on debian? 
Something with typical debian-errors and stuff? That standard manual is 
so focussed on Suse :(

___
--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] mISDN Problem

2006-03-30 Thread Christian Gröger

Hi,

I compiled and installed Asterisk and mISDN yesterday. It worked after 
some errors. There's one HFC-Card which should be in nt-mode, and which 
worked yeterday with my phone here, and there's another isdn-card with a 
winbond chip i think, but i don't want to use this one at the moment.


Well, this morning i started the computer for configuring Asterisk a 
bit, but mISDN had some really strange problems... here's the dmesg part 
of it:


Modular ISDN Stack core $Revision: 1.29 $
mISDNd: kernel daemon started
mISDNd: test event done
parport_pc: VIA parallel port: io=0x378, irq=7
Winbond W6692 PCI driver Rev. 1.18
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt :00:09.0[A] - Link [LNKD] - GSI 5 (level, low) 
- IRQ 5

mISDN_w6692: found adapter Winbond W6692 at :00:09.0
W6692: Winbond W6692 version (0): W6692 V00
mISDNStackd started for id(0100)
mISDNStackd started for id(10010100)
mISDNStackd started for id(10020100)
w6692: IRQ 5 count 0
w6692: IRQ(5) getting no interrupts during init 1
ISDN L1 driver version 1.16
w6692: IRQ 5 count 0
w6692: IRQ(5) getting no interrupts during init 2
w6692: IRQ 5 count 0
w6692: IRQ(5) getting no interrupts during init 3
mISDNStackd daemon for id(10010100) proceed 0 msg 0 clone 1 sleep 0 stopped
mISDNStackd daemon for id(10010100) utime(0) stime(0)
mISDNStackd daemon for id(10010100) nvcsw(1) nivcsw(0)
mISDNStackd daemon for id(10010100) killed now
mISDNStackd daemon for id(10020100) proceed 0 msg 0 clone 1 sleep 0 stopped
mISDNStackd daemon for id(10020100) utime(0) stime(0)
mISDNStackd daemon for id(10020100) nvcsw(1) nivcsw(0)
mISDNStackd daemon for id(10020100) killed now
mISDNStackd daemon for id(0100) proceed 0 msg 0 clone 1 sleep 0 stopped
mISDNStackd daemon for id(0100) utime(0) stime(0)
mISDNStackd daemon for id(0100) nvcsw(1) nivcsw(0)
mISDNStackd daemon for id(0100) killed now
release instance class dev inst-4100
ACPI: PCI interrupt for device :00:09.0 disabled
release_l1 id 100
release stack class dev st-0100
release instance class dev inst-4101
w6692: probe of :00:09.0 failed with error -5
ISDN L2 driver version 1.25
Unable to handle kernel NULL pointer dereference at virtual address 0828
printing eip:
c0179a87
*pde = 
Oops:  [#1]
Modules linked in: mISDN_l2 mISDN_l1 w6692pci mISDN_core shpchp 
pci_hotplug parport_pc parport rtc via_agp agpgart ext3 jbd mbcache 
ide_disk ide_generic 8139too 8139cp mii uhci_hcd usbcore via82cxxx 
generic ide_core thermal processor fan

CPU:0
EIP:0060:[c0179a87]Not tainted VLI
EFLAGS: 00010282   (2.6.15-1-686)
EIP is at sysfs_create_link+0x1c/0x48
eax: cf94fee4   ebx: 0820   ecx: cf72df20   edx: 
esi: cf4e38ac   edi: cf4e3948   ebp:    esp: cf72df00
ds: 007b   es: 007b   ss: 0068
Process mISDNd (pid: 3234, threadinfo=cf72c000 task=cf2d3a90)
Stack: cf72df20 d0936e39 cf94fee4 cf4e3948 cf72df20 cf72df20 d0939a40 
0003
  6579616c 00332e72 cf4e38ac  cf94fe00 cf4e3800 d0932566 
cf4e38ac
  cf4e38ac cf4e3878 cf4e3854 d08d18cc cf94fe00 cf4e38ac cf4e38ac 
cf94f200

Call Trace:
[d0936e39] mISDN_register_sysfs_inst+0xd2/0x11e [mISDN_core]
[d0932566] register_layer+0x186/0x1ae [mISDN_core]
[d08d18cc] new_l2+0x409/0x4a2 [mISDN_l2]
[d0930281] find_object+0x1b/0x4d [mISDN_core]
[d09303a0] get_next_instance+0x6c/0x9e [mISDN_core]
[d0932a87] set_stack+0x133/0x1cc [mISDN_core]
[d0930124] mISDNd+0x124/0x244 [mISDN_core]
[c0124f05] autoremove_wake_function+0x0/0x3a
[d093] mISDNd+0x0/0x244 [mISDN_core]
[c01012a9] kernel_thread_helper+0x5/0xb
Code: 5f 53 e8 d8 d4 fb ff 59 5b 89 f0 5e 5f 5d c3 53 8b 44 24 08 8b 4c 
24 10 8b 58 30 85 db 74 04 85 c9 75 08 0f 0b 57 00 48 94 27 c0 8b 53 
08 ff 4a 70 0f 88 9a 01 00 00 ff 74 24 0c 51 53 e8 3c ff

6CSLIP: code copyright 1989 Regents of the University of California
ISDN subsystem Rev: 1.1.2.3/1.1.2.3/1.1.2.2/1.1.2.3/1.1.2.2/1.1.2.2 loaded
HiSax: Linux Driver for passive ISDN cards
HiSax: Version 3.5 (module)
HiSax: Layer1 Revision 2.46.2.5
HiSax: Layer2 Revision 2.30.2.4
HiSax: TeiMgr Revision 2.20.2.3
HiSax: Layer3 Revision 2.22.2.3
HiSax: LinkLayer Revision 2.59.2.4


if i want to make a restart of mISDN with it's init script it says:

ERROR: Module mISDN_core is in use by mISDN_l2,w6692pci


And here's a list of the loaded isdn-related modules:

hisax 442192  0
crc_ccitt   1952  1 hisax
isdn  119456  1 hisax
slhc6240  1 isdn
mISDN_l2   36064  0
w6692pci   23692  0
mISDN_core 74944  2 mISDN_l2,w6692pci


I am running Debian Etch, thanks for any help.

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