S
S
Stas5062021-01-30 19:01:25
Asterisk
Stas506, 2021-01-30 19:01:25

When I receive a call, they say "The number you dialed is disconnected" Why?

There is FreeBPX 13 (PBX Firmware:10.13.66-9 PBX Service Pack:1.0.0.0). For nat.

Trunk configured :
username=73838
type=friend
secret=
qualify=yes
port=5060
nat=yes
insecure=invite
host=172.26.160.25
fromuser=73838
fromdomain=172.26.160.25
context=from-trunk

Trunk registered:
TR-73838/73 172.26 .160.25 No No 5060 OK (8 ms)

But when I receive a call to this number, they tell me "The number you dialed is disconnected"

Here is the log:
Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [[email protected]:1] Set("SIP/TR-73838-0000013a", "__FROM_DID=73838") in new stack
-- Executing [[email protected]:2] NoOp("SIP/ TR-73838-0000013a", "Received an unknown call with DID set to 73838") in new stack
-- Executing [[email protected]:3] Goto("SIP/TR-73838-0000013a", "s,a2 ") in new stack
-- Goto (from-trunk,s,2)
-- Executing [[email protected]:2] Answer("SIP/TR-73838-0000013a", "") in new stack
> 0x7f2f5c0c55e0 - - Probation passed - setting RTP source address to 172.26.160.25:16860
-- Executing [[email protected]:3] Log("SIP/TR-73838-0000013a", "WARNING,Friendly Scanner from 172.26.160.25") in new stack
[2021-01-30 22:07:41] WARNING[28315][C-00000135]: Ext. s:3 @ from-trunk: Friendly Scanner from 172.26.160.25
-- Executing [[email protected]:4] Wait("SIP/TR-73838-0000013a", "2") in new stack
-- Executing [s @from-trunk:5] Playback("SIP/TR-73838-0000013a", "ss-noservice") in new stack
-- Playing 'ss-noservice.alaw' (language 'ru')
-- Executing [[email protected] from-trunk:6] SayAlpha("SIP/TR-73838-0000013a", "73838") in new stack
-- Playing 'digits/7.alaw' (language 'ru')
-- Playing 'digits/3.alaw ' (language 'ru')
-- Playing 'digits/8.alaw' (language 'ru')
-- Playing 'digits/3.alaw' (language 'ru'
-- Executing [[email protected]:7] Hangup("SIP/TR-73838-0000013a", "") in new stack
== Spawn extension (from-trunk, s, 7) exited non-zero on 'SIP /TR-73838-0000013a'
-- Executing [[email protected]:1] Macro("SIP/TR-73838-0000013a", "hangupcall,") in new stack
-- Executing [[email protected]:1 ] GotoIf("SIP/TR-73838-0000013a", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [[email protected]:3] ExecIf("SIP /TR-73838-0000013a", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [[email protected]:4] Hangup("SIP/TR-73838-0000013a", "" ) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/TR-73838-0000013a' in macro 'hangupcall'
== Spawn extension (from-trunk, h, 1) exited non-zero on 'SIP/TR-73838-0000013a'

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
V
Viktor, 2021-01-30
@Stas506

Enter DID equal to 73838 in the incoming route and send a call to the extension number

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question