Ich habe jetzt mal alle anderen Ämter komplett deaktiviert um sicher zu gehen dass nicht versucht wird eine ausgehende Regel eines anderen Amts anzuwenden. Dabei ist mir aufgefallen dass es tatsächlich ein anderes Amt gab wo auch das In-Prefix leer war so dass evtl. dieses Amt verwendet wurde.
Leider geht es immer noch nicht aber die Fehlermeldungen sehen jetzt anders aus:
-- Executing [08123456789@sub_trunk-outgoing-4:13] Verbose("PJSIP/NZyq1H8tmKQmtpf-0000006d", "1,InterVoip CR - Handy&Auslandsanrufe") in new stack
InterVoip CR - Handy&Auslandsanrufe
– Executing [08123456789@sub_trunk-outgoing-4:14] Set(“PJSIP/NZyq1H8tmKQmtpf-0000006d”, “__SPYGROUP=08123456789:101”) in new stack
– Executing [08123456789@sub_trunk-outgoing-4:15] ExecIf(“PJSIP/NZyq1H8tmKQmtpf-0000006d”, “0?Set(CHANNEL(hangup_handler_push)=hdlr-hint,s,1())”) in new stack
– Executing [08123456789@sub_trunk-outgoing-4:16] ExecIf(“PJSIP/NZyq1H8tmKQmtpf-0000006d”, “0?Set(DEVICE_STATE(Custom:)=INUSE)”) in new stack
– Executing [08123456789@sub_trunk-outgoing-4:17] Dial(“PJSIP/NZyq1H8tmKQmtpf-0000006d”, “PJSIP/08123456789@mdc_trunk_conf-1,tb(mdc_outgoing_predial^s^1)”) in new stack
[Jan 25 11:05:54] ERROR[1650]: chan_pjsip.c:2498 request: Unable to create PJSIP channel - endpoint ‘mdc_trunk_conf-1’ was not found
[Jan 25 11:05:54] WARNING[1997][C-00000060]: app_dial.c:2578 dial_exec_full: Unable to create channel of type ‘PJSIP’ (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [08123456789@sub_trunk-outgoing-4:18] ExecIf(“PJSIP/NZyq1H8tmKQmtpf-0000006d”, “0?Set(MDC_CALLEE_HANGUP=1)”) in new stack
– Executing [08123456789@sub_trunk-outgoing-4:19] Return(“PJSIP/NZyq1H8tmKQmtpf-0000006d”, “”) in new stack
– Executing [08123456789@mdc_outgoing-4:2] Hangup(“PJSIP/NZyq1H8tmKQmtpf-0000006d”, “3”) in new stack
== Spawn extension (mdc_outgoing-4, 08123456789, 2) exited non-zero on ‘PJSIP/NZyq1H8tmKQmtpf-0000006d’
– Executing [h@mdc_outgoing-4:1] Gosub(“PJSIP/NZyq1H8tmKQmtpf-0000006d”, “def_hangup,s,1(,CHANUNAVAIL,CALL)”) in new stack
– Executing [s@def_hangup:1] NoOp(“PJSIP/NZyq1H8tmKQmtpf-0000006d”, “>>>def_hangup:: EXTEN: DIALSTATUS: CHANUNAVAIL QUEUESTATUS: REASON: CALL”) in new stack
Zumindest scheint das richtige Amt ausgewählt zu werden (1. Zeile der Ausgabe oben)
Aber ich bin wieder zurück am Anfang mit der Fehlermeldung “endpoint ‘mdc_trunk_conf-1’ was not found” und “no route to destination”
Im Status der Amtsleitung wird “Peer” mit “failed” angezeigt. Kann das das Problem sein?
Die Fehlermeldung sagt “endpoint ‘mdc_trunk_conf-1’ was not found”. Der scheint aber durchaus definiert zu sein:
pjsip list registrations
<Registration/ServerURI…> <Auth…> <Status…>
mdc_trunk_conf-1-reg-0/sip:sip.intervoip.com mdc_trunk_conf-1-oauth Registered
Objects found: 1
pjsip list auths
I/OAuth: <AuthId/UserName…>
Auth: IlaRBKi0eOMY4Ky-iauth/IlaRBKi0eOMY4Ky
Auth: NZyq1H8tmKQmtpf-iauth/NZyq1H8tmKQmtpf
Auth: OAOLYz4ktSoEelt-iauth/OAOLYz4ktSoEelt
Auth: mPBReq9m2PTYkNW-iauth/mPBReq9m2PTYkNW
Auth: mdc_trunk_conf-1-oauth/cXXXXX
Objects found: 5