Page 1 of 1

Incoming calls don’t work

PostPosted: Thu Nov 12, 2020 3:36 am
by pikalla
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

Re: Incoming calls don’t work

PostPosted: Thu Nov 12, 2020 8:15 am
by carpenox
you need to create a DID for the incoming calls and then route the DID to exten 3001

Re: Incoming calls don’t work

PostPosted: Thu Nov 12, 2020 12:42 pm
by ed123
How do you setup your ingroup and DID? Can you post it here pls?

Re: Incoming calls don’t work

PostPosted: Thu Nov 12, 2020 7:48 pm
by striker
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

Re: Incoming calls don’t work

PostPosted: Fri Nov 13, 2020 9:13 am
by carpenox
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...