keywords: ip pbx voip gateway gsm gateway

× Questions about VS-GW2120/GW1600/GW1202 and WGW1002G GSM Series VoIP Gateway

No outgoing calls

4 years 8 months ago #11449 by assos40
Hi,
I am using the VS-GW1600 Gateway.
I have setup a trunk between my Freepbx server and the Gateway.
But i can not make any call.
I can make only one call only after rebooting the gateway.When i try to make a second call i get
all lines are busy from the Freepbx.
The log for the success call is
success
[Mar 18 17:42:15] ERROR[2784] app_grppolicy.c: Board span number : 4.
[Mar 18 17:42:15] ERROR[2784] app_grppolicy.c: group name is ALL-GSM
[Mar 18 17:42:15] ERROR[2784] app_grppolicy.c: group_pos is 0
[Mar 18 17:42:15] ERROR[2784] app_grppolicy.c: find a channel in part one
[Mar 18 17:42:15] ERROR[2784] app_grppolicy.c: new group_pos is 1
[Mar 18 17:42:16] NOTICE[2784] chan_sip.c: sip setoption ,option is 101
[Mar 18 17:42:16] ERROR[2784] chan_sip.c: set chan->nativeformats to 0x190f(g723|gsm|ulaw|alaw|g726|g729|g722)
[Mar 18 17:42:16] NOTICE[2784] chan_sip.c: sip setoption ,option is 99
[Mar 18 17:42:16] NOTICE[2784] chan_sip.c: AST_OPTION_BRIDGE_FORMAT_SRC: native[99]
[Mar 18 17:42:16] NOTICE[2784] chan_sip.c: sip:0x4cac58, prefcodec change from 0x0 (nothing) to 0x4 (ulaw)
[Mar 18 17:42:16] WARNING[2784] rtp_engine.c: Can't find native functions for channel 'EXTRA/1-1'
[Mar 18 17:42:16] WARNING[2784] rtp_engine.c: Can't find native functions for channel 'EXTRA/1-1'
[Mar 18 17:42:16] WARNING[2784] channel.c: Codec mismatch on channel SIP/George-192.168.0.200-00000000 setting write format to alaw from unknown native formats 0x4 (ulaw)
[Mar 18 17:42:16] NOTICE[2784] chan_sip.c: sip setoption ,option is 12
[Mar 18 17:42:16] WARNING[2784] rtp_engine.c: Can't find native functions for channel 'EXTRA/1-1'
[Mar 18 17:42:16] WARNING[2784] rtp_engine.c: Can't find native functions for channel 'EXTRA/1-1'
[Mar 18 17:42:17] WARNING[2784] channel.c: Codec mismatch on channel EXTRA/1-1 setting write format to ulaw from alaw native formats 0x8 (alaw)

Failed call
[Mar 18 17:44:09] ERROR[3844] app_grppolicy.c: group name is ALL-GSM
[Mar 18 17:44:09] ERROR[3844] app_grppolicy.c: group_pos is 1
[Mar 18 17:44:09] ERROR[3844] app_grppolicy.c: find a channel in part one
[Mar 18 17:44:09] ERROR[3844] app_grppolicy.c: new group_pos is 5
[Mar 18 17:44:10] ERROR[3844] netsock2.c: getaddrinfo("99991-192.168.9.2", "(null)", ...): Name or service not known
[Mar 18 17:44:10] WARNING[3844] chan_sip.c: No such host: 99991-192.168.9.2
[Mar 18 17:44:10] WARNING[3844] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[Mar 18 17:44:10] WARNING[3844] channel.c: Don't know any of 0x0 (nothing) formats
[Mar 18 17:44:10] WARNING[3844] channel.c: Don't know any of 0x0 (nothing) formats
[Mar 18 17:44:11] ERROR[3844] app_grppolicy.c: group name is ALL-GSM
[Mar 18 17:44:11] ERROR[3844] app_grppolicy.c: group_pos is 5
[Mar 18 17:44:11] ERROR[3844] app_grppolicy.c: find a channel in part one
[Mar 18 17:44:11] ERROR[3844] app_grppolicy.c: new group_pos is 6
[Mar 18 17:44:11] ERROR[3844] netsock2.c: getaddrinfo("99992-192.168.9.2", "(null)", ...): Name or service not known
[Mar 18 17:44:11] WARNING[3844] chan_sip.c: No such host: 99992-192.168.9.2
[Mar 18 17:44:11] WARNING[3844] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[Mar 18 17:44:14] ERROR[3844] app_grppolicy.c: group name is ALL-GSM
[Mar 18 17:44:14] ERROR[3844] app_grppolicy.c: group_pos is 6
[Mar 18 17:44:14] ERROR[3844] app_grppolicy.c: find a channel in part one
[Mar 18 17:44:14] ERROR[3844] app_grppolicy.c: new group_pos is 7
[Mar 18 17:44:14] ERROR[3844] netsock2.c: getaddrinfo("99993-192.168.9.2", "(null)", ...): Name or service not known
[Mar 18 17:44:14] WARNING[3844] chan_sip.c: No such host: 99993-192.168.9.2
[Mar 18 17:44:14] WARNING[3844] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)

Can you please help me out.
Thannks
George
4 years 8 months ago #11450 by assos40
Update:
I managed to get this working.
call routing roules were messed.
But still to many warnings and notifications in asterisk log file after rebooting the gateway.
Maybe someone can tell me if this is normal or even take a look in my gateway.
[Mar 18 22:11:00] NOTICE[1473] dnsmgr.c: Managed DNS entries will be refreshed every 1200 seconds.
[Mar 18 22:11:00] NOTICE[1473] cdr.c: CDR simple logging enabled.
[Mar 18 22:11:00] WARNING[1473] ccss.c: Could not find valid ccss.conf file. Using cc_max_requests default
[Mar 18 22:11:00] NOTICE[1473] loader.c: 54 modules will be loaded.
[Mar 18 22:11:00] WARNING[1473] loader.c: Module 'res_pktccops.so' was not compiled with the same compile-time options as this version of Asterisk.
[Mar 18 22:11:00] WARNING[1473] loader.c: Module 'res_pktccops.so' will not be initialized as it may cause instability.
[Mar 18 22:11:00] WARNING[1473] loader.c: Module 'res_pktccops.so' could not be loaded.
[Mar 18 22:11:02] WARNING[1473] res_crypto.c: Unable to open key directory '/etc/asterisk/keys'
[Mar 18 22:11:02] WARNING[1473] res_stun_monitor.c: Unable to load config res_stun_monitor.conf
[Mar 18 22:11:02] NOTICE[1473] res_smdi.c: Unable to load config smdi.conf: SMDI disabled
[Mar 18 22:11:02] NOTICE[1473] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Mar 18 22:11:02] WARNING[1473] loader.c: Error loading module 'chan_local': /usr/lib/asterisk/modules/chan_local.so: cannot open shared object file: No such file or directory
[Mar 18 22:11:02] WARNING[1473] loader.c: Module 'chan_local' could not be loaded.
[Mar 18 22:11:02] ERROR[1473] app_grppolicy.c: init fail[Mar 18 22:11:03] ERROR[1473] app_grppolicy.c: connected to redis
[Mar 18 22:11:03] NOTICE[1473] chan_sip.c: The 'username' field for sip peers has been deprecated in favor of the term 'defaultuser'
[Mar 18 22:11:03] NOTICE[1507] chan_sip.c: -- Re-registration for This email address is being protected from spambots. You need JavaScript enabled to view it.
[Mar 18 22:11:03] WARNING[1507] chan_sip.c: Forbidden - wrong password on authentication for REGISTER for 'george' to '192.168.0.200'
[Mar 18 22:11:04] WARNING[1473] chan_iax2.c: Error opening firmware directory '/etc/asterisk/firmware/iax': No such file or directory
[Mar 18 22:11:04] WARNING[1473] iax2-provision.c: Invalid tos value at line 59, refer to QoS documentation
[Mar 18 22:11:04] NOTICE[1473] chan_extra.c: get_slot_nbr: slot_nbr = 1
[Mar 18 22:11:05] NOTICE[1540] chan_extra.c: GSM detect module on D-channel of span 1(Detect module)
[Mar 18 22:11:05] WARNING[1473] chan_extra.c: masterip is null, set default redis ip
[Mar 18 22:11:05] NOTICE[1473] chan_extra.c: Connected to redis
[Mar 18 22:11:06] NOTICE[1542] chan_extra.c: GSM detect module on D-channel of span 3(Detect module)
[Mar 18 22:11:06] NOTICE[1543] chan_extra.c: GSM detect module on D-channel of span 4(Detect module)
[Mar 18 22:11:06] NOTICE[1541] chan_extra.c: GSM detect module on D-channel of span 2(Detect module)
[Mar 18 22:11:06] NOTICE[1543] chan_extra.c: GSM detect module on D-channel of span 4(Detect module)
[Mar 18 22:11:06] WARNING[1473] translate.c: Translator 'c1kg723tog729' does not produce sample frames.
[Mar 18 22:11:06] WARNING[1473] translate.c: Translator 'c1kg729tog723' does not produce sample frames.
[Mar 18 22:11:06] WARNING[1473] translate.c: Translator 'c1kg723toalaw' does not produce sample frames.
[Mar 18 22:11:06] WARNING[1473] translate.c: Translator 'c1kalawtog723' does not produce sample frames.
[Mar 18 22:11:07] WARNING[1473] translate.c: Translator 'c1kg729toalaw' does not produce sample frames.
[Mar 18 22:11:07] WARNING[1473] translate.c: Translator 'c1kalawtog729' does not produce sample frames.
[Mar 18 22:11:08] NOTICE[1541] chan_extra.c: GSM detect module on D-channel of span 2(Detect module)
[Mar 18 22:11:08] NOTICE[1541] chan_extra.c: GSM detect module on D-channel of span 2(Detect module)
[Mar 18 22:11:08] NOTICE[1542] chan_extra.c: GSM detect module on D-channel of span 3(Detect module)
[Mar 18 22:11:08] NOTICE[1542] chan_extra.c: GSM detect module on D-channel of span 3(Detect module)
[Mar 18 22:11:15] NOTICE[1540] chan_extra.c: model name is SIMCOM_SIM840W, manufacturer is SIMCOM_Ltd
[Mar 18 22:11:15] NOTICE[1540] chan_extra.c: stk command is AT+STKTRS=10
4 years 8 months ago #11452 by hua
Hello,

Please give us your skype ID ,we will check it for you ASAP.

Best regards
upper
Time to create page: 0.034 seconds
Powered by Kunena Forum