keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

Trixbox2.8.0.4 with Openvox G400P and A400P

13 years 3 months ago #6493 by lisa.gao
Hi,
1) You can change country mode to UK following these steps:
In /etc/asterisk/indications.conf, country=uk
Load driver using this command: modprobe opvxg4xx opermode=United Kingdom
2) SIM cards on G400P can't set to different country mode.
If any problem , you can add my G talk: This email address is being protected from spambots. You need JavaScript enabled to view it. or MSN: This email address is being protected from spambots. You need JavaScript enabled to view it.

13 years 3 months ago #6495 by micpet
Hi
The A400P is working as expected, however there is a "Power alarm on module 4, resetting!" message on boot.

There are still issues with G400P.
The trunk is extra/g0/$OUTNUM$
**************************************************
trixbox1*CLI> extra show channel 5
Channel: 5LI>
File Descriptor: 12
Span: 21*CLI>
Extension: I>
Dialing: noI>
Context: from-gsm
Caller ID: I>
Calling TON: 0
Caller ID name:
Mailbox: none
Destroy: 0LI>
InAlarm: 0LI>
Signalling Type: GSM
Radio: 0*CLI>
Owner: <None>
Real: <None>>
Callwait: <None>
Threeway: <None>
Confno: -1LI>
Propagated Conference: -1
Real in conference: 0
DSP: no1*CLI>
Busy Detection: no
TDD: no1*CLI>
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
DND: no1*CLI>
Echo Cancellation:
trixbox1128 taps
trixbox1currently OFF
GSM Flags: I>
Hookstate (FXS only): Onhook
*******************************************************
trixbox1*CLI> extra show channel 7
Channel: 7LI>
File Descriptor: 13
Span: 3
Extension:
Dialing: no
Context: from-gsm
Caller ID:
Calling TON: 0
Caller ID name:
Mailbox: none
Destroy: 0
InAlarm: 0
Signalling Type: GSM
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Busy Detection: no
TDD: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
DND: no
Echo Cancellation:
128 taps
currently OFF
GSM Flags:
Hookstate (FXS only): Onhook
*******************************************************
trixbox1*CLI> gsm show span 2
D-channel: 6>
Status: Provisioned, Up, Active
Type: CPECLI>
Manufacturer: SIMCOM_Ltd
Model Name: SIMCOM_SIM300D
Revision: 1008B13SIM300D32_SST34HF3284
Network Name: Cable & Wireless Dominica
Network Status: Registered (Home network)
Net Coverage (0,31): 20
Card IMEI: 356896031104491
SIM IMSI: 366110201015275
*******************************************************
trixbox1*CLI> gsm show span 3
D-channel: 8>
Status: Provisioned, Up, Active
Type: CPECLI>
Manufacturer: SIMCOM_Ltd
Model Name: SIMCOM_SIM300D
Revision: 1008B13SIM300D32_SST34HF3284
Network Name: Cable & Wireless Dominica
Network Status: Registered (Home network)
Net Coverage (0,31): 21
Card IMEI: 356896030230339
SIM IMSI: 366110201008915
*******************************************************
/etc/asterisk/extra-channels.conf
; Span 2: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS
group=0,12
context=from-gsm
signalling = gsm
switchtype = simcom
;pin=1234
channel => 5
context = default
group = 63

; Span 3: opvxg4xx/0/2 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS
group=0,13
context=from-gsm
signalling = gsm
switchtype = simcom
;pin=1234
channel => 7
context = default
group = 63
*******************************************************
/etc/asterisk/chan_extra.conf
;
; DAHDI telephony
;
; Configuration file

[trunkgroups]

[channels]

usecallerid=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1

#include extra-channels.conf
************************************************
When I call the number on the card in slot1 there is a lot of noise when no talking, but it works.

-- Accepting call from '7676162917' to 's' on channel 1, span 2
-- Executing [s@from-gsm:1] Answer("EXTRA/5-1", "") in new stack
-- Executing [s@from-gsm:2] Goto("EXTRA/5-1", "ext-group,600,1") in new stack
-- Goto (ext-group,600,1)
-- Executing [600@ext-group:1] Macro("EXTRA/5-1", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("EXTRA/5-1", "AMPUSER=7676162917") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("EXTRA/5-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("EXTRA/5-1", "1?Set(REALCALLERIDNUM=7676162917)") in new stack
-- Executing [s@macro-user-callerid:4] Set("EXTRA/5-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("EXTRA/5-1", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("EXTRA/5-1", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("EXTRA/5-1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("EXTRA/5-1", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("EXTRA/5-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("EXTRA/5-1", "Using CallerID "7676162917" <7676162917>") in new stack
-- Executing [600@ext-group:2] GotoIf("EXTRA/5-1", "1?skipdb") in new stack
-- Goto (ext-group,600,4)
-- Executing [600@ext-group:4] Set("EXTRA/5-1", "__NODEST=") in new stack
-- Executing [600@ext-group:5] Set("EXTRA/5-1", "__BLKVM_OVERRIDE=BLKVM/600/EXTRA/5-1") in new stack
-- Executing [600@ext-group:6] Set("EXTRA/5-1", "__BLKVM_BASE=600") in new stack
-- Executing [600@ext-group:7] Set("EXTRA/5-1", "DB(BLKVM/600/EXTRA/5-1)=TRUE") in new stack
-- Executing [600@ext-group:8] Set("EXTRA/5-1", "RRNODEST=") in new stack
-- Executing [600@ext-group:9] Set("EXTRA/5-1", "__NODEST=600") in new stack
-- Executing [600@ext-group:10] Set("EXTRA/5-1", "RecordMethod=Group") in new stack
-- Executing [600@ext-group:11] Macro("EXTRA/5-1", "record-enable,200-204-201,Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("EXTRA/5-1", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("EXTRA/5-1", "recordingcheck,20110106-225448,1294368888.8") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
-- <EXTRA/5-1>AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("EXTRA/5-1", "") in new stack
-- Executing [600@ext-group:12] Set("EXTRA/5-1", "RingGroupMethod=memoryhunt") in new stack
-- Executing [600@ext-group:13] Macro("EXTRA/5-1", "dial,10,tr,200-204-201") in new stack
-- Executing [s@macro-dial:1] GotoIf("EXTRA/5-1", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("EXTRA/5-1", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '7676162917' number is '7676162917'
dialparties.agi: Methodology of ring is 'memoryhunt'
-- dialparties.agi: Added extension 200 to extension map
-- dialparties.agi: Added extension 204 to extension map
-- dialparties.agi: Added extension 201 to extension map
-- dialparties.agi: Extension 200 cf is disabled
-- dialparties.agi: Extension 204 cf is disabled
-- dialparties.agi: Extension 201 cf is disabled
-- dialparties.agi: Extension 200 do not disturb is disabled
-- dialparties.agi: Extension 204 do not disturb is disabled
-- dialparties.agi: Extension 201 do not disturb is disabled
-- dialparties.agi: Filtered ARG3: 200-204-201
-- <EXTRA/5-1>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:20] NoOp("EXTRA/5-1", "Returned from dialparties with hunt groups to dial ") in new stack
-- Executing [s@macro-dial:21] Set("EXTRA/5-1", "HuntLoop=0") in new stack
-- Executing [s@macro-dial:22] GotoIf("EXTRA/5-1", "1?a30") in new stack
-- Goto (macro-dial,s,26)
-- Executing [s@macro-dial:26] Set("EXTRA/5-1", "HuntMember=HuntMember0") in new stack
-- Executing [s@macro-dial:27] GotoIf("EXTRA/5-1", "0?a32:a35") in new stack
-- Goto (macro-dial,s,31)
-- Executing [s@macro-dial:31] GotoIf("EXTRA/5-1", "1?a36:a50") in new stack
-- Goto (macro-dial,s,32)
-- Executing [s@macro-dial:32] Set("EXTRA/5-1", "CTLoop=0") in new stack
-- Executing [s@macro-dial:33] GotoIf("EXTRA/5-1", "0?a42") in new stack
-- Executing [s@macro-dial:34] Set("EXTRA/5-1", "CT_EXTEN=200") in new stack
-- Executing [s@macro-dial:35] Set("EXTRA/5-1", "DB(CALLTRACE/200)=7676162917") in new stack
-- Executing [s@macro-dial:36] Set("EXTRA/5-1", "CTLoop=1") in new stack
-- Executing [s@macro-dial:37] Goto("EXTRA/5-1", "s,a37") in new stack
-- Goto (macro-dial,s,33)
-- Executing [s@macro-dial:33] GotoIf("EXTRA/5-1", "1?a42") in new stack
-- Goto (macro-dial,s,38)
-- Executing [s@macro-dial:38] Dial("EXTRA/5-1", "SIP/200,10,trM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Called 200
-- SIP/200-00000004 is ringing
-- SIP/200-00000004 answered EXTRA/5-1
-- Executing [s@macro-auto-blkvm:1] Set("SIP/200-00000004", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] DBdel("SIP/200-00000004", "BLKVM/600/EXTRA/5-1") in new stack
-- DBdel: family=BLKVM, key=600/EXTRA/5-1
-- Channel 1, span 2 got hangup, cause 16
-- Executing [h@macro-dial:1] Macro("EXTRA/5-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("EXTRA/5-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("EXTRA/5-1", "0?skipblkvm") in new stack
-- Executing [s@macro-hangupcall:5] NoOp("EXTRA/5-1", "Cleaning Up Block VM Flag: BLKVM/600/EXTRA/5-1") in new stack
-- Executing [s@macro-hangupcall:6] DBdel("EXTRA/5-1", "BLKVM/600/EXTRA/5-1") in new stack
-- DBdel: family=BLKVM, key=600/EXTRA/5-1
-- DBdel: Error deleting key from database.
-- Executing [s@macro-hangupcall:7] GotoIf("EXTRA/5-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("EXTRA/5-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'EXTRA/5-1' in macro 'hangupcall'
== Spawn extension (macro-dial, s, 38) exited non-zero on 'EXTRA/5-1' in macro 'dial'
== Spawn extension (ext-group, 600, 13) exited non-zero on 'EXTRA/5-1'
-- Hungup 'EXTRA/5-1'
trixbox1*CLI>


*******************************************************************************************************
When I call the number on the card in slot2 the extension rings but there is just noise on the phone I call from. When I answer the extension the line is dead, no dial tone.

-- Accepting call from '7676162917' to 's' on channel 1, span 3
-- Executing [s@from-gsm:1] Answer("EXTRA/7-1", "") in new stack
-- Executing [s@from-gsm:2] Goto("EXTRA/7-1", "ext-group,600,1") in new stack
-- Goto (ext-group,600,1)
-- Executing [600@ext-group:1] Macro("EXTRA/7-1", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("EXTRA/7-1", "AMPUSER=7676162917") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("EXTRA/7-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("EXTRA/7-1", "1?Set(REALCALLERIDNUM=7676162917)") in new stack
-- Executing [s@macro-user-callerid:4] Set("EXTRA/7-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("EXTRA/7-1", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("EXTRA/7-1", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("EXTRA/7-1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("EXTRA/7-1", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("EXTRA/7-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("EXTRA/7-1", "Using CallerID "7676162917" <7676162917>") in new stack
-- Executing [600@ext-group:2] GotoIf("EXTRA/7-1", "1?skipdb") in new stack
-- Goto (ext-group,600,4)
-- Executing [600@ext-group:4] Set("EXTRA/7-1", "__NODEST=") in new stack
-- Executing [600@ext-group:5] Set("EXTRA/7-1", "__BLKVM_OVERRIDE=BLKVM/600/EXTRA/7-1") in new stack
-- Executing [600@ext-group:6] Set("EXTRA/7-1", "__BLKVM_BASE=600") in new stack
-- Executing [600@ext-group:7] Set("EXTRA/7-1", "DB(BLKVM/600/EXTRA/7-1)=TRUE") in new stack
-- Executing [600@ext-group:8] Set("EXTRA/7-1", "RRNODEST=") in new stack
-- Executing [600@ext-group:9] Set("EXTRA/7-1", "__NODEST=600") in new stack
-- Executing [600@ext-group:10] Set("EXTRA/7-1", "RecordMethod=Group") in new stack
-- Executing [600@ext-group:11] Macro("EXTRA/7-1", "record-enable,200-204-201,Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("EXTRA/7-1", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("EXTRA/7-1", "recordingcheck,20110106-225811,1294369091.10") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
-- <EXTRA/7-1>AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("EXTRA/7-1", "") in new stack
-- Executing [600@ext-group:12] Set("EXTRA/7-1", "RingGroupMethod=memoryhunt") in new stack
-- Executing [600@ext-group:13] Macro("EXTRA/7-1", "dial,10,tr,200-204-201") in new stack
-- Executing [s@macro-dial:1] GotoIf("EXTRA/7-1", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("EXTRA/7-1", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '7676162917' number is '7676162917'
dialparties.agi: Methodology of ring is 'memoryhunt'
-- dialparties.agi: Added extension 200 to extension map
-- dialparties.agi: Added extension 204 to extension map
-- dialparties.agi: Added extension 201 to extension map
-- dialparties.agi: Extension 200 cf is disabled
-- dialparties.agi: Extension 204 cf is disabled
-- dialparties.agi: Extension 201 cf is disabled
-- dialparties.agi: Extension 200 do not disturb is disabled
-- dialparties.agi: Extension 204 do not disturb is disabled
-- dialparties.agi: Extension 201 do not disturb is disabled
-- dialparties.agi: Filtered ARG3: 200-204-201
-- <EXTRA/7-1>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:20] NoOp("EXTRA/7-1", "Returned from dialparties with hunt groups to dial ") in new stack
-- Executing [s@macro-dial:21] Set("EXTRA/7-1", "HuntLoop=0") in new stack
-- Executing [s@macro-dial:22] GotoIf("EXTRA/7-1", "1?a30") in new stack
-- Goto (macro-dial,s,26)
-- Executing [s@macro-dial:26] Set("EXTRA/7-1", "HuntMember=HuntMember0") in new stack
-- Executing [s@macro-dial:27] GotoIf("EXTRA/7-1", "0?a32:a35") in new stack
-- Goto (macro-dial,s,31)
-- Executing [s@macro-dial:31] GotoIf("EXTRA/7-1", "1?a36:a50") in new stack
-- Goto (macro-dial,s,32)
-- Executing [s@macro-dial:32] Set("EXTRA/7-1", "CTLoop=0") in new stack
-- Executing [s@macro-dial:33] GotoIf("EXTRA/7-1", "0?a42") in new stack
-- Executing [s@macro-dial:34] Set("EXTRA/7-1", "CT_EXTEN=200") in new stack
-- Executing [s@macro-dial:35] Set("EXTRA/7-1", "DB(CALLTRACE/200)=7676162917") in new stack
-- Executing [s@macro-dial:36] Set("EXTRA/7-1", "CTLoop=1") in new stack
-- Executing [s@macro-dial:37] Goto("EXTRA/7-1", "s,a37") in new stack
-- Goto (macro-dial,s,33)
-- Executing [s@macro-dial:33] GotoIf("EXTRA/7-1", "1?a42") in new stack
-- Goto (macro-dial,s,38)
-- Executing [s@macro-dial:38] Dial("EXTRA/7-1", "SIP/200,10,trM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Called 200
-- SIP/200-00000005 is ringing
-- SIP/200-00000005 answered EXTRA/7-1
-- Executing [s@macro-auto-blkvm:1] Set("SIP/200-00000005", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] DBdel("SIP/200-00000005", "BLKVM/600/EXTRA/7-1") in new stack
-- DBdel: family=BLKVM, key=600/EXTRA/7-1
-- Executing [h@macro-dial:1] Macro("EXTRA/7-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("EXTRA/7-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("EXTRA/7-1", "0?skipblkvm") in new stack
-- Executing [s@macro-hangupcall:5] NoOp("EXTRA/7-1", "Cleaning Up Block VM Flag: BLKVM/600/EXTRA/7-1") in new stack
-- Executing [s@macro-hangupcall:6] DBdel("EXTRA/7-1", "BLKVM/600/EXTRA/7-1") in new stack
-- DBdel: family=BLKVM, key=600/EXTRA/7-1
-- DBdel: Error deleting key from database.
-- Executing [s@macro-hangupcall:7] GotoIf("EXTRA/7-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("EXTRA/7-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'EXTRA/7-1' in macro 'hangupcall'
== Spawn extension (macro-dial, h, 1) exited non-zero on 'EXTRA/7-1'
== Spawn extension (macro-dial, s, 38) exited non-zero on 'EXTRA/7-1' in macro 'dial'
== Spawn extension (ext-group, 600, 13) exited non-zero on 'EXTRA/7-1'
-- Hungup 'EXTRA/7-1'
trixbox1*CLI>

No word from the mobile provider yet so I am not too sure of the uk, though a UK company. I will add the addresses and contact you soon.
13 years 3 months ago #6496 by lisa.gao
Hi,
Please run the command: cat /proc/interrupts to check the IRQ.
Please contact me if ssh is available.

Time to create page: 0.036 seconds
Powered by Kunena Forum