SIP Configuration Problems/Cause 20 Subscriber Absent

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

SIP Configuration Problems/Cause 20 Subscriber Absent

Postby atsatlantic57 » Thu May 28, 2020 10:01 pm

Hello all, I'm installing vici for the first time. I've hit a snag regarding the SIP settings. When I try to manually dial out, I get "Cause 20:Subscriber Absent"

Configuration details are as follows:
Version 9.0.2 200415-1712| Asterisk 13.29.2 | VPS Ubuntu 20.04 x64 | 4core 160gb 8192 ram| Was installed using most recent vicibox iso.

I was able to feel my way through it all the way to the point of adding a sip trunk. Should also note that the firewall on my vps is currently disabled.

Config:

Reg String: Blank. No Credential List Active. IP Control Lists the IP Vici is hosted on.

Account Entry:
[mysippy]
type=peer
secret=XXXX
username=XXXX
host=XXXX.ptsn.twilio.com
dtmfmode=rfc2833
canreinvite=no
disallow=all
allow=ulaw
insecure=port,invite
fromuser=+17163005245
fromdomain=XXXX.ptsn.twilio.com

[/quote]Dialplan Entry:
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,n,Dial(${DIAL9TRUNK}/+1${EXTEN:2},,To)
exten => _91NXXNXXXXXX,n,Hangup

exten => _9NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9NXXNXXXXXX,n,Dial(${DIAL9TRUNK}/+1${EXTEN:1},,tTo)
exten => _9NXXNXXXXXX,n,Hangup

Below Is the show sip peers & error code output:



vicibox9*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
100/100 162.206.86.186 D Yes Yes 34292 OK (61 ms)
gs102/gs102 (Unspecified) D Yes Yes 0 UNKNOWN
mysippy/pbx 54.230.252.69 Yes Yes 5060 UNREACHABLE
3 sip peers [Monitored: 1 online, 2 offline Unmonitored: 0 online, 0 offline]
[May 28 22:53:02] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:53:02] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:53:02] == Manager 'sendcron' logged off from 127.0.0.1
[May 28 22:53:02] == Manager 'sendcron' logged off from 127.0.0.1
[May 28 22:53:07] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:53:07] == Manager 'sendcron' logged off from 127.0.0.1
[May 28 22:54:01] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:54:01] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:54:01] == Manager 'sendcron' logged off from 127.0.0.1
[May 28 22:54:01] == Manager 'sendcron' logged off from 127.0.0.1
[May 28 22:54:06] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:54:06] == Manager 'sendcron' logged off from 127.0.0.1
[May 28 22:54:51] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:54:51] ERROR[19001]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicibox9", "(null)", ...): Name or service not known
[May 28 22:54:51] WARNING[19001]: acl.c:835 resolve_first: Unable to lookup 'vicibox9'
[May 28 22:54:51] == Using SIP RTP CoS mark 5
[May 28 22:54:51] -- Called 100
[May 28 22:54:52] -- SIP/100-00000010 is ringing
[May 28 22:54:54] > 0x7fbbe401d690 -- Strict RTP learning after remote address set to: 162.206.86.186:8000
[May 28 22:54:54] -- SIP/100-00000010 answered
[May 28 22:54:54] -- Executing [8600051@default:1] MeetMe("SIP/100-00000010", "8600051,F") in new stack
[May 28 22:54:54] > 0x7fbbe401d690 -- Strict RTP switching to RTP target address 162.206.86.186:8000 as source
[May 28 22:54:55] == Manager 'sendcron' logged off from 127.0.0.1
[May 28 22:54:59] > 0x7fbbe401d690 -- Strict RTP learning complete - Locking on source address 162.206.86.186:8000
[May 28 22:55:01] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:55:01] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:55:01] == Manager 'sendcron' logged off from 127.0.0.1
[May 28 22:55:01] == Manager 'sendcron' logged off from 127.0.0.1
[May 28 22:55:05] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:55:05] -- Called 8600051@default
[May 28 22:55:05] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-00000064;2", "8600051,F") in new stack
[May 28 22:55:05] -- Local/8600051@default-00000064;1 answered
[May 28 22:55:05] -- Executing [919546389608@default:1] AGI("Local/8600051@default-00000064;1", "agi://127.0.0.1:4577/call_log") in new stack
[May 28 22:55:05] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=TEST0001))
[May 28 22:55:05] -- <Local/8600051@default-00000064;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[May 28 22:55:05] -- Executing [919546389608@default:2] Dial("Local/8600051@default-00000064;1", "SIP/mysippy/+19546389608,,To") in new stack
[May 28 22:55:05] WARNING[19050][C-00000a54]: app_dial.c:2591 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[May 28 22:55:05] == Everyone is busy/congested at this time (1:0/0/1)
[May 28 22:55:05] -- Executing [919546389608@default:3] Hangup("Local/8600051@default-00000064;1", "") in new stack
[May 28 22:55:05] == Spawn extension (default, 919546389608, 3) exited non-zero on 'Local/8600051@default-00000064;1'
[May 28 22:55:05] WARNING[19050][C-00000a54]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[May 28 22:55:05] -- Executing [h@default:1] AGI("Local/8600051@default-00000064;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------------)") in new stack
[May 28 22:55:05] -- <Local/8600051@default-00000064;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------------) completed, returning 0
[May 28 22:55:05] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000064;2'
[May 28 22:55:05] WARNING[19051][C-00000a53]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[May 28 22:55:05] -- Executing [h@default:1] AGI("Local/8600051@default-00000064;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20--------------------)") in new stack
[May 28 22:55:05] -- <Local/8600051@default-00000064;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20--------------------) completed, returning 0
[May 28 22:55:06] == Manager 'sendcron' logged off from 127.0.0.1
[May 28 22:55:06] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:55:06] == Manager 'sendcron' logged off from 127.0.0.1
[May 28 22:55:06] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:55:06] -- Called 917066018875@default
[May 28 22:55:06] -- Executing [917066018875@default:1] AGI("Local/917066018875@default-00000065;2", "agi://127.0.0.1:4577/call_log") in new stack
[May 28 22:55:06] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=TEST0001))
[May 28 22:55:06] -- <Local/917066018875@default-00000065;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[May 28 22:55:06] -- Executing [917066018875@default:2] Dial("Local/917066018875@default-00000065;2", "SIP/mysippy/+17066018875,,To") in new stack
[May 28 22:55:06] WARNING[19060][C-00000a55]: app_dial.c:2591 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[May 28 22:55:06] == Everyone is busy/congested at this time (1:0/0/1)
[May 28 22:55:06] -- Executing [917066018875@default:3] Hangup("Local/917066018875@default-00000065;2", "") in new stack
[May 28 22:55:06] == Spawn extension (default, 917066018875, 3) exited non-zero on 'Local/917066018875@default-00000065;2'
[May 28 22:55:06] WARNING[19060][C-00000a55]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[May 28 22:55:06] -- Executing [h@default:1] AGI("Local/917066018875@default-00000065;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------------)") in new stack
[May 28 22:55:06] == Manager 'sendcron' logged on from 127.0.0.1
[May 28 22:55:06] -- Called 917609849430@default
[May 28 22:55:06] -- Executing [917609849430@default:1] AGI("Local/917609849430@default-00000066;2", "agi://127.0.0.1:4577/call_log") in new stack
[May 28 22:55:06] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=TEST0001))
[May 28 22:55:06] -- <Local/917609849430@default-00000066;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[May 28 22:55:06] -- Executing [917609849430@default:2] Dial("Local/917609849430@default-00000066;2", "SIP/mysippy/+17609849430,,To") in new stack
[May 28 22:55:06] WARNING[19065][C-00000a56]: app_dial.c:2591 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[May 28 22:55:06] == Everyone is busy/congested at this time (1:0/0/1)
[May 28 22:55:06] -- Executing [917609849430@default:3] Hangup("Local/917609849430@default-00000066;2", "") in new stack
[May 28 22:55:06] == Spawn extension (default, 917609849430, 3) exited non-zero on 'Local/917609849430@default-00000066;2'
[May 28 22:55:06] WARNING[19065][C-00000a56]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[May 28 22:55:06] -- Executing [h@default:1] AGI("Local/917609849430@default-00000066;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------------)") in new stack
[May 28 22:55:07] -- <Local/917066018875@default-00000065;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------------) completed, returning 0
[May 28 22:55:07] -- <Local/917609849430@default-00000066;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------------) completed, returning 0
[May 28 22:55:08] == Manager 'sendcron' logged off from 127.0.0.1
[May 28 22:55:08] == Manager 'sendcron' logged off from 127.0.0.1
vicibox9*CLI>

I'm definitely out of my depth here, but if anyone can help me find a resolution to this or at least point me in the right direction, I would be eternally grateful! Thanks in advance.
atsatlantic57
 
Posts: 1
Joined: Thu May 28, 2020 2:26 pm

Re: SIP Configuration Problems/Cause 20 Subscriber Absent

Postby carpenox » Sat May 30, 2020 5:09 pm

are you sure your SIP trunk has active channels? Did you pay for channels?
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: SIP Configuration Problems/Cause 20 Subscriber Absent

Postby Kumba » Mon Jun 01, 2020 4:28 pm

Call your carrier and see what they require you to use for SIP. Subscriber Absent sounds like they're expecting you to register to them as an authentication measure.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 23 guests