keywords: ip pbx voip gateway gsm gateway

×

Notice

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

gsm asterisk group help please

10 years 2 months ago #8668 by cadillaci
Hello!
I recently bought a G400E with 4 M20 modules. The card is working perfectly. Calling quality is great.

I am able to dial with the following code:

exten => 116,1,Dial(extra/17/*the_mobile_number*,30)

I had the cards config themselves to 17,19,21,23

However i see people making calls through the card as a group, like:

exten => 116,1,Dial(extra/g11/*the_mobile_number*,30)

I was unable to figure this out by myself.

PleaseHelp!



I am using Centos 6.0 (i686), asterisk 1.8, dahdi 2.4, chan_extra 2.0.7 as per manual on your site.


Yours Sincererly

Laszlo Balogh
Hungary

i] Last edited by cadillaci at 2013-3-17 13:46 [/i
10 years 2 months ago #8669 by Joe.Yung
Hello,

You can edit your configuration file /etc/asterisk/extra-channels.conf, the parameter group, set each group in every span to be a same vaule, like group = 11, then in your dialplan,

configure it to be like this:

exten => 116, 1, Dial(extra/g11/*the_mobile_number*,30)

Hope it helps.

10 years 2 months ago #8684 by cadillaci
Hello!
My extra-channels.conf is this:

********************************************************************************* ; Autogenerated by /usr/sbin/dahdi_genconf on Fri Mar 15 17:51:07 2013; If you edit this file and execute /usr/sbin/dahdi_genconf again,; your manual changes will be LOST.; Dahdi Channels Configurations (chan_extra.conf);; This is not intended to be a complete chan_extra.conf. Rather, it is intended; to be #include-d by /etc/chan_extra.conf that will include the global settings;; Span 2: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0" group=12context=gsm_bejovosignalling = gsmsmscodec=utf-8debugat=ontty=offpin=1989channel => 17context = gsm_bejovogroup = 1; Span 3: opvxg4xx/0/2 "OpenVox G400P GSM/CDMA PCI Card 0" group=13context=gsm_bejovosignalling = gsmsmscodec=utf-8debugat=ontty=offpin=1989channel => 19context = gsm_bejovogroup = 1; Span 4: opvxg4xx/0/3 "OpenVox G400P GSM/CDMA PCI Card 0" group=14context=gsm_bejovosignalling = gsmsmscodec=utf-8debugat=ontty=offpin=1141channel => 21context = gsm_bejovogroup = 1; Span 5: opvxg4xx/0/4 "OpenVox G400P GSM/CDMA PCI Card 0" group=15context=gsm_bejovosignalling = gsmsmscodec=utf-8debugat=ontty=offpin=1228channel => 23context = gsm_bejovogroup = 1 *****************************************************************************************************************************


My problem is, there are two group tags in each span.
How should i modify this to work ok?

This system is already in production use, so i dont have much time to
get it offline to try things.....

Yours Sincererly

Laszlo Balogh
10 years 2 months ago #8685 by cadillaci
i ll paste again....
; Autogenerated by /usr/sbin/dahdi_genconf on Fri Mar 15 17:51:07 2013
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_extra.conf)
;
; This is not intended to be a complete chan_extra.conf. Rather, it is intended
; to be #include-d by /etc/chan_extra.conf that will include the global settings
;


; Span 2: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0"
group=12
context=gsm_bejovo
signalling = gsm
smscodec=utf-8
debugat=on
tty=off
pin=1989
channel => 17
context = gsm_bejovo
group = 1



; Span 3: opvxg4xx/0/2 "OpenVox G400P GSM/CDMA PCI Card 0"
group=13
context=gsm_bejovo
signalling = gsm
smscodec=utf-8
debugat=on
tty=off
pin=1989
channel => 19
context = gsm_bejovo
group = 1


; Span 4: opvxg4xx/0/3 "OpenVox G400P GSM/CDMA PCI Card 0"
group=14
context=gsm_bejovo
signalling = gsm
smscodec=utf-8
debugat=on
tty=off
pin=114[align=center][font=Helvetica, Arial, sans-serif]1[/font][/align]
channel => 21
context = gsm_bejovo
group = 1


; Span 5: opvxg4xx/0/4 "OpenVox G400P GSM/CDMA PCI Card 0"
group=15
context=gsm_bejovo
signalling = gsm
smscodec=utf-8
debugat=on
tty=off
pin=1228
channel => 23
context = gsm_bejovo
group = 1



So if you colud edit the pieces i need wth different color characters i would be utmost grateful!

Yours Sincererly

Blaszlo Balogh
10 years 2 months ago #8687 by Joe.Yung
hello,

Please see the following red color ones. Only these group values should be changed to a same one.

; Span 2: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0"
group=12
context=gsm_bejovo
signalling = gsm
smscodec=utf-8
debugat=on
tty=off
pin=1989
channel => 17
context = gsm_bejovo
group = 1



; Span 3: opvxg4xx/0/2 "OpenVox G400P GSM/CDMA PCI Card 0"
group=13
context=gsm_bejovo
signalling = gsm
smscodec=utf-8
debugat=on
tty=off
pin=1989
channel => 19
context = gsm_bejovo
group = 1


; Span 4: opvxg4xx/0/3 "OpenVox G400P GSM/CDMA PCI Card 0"
group=14
context=gsm_bejovo
signalling = gsm
smscodec=utf-8
debugat=on
tty=off
pin=114[align=center][font=Helvetica, Arial, sans-serif]1[/font][/align]
channel => 21
context = gsm_bejovo
group = 1


; Span 5: opvxg4xx/0/4 "OpenVox G400P GSM/CDMA PCI Card 0"
group=15
context=gsm_bejovo
signalling = gsm
smscodec=utf-8
debugat=on
tty=off
pin=1228
channel => 23
context = gsm_bejovo
group = 1

10 years 3 weeks ago #8812 by cadillaci
Thx!

Worked like a charm!

Laszlo
Time to create page: 0.059 seconds
Powered by Kunena Forum