Incoming calls don’t work

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Incoming calls don’t work

Postby pikalla » Thu Nov 12, 2020 3:36 am

First Please excuse my level of English, I am French speaking.
Incoming calls go to answering machines and I get this error. My calls can’t find the route, yet I set incoming calls to 3001.
[Nov 11 17:10:13] > 0x7f4878039a10 -- Strict RTP learning after remote address set to: 130.93.0.227:18256
[Nov 11 17:10:13] -- Executing [0985607755@trunkinbound:1] AGI("SIP/alliancetel-00000009", "agi-DID_route.agi") in new stack
[Nov 11 17:10:13] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Nov 11 17:10:13] -- <SIP/alliancetel-00000009>AGI Script agi-DID_route.agi completed, returning 0
[Nov 11 17:10:13] -- Executing [99909*13***DID@default:1] Answer("SIP/alliancetel-00000009", "") in new stack
[Nov 11 17:10:14] -- Executing [99909*13***DID@default:2] AGI("SIP/alliancetel-00000009", "agi-VDAD_ALL_inbound.agi") in new stack
[Nov 11 17:10:14] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Nov 11 17:10:14] > 0x7f4878039a10 -- Strict RTP switching to RTP target address 130.93.0.227:18256 as source
[Nov 11 17:10:14] -- <SIP/alliancetel-00000009> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'fr')
[Nov 11 17:10:14] -- <SIP/alliancetel-00000009> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'fr')
[Nov 11 17:10:16] -- Started music on hold, class 'default', on channel 'SIP/alliancetel-00000009'
[Nov 11 17:10:18] > 0x7f4878039a10 -- Strict RTP learning complete - Locking on source address 130.93.0.227:18256
[Nov 11 17:10:19] -- Stopped music on hold on SIP/alliancetel-00000009
[Nov 11 17:10:19] -- <SIP/alliancetel-00000009> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'fr')
[Nov 11 17:10:19] -- <SIP/alliancetel-00000009> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'fr')
[Nov 11 17:10:19] -- <SIP/alliancetel-00000009> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'fr')
[Nov 11 17:10:19] -- <SIP/alliancetel-00000009> Playing 'generic_hold.gsm' (escape_digits=) (sample_offset 0) (language 'fr')
[Nov 11 17:10:23] -- <SIP/alliancetel-00000009>AGI Script agi-VDAD_ALL_inbound.agi completed, returning 4
[Nov 11 17:10:23] == Spawn extension (default, 99909*13***DID, 2) exited non-zero on 'SIP/alliancetel-00000009'
[Nov 11 17:10:23] WARNING[20745][C-00000006]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Nov 11 17:10:23] -- Executing [h@default:1] AGI("SIP/alliancetel-00000009", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack


My configuration extensions.conf
Code: Select all
[trunkinbound]
; DID call routing process
exten =>0990000352832,1,Dial(SIP/3001,60,tr)
exten =>0990000352832,2,Hangup
exten => _00033985607755,1,Dial(SIP/3001/(alliancetel/${EXTEN:1}@sip3.openvno.net,60,To)
exten =>_00033XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)

and
Code: Select all
[default]
;include => vicidial-auto
exten =>0990000352832,1,Dial(SIP/3001,60,tr)
exten =>0990000352832,2,Hangup


Please help me… Thanks
Asterisk 13.34.0-vici
VERSION: 2.14-772a
BUILD: 201004-1045
© 2020 ViciDial Group
pikalla
 
Posts: 21
Joined: Thu Sep 03, 2020 12:59 pm

Re: Incoming calls don’t work

Postby carpenox » Thu Nov 12, 2020 8:15 am

you need to create a DID for the incoming calls and then route the DID to exten 3001
Alma Linux 9.3 | SVN Version: 3822 | DB Schema Version: 1711 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2250
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Incoming calls don’t work

Postby ed123 » Thu Nov 12, 2020 12:42 pm

How do you setup your ingroup and DID? Can you post it here pls?
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Re: Incoming calls don’t work

Postby striker » Thu Nov 12, 2020 7:48 pm

you incoming DID number is 0985607755

either you need to create DID in vicidial admin page - under Inbound tab and set DID route to extension

or edit your dialplan

[trunkinbound]
; DID call routing process
exten =>0990000352832,1,Dial(SIP/3001,60,tr)
exten =>0990000352832,2,Hangup


[trunkinbound]
; DID call routing process
exten => 0985607755,1,Dial(SIP/3001,60,tr)
exten => 0985607755,2,Hangup
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: Incoming calls don’t work

Postby carpenox » Fri Nov 13, 2020 9:13 am

i love seeing you posting more on here lately striker..... your a great asset to the vicidial/asterisk community and i personally want to thank you for your contributions...
Alma Linux 9.3 | SVN Version: 3822 | DB Schema Version: 1711 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2250
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 187 guests