Hi all:
I want to make an outgoing call to +49162… - yet this call is rejected with the following error message:
NOTICE[5519]: res_pjsip_session.c:4041 new_invite: 202: Call (UDP:192.168.2.52:5060) to extension '+49162......' rejected because extension not found in context 'internal'.
A call to +49175… does succeed:
-- Executing [+49175......@internal:1] Verbose("PJSIP/202-00000053", "Ausgehender Anruf an +49175...... ...") in new stack
Ausgehender Anruf an +49175...... ...
-- Executing [+49175......@internal:2] Goto("PJSIP/202-00000053", "outgoing,+49175......,1") in new stack
-- Goto (outgoing,+49175......,1)
-- Executing [+49175......@outgoing:1] Dial("PJSIP/202-00000053", "PJSIP/telekom_93......_endpoint/sip:0175......@tel.t-online.de,60") in new stack
-- Called PJSIP/telekom_93......_endpoint/sip:0175......@tel.t-online.de
-- PJSIP/telekom_93......_endpoint-00000054 is making progress passing it to PJSIP/202-00000053
> 0x7f10ec063b90 -- Strict RTP learning after remote address set to: 192.168.2.52:12366
> 0x7f10ec063b90 -- Strict RTP switching to RTP target address 192.168.2.52:12366 as source
-- PJSIP/telekom_93......_endpoint-00000054 is ringing
So, I tried to see what asterisk thinks my context internal
does look like:
goedevm004*CLI> dialplan show internal
[ Context 'internal' created by 'pbx_config' ]
Autohints support enabled
'200' => hint: PJSIP/200 [pbx_config]
1. Dial(PJSIP/200) [extensions.conf:86]
2. Hangup() [extensions.conf:87]
'201' => 1. Dial(PJSIP/201) [extensions.conf:91]
2. Hangup() [extensions.conf:92]
'202' => hint: PJSIP/202 [pbx_config]
1. Dial(PJSIP/202) [extensions.conf:96]
2. Hangup() [extensions.conf:97]
'204' => hint: PJSIP/204 [pbx_config]
1. Dial(PJSIP/204) [extensions.conf:101]
2. Hangup() [extensions.conf:102]
'300' => 1. Dial(PJSIP/200&PJSIP/201&PJSIP/202&PJSIP/901) [extensions.conf:112]
2. Hangup() [extensions.conf:113]
'5200' => 1. VoiceMailMain(5200@VoiceMail1,s) [extensions.conf:116]
'5201' => 1. VoiceMailMain(5201@VoiceMail1,s) [extensions.conf:117]
'5202' => 1. VoiceMailMain(5202@VoiceMail1,s) [extensions.conf:118]
'555' => 1. Verbose(TEST BLACKLIST) [extensions.conf:123]
2. Set(${CALLERID(num)}=555) [extensions.conf:124]
3. Verbose(Caller ID(all): ${CALLERID(all)}) [extensions.conf:125]
4. GotoIf($[${BLACKLIST()}]?blacklisted,1) [extensions.conf:126]
5. Dial(PJSIP/901,30) [extensions.conf:127]
6. Hangup() [extensions.conf:128]
'5901' => 1. VoiceMailMain(5901@VoiceMail1,s) [extensions.conf:119]
'901' => 1. Dial(PJSIP/901) [extensions.conf:106]
2. Hangup() [extensions.conf:107]
'blacklisted' => 1. Verbose(${CALLERID(num)} ist blacklisted und wird abgewiesen!) [extensions.conf:130]
2. Playback(goodbye) [extensions.conf:131]
3. Hangup() [extensions.conf:132]
'telekom_93...._endpoint' => hint: PJSIP/telekom_93...._endpoint [pbx_config]
'_+X.' => 1. Verbose(Ausgehender Anruf an ${EXTEN} ...) [extensions.conf:79]
2. Goto(outgoing,${EXTEN},1) [extensions.conf:80]
'_0X.' => 1. Verbose(Ausgehender Anruf an ${EXTEN:1} ...) [extensions.conf:76]
2. Goto(outgoing,${EXTEN:1},1) [extensions.conf:77]
-= 15 extensions (33 priorities) in 1 context. =-
Now - I can’t see what’s different between +49162… and +49175… - Do you gurus see a mistake I made? Any further info needed? Thanks in advance for any idea, hint, advice …
Best,
Frank DG1SG