[Asterisk-Dev] VoiceTronix OpenSwitch12 Problem

Daniel Bichara daniel at bichara.com.br
Tue Dec 16 16:39:52 MST 2003


Hi Jacky,

The problem is at channels/chan_vpb.c. Look at the Dialtone, Busytone 
and Ringbacktone arrays. On this arrays, you have a DB Level equal to 
zero but VPB driver accepts DBLevels < 0. So you have to change the DB 
Levels to anything less than 0. I suggest -12 (minus 12) that is the 
default DBLevel for VPBs boards.

Daniel


Jacky Chen(³¯©ú§g) wrote:

>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 dial exten 101, 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?
>
>
>
>******
>Call status
>----------------------------------------------------------------------------
>----------------------
>    --  Event [0=>[08] Ring
>] on vpb/1-9
>    -- Executing Wait("vpb/1-9", "1") in new stack
> Read_channel ##  vpb/1-9: Setting record mode, bridge = 0
>    --  Event [0=>[08] Ring
>] on vpb/1-9
>    -- Executing Answer("vpb/1-9", "") in new stack
>    -- Executing DigitTimeout("vpb/1-9", "5") in new stack
>    -- Set Digit Timeout to 5
>    -- Executing ResponseTimeout("vpb/1-9", "10") in new stack
>    -- Set Response Timeout to 10
>    -- Executing BackGround("vpb/1-9", "demo-congrats") in new stack
>    -- Playing 'demo-congrats' (language 'en')
>    --  Event [8=>[08] DTMF digit: 1
>] on vpb/1-9
>    --  Event [2=>[08] Tone Detect: Grunt
>] on vpb/1-9
>    --  Event [8=>[08] DTMF digit: 0
>] on vpb/1-9
>    --  Event [8=>[08] DTMF digit: 2
>] on vpb/1-9
>    --  Event [2=>[08] Tone Detect: Grunt
>] on vpb/1-9
>  == CDR updated on vpb/1-9
>    -- 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
>
>
>
>(1) vpb.conf
>----------------------------------------------------------------------------
>---------------------------
>[interfaces]
>
>echocancel = on
>board = 1
>
>context = vpbtest
>
>; Note that V6PCI channel numbers start at 7!
>mode = fxo
>channel = 9
>
>mode = dialtone
>channel = 1
>channel = 2
>channel = 3
>channel = 4
>channel = 5
>channel = 6
>channel = 7
>channel = 8
>
>
>(2) extensions.conf
>----------------------------------------------------------------------------
>-----------------------------------------
>......original exten so ignore...
>
>[vpbtest]
>include => default
>exten => 101,1,Dial(vpb/1-1,20,tT)
>exten => 101,2,Hangup
>
>
>_______________________________________________
>Asterisk-Dev mailing list
>Asterisk-Dev at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
>  
>




More information about the asterisk-dev mailing list