Page 1 of 1

Setting up with vitelity inbound not working

PostPosted: Tue Sep 23, 2014 3:52 pm
by Bajamark
Using vicibox 6.0

I'm trying to set up my inbound calling from my carrier vitelity, but I been unable to do so far, I already tried the configuration they provided, I am good with the outbound, my only issue is with the inbound, any ideas on how to solve this?

Thank you in advance.

Re: Setting up with vitelity inbound not working

PostPosted: Wed Sep 24, 2014 12:56 am
by striker
post your carrier settings.

also the Asterisk cli log for incomming calls.

Re: Setting up with vitelity inbound not working

PostPosted: Wed Sep 24, 2014 11:05 am
by Bajamark
[vitel-inbound]
type=friend
dtmfmode=auto
host=xxxx.xxxx
context=from-trunk
allow=all
insecure=port,invite
canreinvite=no

[vitel-outbound]
type=friend
dtmfmode=auto
host=x.x.x.x
allow=all
canreinvite=no

exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(SIP/vitel-outbound/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,3,Hangup

[trunkinbound]

exten => 6192596327,1,Answer


This is what is showing on CLI

[Sep 23 05:06:58] --- (17 headers 16 lines) ---
[Sep 23 05:06:58] Sending to 64.2.142.90:5060 (NAT)
[Sep 23 05:06:58] Using INVITE request as basis request - 10a6fb59438a995e4ed95f8501f60756@64.2.142.229
[Sep 23 05:06:58] No matching peer for '7147844990' from '64.2.142.90:5060'
[Sep 23 05:06:58] NOTICE[2338]: chan_sip.c:23412 handle_request_invite: Failed to authenticate device "7147844990" <sip:7147844990@64.2.142.229>;tag=as656935d5
[Sep 23 05:06:58]
<--- Reliably Transmitting (NAT) to 64.2.142.90:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 64.2.142.90;branch=z9hG4bKc96c.3b7964b6.0;received=64.2.142.90;rport=5060
Via: SIP/2.0/UDP 64.2.142.229:5060;received=64.2.142.229;branch=z9hG4bK116c3a34;rport=5060
From: "7147844990" <sip:7147844990@64.2.142.229>;tag=as656935d5
To: <sip:6192596327@192.168.1.64>;tag=as3dfc0ee5
Call-ID: 10a6fb59438a995e4ed95f8501f60756@64.2.142.229
CSeq: 103 INVITE
Server: Asterisk PBX 1.8.23.0-vici
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

Re: Setting up with vitelity inbound not working

PostPosted: Wed Sep 24, 2014 11:27 am
by striker
change this
context=from-trunk

to context=trunkinbound


disable the sip debug and dial ur inbound number and post the cli log

Re: Setting up with vitelity inbound not working

PostPosted: Wed Sep 24, 2014 11:42 am
by Bajamark
Ok already changed it and got this

[Sep 24 05:41:00] NOTICE[2338]: chan_sip.c:23412 handle_request_invite: Failed to authenticate device "7147844990" <sip:7147844990@64.2.142.210>;tag=as7547c859
[Sep 24 05:41:01] == Manager 'sendcron' logged on from 127.0.0.1
[Sep 24 05:41:01] == Manager 'sendcron' logged off from 127.0.0.1
[Sep 24 05:41:01] == Manager 'sendcron' logged on from 127.0.0.1
[Sep 24 05:41:02] == Manager 'sendcron' logged off from 127.0.0.1
[Sep 24 05:41:06] == Manager 'sendcron' logged on from 127.0.0.1
[Sep 24 05:41:06] == Manager 'sendcron' logged off from 127.0.0.1
[Sep 24 05:41:12] NOTICE[2338]: chan_sip.c:23412 handle_request_invite: Failed to authenticate device "7147844990" <sip:7147844990@64.2.142.102>;tag=as1a0b4020
[Sep 24 05:41:14] NOTICE[2338]: chan_sip.c:23412 handle_request_invite: Failed to authenticate device "7147844990" <sip:7147844990@66.241.96.48>;tag=as5f01281c

Re: Setting up with vitelity inbound not working

PostPosted: Wed Sep 24, 2014 3:04 pm
by Bajamark
Someone any idea ???

Re: Setting up with vitelity inbound not working

PostPosted: Wed Sep 24, 2014 11:59 pm
by striker
what is the ip of the inbound carrier?

Re: Setting up with vitelity inbound not working

PostPosted: Fri Sep 26, 2014 10:57 am
by Bajamark
Striker this is how my inbound looks like.

Thank you.


[vitel-inbound]
type=friend
dtmfmode=auto
host=inbound34.vitelity. net
context=from-trunk
allow=all
insecure=port,invite
canreinvite=no

[vitel-outbound]
type=friend
dtmfmode=auto
host=x.x.x.x
allow=all
canreinvite=no

exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(SIP/vitel-outbound/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,3,Hangup

[trunkinbound]

exten => 6192596327,1,Answer