keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about G400/G410 Cards.

gsm show spans returns nothing on asterisk 1.6

12 years 11 months ago #6935 by saeed144
[font=tahoma,sans-serif]Dear all,

I am trying to make my asterisk work with G400p [/font]
GSM [font=tahoma,sans-serif] card with [/font] a single GSM module on it,
using
asterisk 1.6.2 with dahdi 2.4.1,
I was able to send SMS using the g4term application on chan-extra*org

The problem is in Asterisk, when I enter "gsm show spans", It returns nothing.
command "gsm show span 1" returns " No GSM running on span 1"

from "core show channeltypes"
I get
Type Description Devicestate Indications Transfer
EXTRA GSM/CDMA Telephony Technology For Asterisk no yes no
DAHDI DAHDI Telephony Driver no yes no
...

from "dahdi show channels"
I get
Chan Extension Context Language MOH Interpret Blocked State
1 from-gsm default In Service


with this configuration in chan_dahdi.conf
[from-internal]
exten => 100,1,Dial(DAHDI/1/987987987987)
exten => 100,2,Hangup

gives
-- Executing [100@from-internal:1] Dial("SIP/610-00000000", "DAHDI/1/
987987987987 ") in new stack

And nothing happens!

Please help

Thanks in advance,
Saeed
12 years 11 months ago #6936 by Joe.Yung
gsm show spans returns nothing on asterisk 1.6

Hi,
Please try by these:

1. Add "#include extra-channels.conf" to the end of file chan_extra.conf in directory /etc/asterisk/. Reload it on the CLI console.

2 Please execute "module reload chan_extra.so" on asterisk CLI and post the result here.

12 years 11 months ago #6937 by saeed144
Dear Joe

Should I configure the channel in "chan_dahdi.conf" or "chan_extra.conf" ?

I'm adding in chan_extra.conf
[channels]
txgain = 0.0
rxgain = 0.0

signalling=gsm
context=from-gsm
echocancel=no
relaxdtmf=yes
; slot A
channel => 1

group=1
callgroup=1
pickupgroup=1
#include extra-channels.conf


Should I dial with
exten => 100,1,Dial(DAHDI/1/987987987987)
or
exten => 100,1,Dial(EXTRA/1/987987987987)


Thanks for your fast response,

Saeed
12 years 11 months ago #6938 by Joe.Yung
Hi Saeed,

May I know what type of driver you are using?

From your previous post, I think you are using chan-extra driver instead of dahdi.

Right now, if you use chan-extra, then dial with "exten=>100,1 Dial(extra/1/987987987987)"

By the way, the channel is configured in file extra-channels.conf.

In order to avoid confuse, you may remember by this:

chan_extra.conf means the same as chan_dahdi.conf,

extra-channels.conf equals dahdi-channels.conf

If you select chan-extra, then modify the corresponding files.

12 years 11 months ago #6939 by saeed144
Hi Joe
I've installed dahdi 2.4.1 , asterisk 1.6.2 , chan_extra-1.1.0 in this specific order.
According to OpenVox_G400P_User_Manual_for_dahdi in chan-extra*org
I have compiled and installed them,

Edited the dial plan in
extensions.conf,
loaded the driver with "service dahdi start"
With "dmesg" I get
opvxg4xx 0000:05:02.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
Found an OpenVox G400P: Version 1.0
opvxg4xx: slot 0 is Installed
opvxg4xx: slot 1 is Empty
opvxg4xx: slot 2 is Empty
opvxg4xx: slot 3 is Empty
opvxg4xx: Powering up all spans...

BUT as soon as I type "gsm show spans" I get nothing.
Or command "gsm show span 1" returns " No GSM running on span 1"

[root@ asterisk]# lsdahdi
### Span 1: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0" (MASTER) AMI/CCS
1 unknown Clear (In use)
2 unknown HDLCFCS (In use)
[root@ asterisk]# dahdi_hardware
pci:0000:05:02.0 opvxg4xx+ 1b74:0100 OpenVox G400P

I have never seen anything about extra-channels.conf and what should it include.

Thanks again,
Saeed
12 years 11 months ago #6940 by Joe.Yung
Hi Saeed,

Could you please provide SSH acccount to me? Just send it to my email box below(signature form). Let me help you now!

Time to create page: 0.045 seconds
Powered by Kunena Forum