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,
********************************************************************************* ; 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.....
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
;