No subject


Tue Sep 5 14:32:44 MST 2006


typedef struct {
    unsigned short	freq1;	// frequency of first tone
    unsigned short	freq2;	// frequency of second tone
    unsigned short	freq3;	// frequency of third tone
	short			level1;	// first tone level in dB, 0dB maximum
	short			level2;	// second tone level in dB, 0dB maximum
	short			level3;	// third tone level in dB, 0dB maximum
    unsigned long	ton;	// on time ms
	unsigned long	toff;	// off time ms
} VPB_TONE;

in chan_vpb.c:
static VPB_TONE Dialtone     = {440, 440, 440, 0,  0, 0, 5000, 0   };
static VPB_TONE Busytone     = {440,   0,   0, 0,  -100, -100,   500,  500};
static VPB_TONE Ringbacktone = {440,   0,   0, 0,  -100, -100,  100, 100};

try changing the -100 values to -5 in chan_vpb.c, then recompile asterisk
and see if it works. it did for me, but i'm using the OpenLine4 card. Hope
this helps!

Faiz

> -----Original Message-----
> From: "Jacky" <jacky.taiwan at msa.hinet.net>
> To: <asterisk-users at lists.digium.com>
> Date: Tue, 16 Dec 2003 19:05:27 +0800
> Subject: [Asterisk-Users] Help! VoiceTronix Multi FXO/FXS Problem
> Reply-To: asterisk-users at lists.digium.com
>
> Hello, Hacker
>
> I install VoiceTronix OpenSwitch 12 port PCI Telephone Card,
> and setting vpb.conf, extensions.conf following
>
> My problem is:
> When i dial to fxo(channel 9-12), it is ok,
> but when i continue press exten 102, the channel crach with error messages
> following
> exception caught: VPBAPI_DIAL_INVALID_LEVEL, file: vpbdial.cpp line:872
>
> Do i ignore some setting for VoiceTronix OpenSwitch12 Card, Or
> other issues?
>
>     -- Executing Dial("vpb/1-9", "vpb/1-2|20|tT") in new stack
>  Read_channel ##  vpb/1-2: Setting record mode, bridge = 0
>     --  1-2 requested, got: [vpb/1-2]
>     --  VPB Calling 1-2 [t=0] on vpb/1-2 returned 0
>     -- Called 1-2
>     -- vpb/1-2 is ringing
> exception caught: VPBAPI_DIAL_INVALID_LEVEL, file: vpbdial.cpp line:872
>





More information about the asterisk-users mailing list