Page 1 of 1

Call rejected

PostPosted: Mon Nov 08, 2021 5:11 am
by worseo
Hello Team,

Please assist me, I can make an outbound call through my E1 line but ge below error for incoming calls despite following the manual for ingroup,DID,ect.

[Nov 8 10:05:09] -- Span 1: Extension 886502800@from-pstn does not exist. Rejecting call from '886004178'.
[Nov 8 10:05:35] -- Span 1: Extension 886502800@from-pstn does not exist. Rejecting call from '886004178'.

Re: Call rejected

PostPosted: Mon Nov 08, 2021 7:09 am
by worseo
Now I get this error when I dial my DID making incoming call to my call center. on my mobile, it says the number is not in service.

-- Accepting call from '886004178' to '886502800' on channel 0/1, span 1
[Nov 8 12:06:29] -- Executing [886502800@trunkinbound:1] AGI("DAHDI/i1/886004178-b", "agi-DID_route.agi") in new stack
[Nov 8 12:06:29] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Nov 8 12:06:29] -- <DAHDI/i1/886004178-b>AGI Script agi-DID_route.agi completed, returning 0
[Nov 8 12:06:29] -- Executing [9998811112@default:1] Wait("DAHDI/i1/886004178-b", "2") in new stack
[Nov 8 12:06:31] -- Executing [9998811112@default:2] Answer("DAHDI/i1/886004178-b", "") in new stack
[Nov 8 12:06:31] -- Executing [9998811112@default:3] Playback("DAHDI/i1/886004178-b", "ss-noservice") in new stack
[Nov 8 12:06:31] -- <DAHDI/i1/886004178-b> Playing 'ss-noservice.gsm' (language 'en')
[Nov 8 12:06:36] -- Executing [9998811112@default:4] Playback("DAHDI/i1/886004178-b", "vm-goodbye") in new stack
[Nov 8 12:06:36] -- <DAHDI/i1/886004178-b> Playing 'vm-goodbye.gsm' (language 'en')
[Nov 8 12:06:37] -- Executing [9998811112@default:5] Hangup("DAHDI/i1/886004178-b", "") in new stack
[Nov 8 12:06:37] == Spawn extension (default, 9998811112, 5) exited non-zero on 'DAHDI/i1/886004178-b'
[Nov 8 12:06:37] WARNING[29833][C-00000010]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Nov 8 12:06:37] -- Executing [h@default:1] AGI("DAHDI/i1/886004178-b", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Nov 8 12:06:37] -- <DAHDI/i1/886004178-b>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Nov 8 12:06:37] -- Hungup 'DAHDI/i1/886004178-b'

Re: Call rejected

PostPosted: Mon Nov 08, 2021 6:03 pm
by ambiorixg12
[Nov 8 10:05:09] -- Span 1: Extension 886502800@from-pstn does not exist. Rejecting call from '886004178'.


This error was due to the wrong context from-pstn context does not exist unless you create it


Second error is you need to configure the DID 886502800

Re: Call rejected

PostPosted: Mon Nov 15, 2021 11:01 am
by worseo
Is it posible to use the default DID? Is there any known issue working with the default DID?

Re: Call rejected

PostPosted: Mon Nov 15, 2021 12:45 pm
by ambiorixg12
You need to create a diaplan entry for the DID you want to route instead of using the default one, because it won’t match the dial plan pattern

Re: Call rejected

PostPosted: Tue Nov 16, 2021 12:04 am
by striker
worseo wrote:Is it posible to use the default DID? Is there any known issue working with the default DID?



yes you can use the default, just change the DID route to the destination you want.

"This the type of route that you set the DID to use. EXTEN will send calls to the extension entered below, VOICEMAIL will send calls directly to the voicemail box entered below, AGENT will send calls to an agent if they are logged in, PHONE will send the call to a phones entry selected below, IN_GROUP will send calls directly to the specified inbound group. Default is EXTEN. CALLMENU will send the call to the defined Call Menu"