Page 1 of 1

Vicidial with ViciBox adn GoIP4

PostPosted: Thu Jan 30, 2020 2:42 pm
by macaruchi
Hi!
I have been installed a Vicidial using ViciBox9 to use with GSM network for this I am using a GSM gateway GoIP4 to access GSM network with 4 SIMS.
I can do calls without problem but now I need to receive calls for inbound and DIDs but I am getting errors
I configure this gateway like a carrier
Code: Select all
[goip4]
progressinband=never
dtmf=rfc2833
type=friend
qualify=no
canreinvite=no
nat=force_rport,comedia
host= 10.10.10.7
disallow=all
allow=ulaw
allow=alaw
port=5060
usecallerid = yes
context=trunkinbound

--Dial PLan
exten => _6.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _6.,n,Dial(sip/${EXTEN:1}@goip4,55,o)
exten => _6.,n,Hangup


When I do a call to one sim card in the device gateway asterisk give me this error
Code: Select all
[Jan 30 19:37:38]        > 0x7f76a40400f0 -- Strict RTP learning after remote address set to: 10.10.10.7:16384
[Jan 30 19:37:38] NOTICE[2490][C-00000005]: chan_sip.c:26511 handle_request_invite: Call from 'goip4' (10.10.10.7:5060) to extension 'goip4' rejected because extension not found in context 'trunkinbound'.



It seems like asterisk can't addressed the call to callmenu but I have the trunkinbound in my config

Anybody has any cluees using Vicidial with GSM gateway like this ?

Thks In Advance

*---------------------
VERSION: 2.14-734a BUILD: 200122-0921
Core2 DUo 4GB Ram
ViciBox 9
*---------------------

Re: Vicidial with ViciBox adn GoIP4

PostPosted: Thu Jan 30, 2020 4:00 pm
by macaruchi
This is the debug when i call to SIM gsm in
Code: Select all
[Jan 30 20:57:02] <------------>
[Jan 30 20:57:02] NOTICE[2490][C-0000000b]: chan_sip.c:26511 handle_request_invite: Call from 'goip4' (10.10.10.7:5060) to extension 'goip4' rejected because extension not found in context 'trunkinbound'.
[Jan 30 20:57:02] Scheduling destruction of SIP dialog '1839091857@10.10.10.7' in 32000 ms (Method: INVITE)
[Jan 30 20:57:02]
[Jan 30 20:57:02] <--- SIP read from UDP:10.10.10.7:5060 --->
[Jan 30 20:57:02] ACK sip:goip4@10.10.10.5:5060;transport=udp SIP/2.0
[Jan 30 20:57:02] Via: SIP/2.0/UDP 10.10.10.7:5060;rport;branch=z9hG4bK888185041
[Jan 30 20:57:02] From: "8093338888" <sip:8093338888@10.10.10.5:5060>;tag=615754056
[Jan 30 20:57:02] To: <sip:goip4@10.10.10.5>;tag=as2f4b16ad
[Jan 30 20:57:02] Call-ID: 1839091857@10.10.10.7
[Jan 30 20:57:02] CSeq: 7 ACK
[Jan 30 20:57:02] Content-Length: 0
[Jan 30 20:57:02]
[Jan 30 20:57:02] <------------->


Re: Vicidial with ViciBox adn GoIP4

PostPosted: Fri Jan 31, 2020 9:25 am
by macaruchi
I can solve the problem, let me explain here, maybe others can use the solution
In GOiP4 option Call-In
In the option Forwarding to VoIP Number just put the number that you are using as DiD. This "DID" can be invented by you just need a number to identify the in-group that you want to respond
So Forwarding to VoIP Number == 888990
In-Group with DID 888990

Maybe someone else needs it

Re: Vicidial with ViciBox adn GoIP4

PostPosted: Tue Mar 03, 2020 3:19 pm
by williamconley
Excellent post-back!