keywords: ip pbx voip gateway gsm gateway

×

Notice

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

G400E/chan-extra manual

5 years 4 hours ago #13069 by Regressor
Hi. We need single rack server with fxo/fxs/t1/gsm ports. So we bought some g400e cards for gsm part. I spent two day to adapt chan-extra for asterisk 15 (we allready have code for it and i used unifdef program to cleanout old asterisk version code and attached resulted base.c) and now we have working sms sip <--> gsm gateway and some problems with voice and tty mode. opvxg4xx was successfully compiled against dahdi-linux-complete-2.9.2 but it is crash kernel on modprobe when ttymode is enabled. Is it known problem ?

Also I can make calls and there just no voice at all. Is it chan-extra issue or I should tune some chan parameters ? I just can't find chan-extra 2.0.8 manual - site is not available. Can you give a link to this document ?
Attachments:
5 years 4 hours ago #13070 by hua
Hello,

Sorry about your issue , but as you see now chan_extra only support asterisk 11 and low kernel version , there is no version suitable for asterisk 15 . In my opinion if you want to use G400 card ,Please change the asterisk verison to have a try , By the way this is the link of chan_extra 2.0.8 source code www.openvox.cn/pub/misc/GSM/chan_extra-2.0.8.tar.gz

Best regards
upper
5 years 4 hours ago #13071 by Regressor
Hi. I tried it with asterisk11 and it doesn't even compiled too. And there is one more issue - we allready have asterisk modules (softmodems) code for asterisk 15 so I desided to adapt it for 15. Anyway i'll try to bring up it on asterisk 15. I allready have src 2.0.8 but it doesn't have manual inside so I have to setup it using source code and this is a pain.

tty issue is very strange:

[ 266.814805] opvxg4xx 0000:84:00.0: enabling device (0000 -> 0002)
[ 266.814963] Found an OpenVox G400P: Version 1.1
[ 266.814972] card 0 opvxg4xx: slot 0 is Installed
[ 266.814973] card 0 opvxg4xx: slot 1 is Installed
[ 266.814974] card 0 opvxg4xx: slot 2 is Empty
[ 266.814975] card 0 opvxg4xx: slot 3 is Empty
[ 266.814980] opvxg4xx: card 0 slot 0 is ttymode
[ 266.814985] dahdi: Warning: Span opvxg4xx/0/1 didn't specify a spantype. Please fix driver!
[ 266.814988] dahdi: Warning: Span opvxg4xx/0/2 didn't specify a spantype. Please fix driver!
[ 266.815299] opvxg4xx: card 0 Powering up all spans...
[ 278.267851] opvxg4xx 0000:87:00.0: enabling device (0000 -> 0002)
[ 278.267963] Found an OpenVox G400P: Version 1.1
[ 278.267971] card 0 opvxg4xx: slot 0 is Installed
[ 278.267972] card 0 opvxg4xx: slot 1 is Installed
[ 278.267973] card 0 opvxg4xx: slot 2 is Empty
[ 278.267974] card 0 opvxg4xx: slot 3 is Empty
[ 278.267980] dahdi: Warning: Span opvxg4xx/1/1 didn't specify a spantype. Please fix driver!
[ 278.267983] dahdi: Warning: Span opvxg4xx/1/2 didn't specify a spantype. Please fix driver!
[ 278.268227] opvxg4xx: card 1 Powering up all spans...
[ 288.379380] failed to register gsm tty driver
[ 288.393929] BUG: unable to handle kernel paging request at ffffffffc0910500
[ 288.393971] IP: [<ffffffffc0910500>] 0xffffffffc0910500
[ 288.393997] PGD 14ba12067 PUD 14ba14067 PMD 35f81067 PTE 0
[ 288.394026] Oops: 0010 [#1] SMP
[ 288.394044] Modules linked in: xt_multiport iptable_filter ip_tables wctdm(OE) wct4xxp(OE) oct612x(OE) opvxa24xx(OE) cfg80211 rfkill dm_mi
rror dm_region_hash dm_log dm_mod xfs libcrc32c sb_edac intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crc32_pclmul gh
ash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper dahdi(OE) iTCO_wdt iTCO_vendor_support cryptd crc_ccitt sg i2c_i801 mei_me
pcspkr mei ipmi_ssif joydev lpc_ich wmi ipmi_si ipmi_devintf ipmi_msghandler ioatdma nfit acpi_power_meter libnvdimm acpi_pad shpchp btrfs x
or raid6_pq raid1 sd_mod crc_t10dif crct10dif_generic ast drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ahci igb drm libah
ci libata crct10dif_pclmul crct10dif_common ptp crc32c_intel pps_core dca i2c_algo_bit i2c_core [last unloaded: opvxg4xx]
[ 288.394404]
[ 288.394411] CPU: 4 PID: 0 Comm: swapper/4 Kdump: loaded Tainted: G OE
3.10.0-862.9.1.el7.x86_64 #1
[ 288.394448] Hardware name: Supermicro SYS-6038R-TXR/X10DRX, BIOS 3.1 06/06/2018
[ 288.394474] task: ffff8ab73d1c0000 ti: ffff8ab73d1c8000 task.ti: ffff8ab73d1c8000
[ 288.394500] RIP: 0010:[<ffffffffc0910500>] [<ffffffffc0910500>] 0xffffffffc0910500
[ 288.394530] RSP: 0018:ffff8ab8bfc03eb0 EFLAGS: 00010086
[ 288.394553] RAX: ffffffffc0910500 RBX: ffff8ab6b62d1300 RCX: ffff8ab8b5ed1700
[ 288.394578] RDX: ffff8ab8bfc03f04 RSI: ffff8ab88a780000 RDI: 0000000000000055
[ 288.394602] RBP: ffff8ab8bfc03ef0 R08: 0000000000000000 R09: ffff8ab73d1cbe60
[ 288.394627] R10: 00000000000000f4 R11: 7fffffffffffffff R12: 0000000000000055
[ 288.394651] R13: ffff8ab73d1c8000 R14: 0000000000000000 R15: 0000000000000000
[ 288.394677] FS: 0000000000000000(0000) GS:ffff8ab8bfc00000(0000) knlGS:0000000000000000
[ 288.394704] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 288.394725] CR2: ffffffffc0910500 CR3: 000000014ba0e000 CR4: 00000000003607e0
[ 288.394750] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 288.394775] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 288.394799] Call Trace:
[ 288.394811] <IRQ>
[ 288.394824] [<ffffffffa5341284>] ? __handle_irq_event_percpu+0x44/0x1c0
[ 288.394852] [<ffffffffa5341432>] handle_irq_event_percpu+0x32/0x80
[ 288.394876] [<ffffffffa53414bc>] handle_irq_event+0x3c/0x60
[ 288.394899] [<ffffffffa5344ab9>] handle_fasteoi_irq+0x59/0x110
[ 288.394922] [<ffffffffa522d504>] handle_irq+0xe4/0x1a0
[ 288.394943] [<ffffffffa53029fc>] ? tick_check_idle+0x8c/0xd0
[ 288.394966] [<ffffffffa5924f7d>] do_IRQ+0x4d/0xf0
[ 288.394988] [<ffffffffa5917362>] common_interrupt+0x162/0x162
[ 288.395009] <EOI>
[ 288.395020] [<ffffffffa5769e87>] ? cpuidle_enter_state+0x57/0xd0
[ 288.395046] [<ffffffffa5769fde>] cpuidle_idle_call+0xde/0x230
[ 288.395069] [<ffffffffa52356de>] arch_cpu_idle+0xe/0xb0
[ 288.395089] [<ffffffffa52f335a>] cpu_startup_entry+0x14a/0x1e0
[ 288.395113] [<ffffffffa5255f97>] start_secondary+0x1f7/0x270
[ 288.395136] [<ffffffffa52000d5>] start_cpu+0x5/0x14
[ 288.395155] Code: Bad RIP value.
5 years 3 hours ago #13075 by Regressor
Oops. I attached opvxg driver source instead of modified chan_extra.c

File Attachment:

File Name: chan_extra.zip
File Size:65 KB
Attachments:
5 years 3 hours ago #13077 by hua
Hello,

Please downgrade your kernel version to have a try .
5 years 3 hours ago #13078 by Regressor
Hi. I'll try to fix this error in driver. Last question left - do you have manual for chan-extra 2.0.8 ?
Time to create page: 0.058 seconds
Powered by Kunena Forum