Placetel Trunk einrichten

Hallo Community,
ich würde gerne einen Trunk von Placetel einrichten.

Ich habe das Ganze eingerichtet wie den Sipgate Trunk und den Typ auf “peer” geändert.
Details hier:


Problem ist das Placetel als Absender den kompletten Sip Header haben möchte:

SipAddHeader(P-Preferred-Identity: <sip:Rufnummer, die angezeigt werden 
soll>@fpbx.de>)
Dial(SIP/Rufnummer, die angerufen werden soll@placetel.de)
z.B.
SipAddHeader(P-Preferred-Identity: <sip:0221234567@fpbx.de>)
Dial(SIP/089127234@placetel.de)

Kann mir einer sagen wie ich diesen Trunk korrekt einrichten muss?

Derzeit kommt beim wählen dieser Fehler:

 Placetel_Trunk - 2X
    -- Executing [062321001200@sub_failover-outgoing-15:6] Dial("SIP/KuQHQuKml7131f1-0000060e", "SIP/mdc_trunk_conf-1/062321001200,,t") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/mdc_trunk_conf-1/062321001200
    -- Got SIP response 483 "Too Many Hops" back from 62.134.52.212:5060
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [062321001200@sub_failover-outgoing-15:7] GotoIf("SIP/KuQHQuKml7131f1-0000060e", "0?out") in new stack
    -- Executing [062321001200@sub_failover-outgoing-15:8] Playback("SIP/KuQHQuKml7131f1-0000060e", "beep") in new stack
    -- <SIP/KuQHQuKml7131f1-0000060e> Playing 'beep.alaw' (language 'de')
    -- Executing [062321001200@sub_failover-outgoing-15:9] Set("SIP/KuQHQuKml7131f1-0000060e", "CALLERID(num)=623210012020") in new stack
    -- Executing [062321001200@sub_failover-outgoing-15:10] Return("SIP/KuQHQuKml7131f1-0000060e", "") in new stack
[Oct 29 08:15:05] WARNING[32203]: pbx.c:5119 __ast_pbx_run: Channel 'SIP/KuQHQuKml7131f1-0000060e' sent into invalid extension '062321001200' in context 'mdc_outgoing-15', but no invalid handler
    -- Executing [h@mdc_outgoing-15:1] Macro("SIP/KuQHQuKml7131f1-0000060e", "hangup,,CHANUNAVAIL,") in new stack
    -- Executing [s@macro-hangup:1] NoOp("SIP/KuQHQuKml7131f1-0000060e", ">>>macro-hangup:: EXTEN:  DIALSTATUS: CHANUNAVAIL QUEUESTATUS: ") in new stack

Hallo ALTEMO,

ich habe das bei mir folgendermaßen eingerichtet:

A. SIP-Header:

In der mdc_extensions.conf die Extension suchen, die MobyDick für diesen trunk outgoing angelegt hat [sub_trunk-outgoing-…].
Hier die SipAddHeader-Zeile mit den gewünschten Werten vor der Dial-Befehlszeile einfügen. Fertig

B: Placetel-Registrierung:

Funktioniert bei mir mit folgenden Änderungen:
-Ext. aus Header: Nein
-Clip-Modus: Number

Viel Erfolg!
moby1

Hallo moby1,
vielen lieben Dank.

Nun geht es!

Ich versuche auch Placetel einzurichten, brauche aber glaube ich eine Anleitung für Dumme.
Ich habe ein neues Amt eingerichtet mit mehreren Accounts.
Diese registrieren sich lt. Placetel auch, nur ausgehende Gespräche kann ich nicht führen.
Eingehend konnte ich noch nicht testen, da es nur Testaccounts von Placetel sind.

Muss ich nun für jeden Account etwas in der mdc_extensions.conf ändern?
Wenn ja was?
So sieht momentan mein sub_trunk-outgoing aus:


[sub_trunk-outgoing-63]
; generated by mod_outboundrules
exten => _+*%#a-zA-Z0-9]!,1,Set(MDC_CALLEE_NUM_INTERNAT=${EXTEN})
exten => _+*%#a-zA-Z0-9]!,n,Set(MDC_CALLEE_NUM_NAT=${MDC_CALLEE_NUM_INTERNAT})
exten => _+*%#a-zA-Z0-9]!,n,Set(CALLERID(name-pres)=prohib)
exten => _+*%#a-zA-Z0-9]!,n,Set(CALLERID(num-pres)=prohib)
exten => _+*%#a-zA-Z0-9]!,n,Verbose(1,Placetel - test)
exten => _+*%#a-zA-Z0-9]!,n,Dial(SIP/mdc_trunk_conf-45/${EXTEN},,t)
exten => _+*%#a-zA-Z0-9]!,n,Return()
exten => h,1,GoSub(def_hangup,s,1(${MDC_EXTEN},${DIALSTATUS},${QUEUESTATUS},CALL))

Ich wähle mit In-Prefix 9 auf die Nummer XXXXXXX


    -- Executing [9XXXXXXX@mdc_location-360:1] Verbose("SIP/Dcms3uAhW3fd50e-0000000c", "1,Hr. Huber 122") in new stack
 Hr. Huber 122
    -- Executing [9XXXXXXX@mdc_location-360:2] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_CALLER_LOCATION_ID=360") in new stack
    -- Executing [9XXXXXXX@mdc_location-360:3] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_CALLER_LOCATION_NAME=Hr. Huber 122") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User CMS1tQhfC2695ed
    -- Executing [9XXXXXXX@mdc_location-360:4] Gosub("SIP/Dcms3uAhW3fd50e-0000000c", "sub_location,s,1(360,9XXXXXXX)") in new stack
    -- Executing [s@sub_location:1] Verbose("SIP/Dcms3uAhW3fd50e-0000000c", "1,used location id: 360 - dialed extension: 9XXXXXXX") in new stack
 used location id: 360 - dialed extension: 9XXXXXXX
    -- Executing [s@sub_location:2] Set("SIP/Dcms3uAhW3fd50e-0000000c", "MDC_CALLEE_NUM=9XXXXXXX") in new stack
    -- Executing [s@sub_location:3] Return("SIP/Dcms3uAhW3fd50e-0000000c", "") in new stack
    -- Executing [9XXXXXXX@mdc_location-360:5] Gosub("SIP/Dcms3uAhW3fd50e-0000000c", "sub_split-location,s,1(360)") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User c7H9VQx6Z2681e3
    -- Executing [s@sub_split-location:1] Verbose("SIP/Dcms3uAhW3fd50e-0000000c", "1,get user for location: 360") in new stack
 get user for location: 360
    -- Executing [s@sub_split-location:2] GotoIf("SIP/Dcms3uAhW3fd50e-0000000c", "0?s-zero,1") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User 1xspYbzok2695e3
    -- Executing [s@sub_split-location:3] Set("SIP/Dcms3uAhW3fd50e-0000000c", "TMP_USER_ID=308") in new stack
    -- Executing [s@sub_split-location:4] Verbose("SIP/Dcms3uAhW3fd50e-0000000c", "1,user id: 308") in new stack
 user id: 308
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User N3XEZzhjK26867c
    -- Executing [s@sub_split-location:5] Return("SIP/Dcms3uAhW3fd50e-0000000c", "") in new stack
    -- Executing [9XXXXXXX@mdc_location-360:6] Goto("SIP/Dcms3uAhW3fd50e-0000000c", "mdc_user-308,9XXXXXXX,1") in new stack
    -- Goto (mdc_user-308,9XXXXXXX,1)
    -- Executing [9XXXXXXX@mdc_user-308:1] Verbose("SIP/Dcms3uAhW3fd50e-0000000c", "1,Huber") in new stack
 Huber
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User 2nALmKn4S269567
    -- Executing [9XXXXXXX@mdc_user-308:2] Gosub("SIP/Dcms3uAhW3fd50e-0000000c", "sub_user,s,1(caller,308,122,Huber,Hr. Huber 122,122,122,122)") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User eGiL8GUxV2685c0
    -- Executing [s@sub_user:1] Verbose("SIP/Dcms3uAhW3fd50e-0000000c", "1,sub_user mode caller") in new stack
 sub_user mode caller
    -- Executing [s@sub_user:2] Goto("SIP/Dcms3uAhW3fd50e-0000000c", "s-caller,1") in new stack
    -- Goto (sub_user,s-caller,1)
    -- Executing [s-caller@sub_user:1] Verbose("SIP/Dcms3uAhW3fd50e-0000000c", "1,sub_user user id: 308 - user exten: 122 - user: Huber - realname: Hr. Huber 122 - own mailbox: 122 - watched mailbox: 122 - callerid(num): 122") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User 63ini8EXl2e51fa
 sub_user user id: 308 - user exten: 122 - user: Huber - realname: Hr. Huber 122 - own mailbox: 122 - watched mailbox: 122 - callerid(num): 122
    -- Executing [s-caller@sub_user:2] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_CALLER_USER_ID=308") in new stack
    -- Executing [s-caller@sub_user:3] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_CALLER_NUM=122") in new stack
    -- Executing [s-caller@sub_user:4] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_CALLER_ACC_NAME=Huber") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User reBHVHwyJ26821f
    -- Executing [s-caller@sub_user:5] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_CALLER_ACC_REALNAME=Hr. Huber 122") in new stack
    -- Executing [s-caller@sub_user:6] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_CALLER_VM_OWN=122") in new stack
    -- Executing [s-caller@sub_user:7] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_CALLER_VM_WATCHED=122") in new stack
    -- Executing [s-caller@sub_user:8] Set("SIP/Dcms3uAhW3fd50e-0000000c", "CALLERID(name)=Hr. Huber 122") in new stack
    -- Executing [s-caller@sub_user:9] Set("SIP/Dcms3uAhW3fd50e-0000000c", "CALLERID(num)=122") in new stack
    -- Executing [s-caller@sub_user:10] Return("SIP/Dcms3uAhW3fd50e-0000000c", "") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User oelIvbBUW35c4a8
    -- Executing [9XXXXXXX@mdc_user-308:3] Goto("SIP/Dcms3uAhW3fd50e-0000000c", "internal,9XXXXXXX,1") in new stack
    -- Goto (internal,9XXXXXXX,1)
    -- Executing [9XXXXXXX@internal:1] SIPAddHeader("SIP/Dcms3uAhW3fd50e-0000000c", ""Alert-Info:<http://www.notused.de>\;info=alert-internal\;x-line-id=0"") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User kZs5wUEIl3a4953
    -- Executing [9XXXXXXX@internal:2] GosubIf("SIP/Dcms3uAhW3fd50e-0000000c", "1?sub_initcall,s,1(int,9XXXXXXX)") in new stack
    -- Executing [s@sub_initcall:1] Verbose("SIP/Dcms3uAhW3fd50e-0000000c", "1,sub_initcall descent: int exten: 9XXXXXXX") in new stack
 sub_initcall descent: int exten: 9XXXXXXX
    -- Executing [s@sub_initcall:2] GosubIf("SIP/Dcms3uAhW3fd50e-0000000c", "1?sub_initloop,s,1") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User F1nwWDTse268a22
    -- Executing [s@sub_initloop:1] Verbose("SIP/Dcms3uAhW3fd50e-0000000c", "1,initial loop") in new stack
 initial loop
    -- Executing [s@sub_initloop:2] Set("SIP/Dcms3uAhW3fd50e-0000000c", "MDC_ALIAS_HOP=0") in new stack
    -- Executing [s@sub_initloop:3] Return("SIP/Dcms3uAhW3fd50e-0000000c", "") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User MdfYRy2ba2e484a
    -- Executing [s@sub_initcall:3] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_TRANSFERBACK_HOP=0") in new stack
    -- Executing [s@sub_initcall:4] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_DIALDESCENT=int") in new stack
    -- Executing [s@sub_initcall:5] Goto("SIP/Dcms3uAhW3fd50e-0000000c", "int,1") in new stack
    -- Goto (sub_initcall,int,1)
    -- Executing [int@sub_initcall:1] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_DIALCALLERNUMINIT=122") in new stack
    -- Executing [int@sub_initcall:2] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_DIALCALLEENUMINIT=9XXXXXXX") in new stack
    -- Executing [int@sub_initcall:3] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_DIALCALLEENUMMAP=9XXXXXXX") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User TmTBHvyXl268a12
    -- Executing [int@sub_initcall:4] Return("SIP/Dcms3uAhW3fd50e-0000000c", "") in new stack
    -- Executing [9XXXXXXX@internal:3] Goto("SIP/Dcms3uAhW3fd50e-0000000c", "main,9XXXXXXX,1") in new stack
    -- Goto (main,9XXXXXXX,1)
    -- Executing [9XXXXXXX@main:1] Gosub("SIP/Dcms3uAhW3fd50e-0000000c", "sub_defcall,s,1(9XXXXXXX)") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User ZYTJig0IS26977d
    -- Executing [s@sub_defcall:1] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_ALIAS_HOP=1") in new stack
    -- Executing [s@sub_defcall:2] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_DIALCALLEENUM=9XXXXXXX") in new stack
    -- Executing [s@sub_defcall:3] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_DIALCALLERNUM=122") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User BtVoX6VeQ3a372f
    -- Executing [s@sub_defcall:4] GotoIf("SIP/Dcms3uAhW3fd50e-0000000c", "1?nozap") in new stack
    -- Goto (sub_defcall,s,8)
    -- Executing [s@sub_defcall:8] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_DIALCALLERNAME=Hr. Huber 122") in new stack
    -- Executing [s@sub_defcall:9] Set("SIP/Dcms3uAhW3fd50e-0000000c", "__MDC_DIALCHANNELNAME=Dcms3uAhW3fd50e") in new stack
    -- Executing [s@sub_defcall:10] Return("SIP/Dcms3uAhW3fd50e-0000000c", "") in new stack
    -- Executing [9XXXXXXX@main:2] Goto("SIP/Dcms3uAhW3fd50e-0000000c", "mdc_distribute,9XXXXXXX,1") in new stack
    -- Goto (mdc_distribute,9XXXXXXX,1)
    -- Executing [9XXXXXXX@mdc_distribute:1] Set("SIP/Dcms3uAhW3fd50e-0000000c", "MDC_INPREFIX_TRUNK=9") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User DYZ0xgCiW2689aa
    -- Executing [9XXXXXXX@mdc_distribute:2] Verbose("SIP/Dcms3uAhW3fd50e-0000000c", "1,remove inprefix: 9") in new stack
 remove inprefix: 9
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User h0FILcdTI2681f6
    -- Executing [9XXXXXXX@mdc_distribute:3] Goto("SIP/Dcms3uAhW3fd50e-0000000c", "mdc_outgoing-63,XXXXXXX,1") in new stack
    -- Goto (mdc_outgoing-63,XXXXXXX,1)
    -- Executing [XXXXXXX@mdc_outgoing-63:1] Gosub("SIP/Dcms3uAhW3fd50e-0000000c", "sub_trunk-outgoing-63,XXXXXXX,1") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User ZEB4aN6T52695b2
    -- Executing [XXXXXXX@sub_trunk-outgoing-63:1] Set("SIP/Dcms3uAhW3fd50e-0000000c", "MDC_CALLEE_NUM_INTERNAT=XXXXXXX") in new stack
    -- Executing [XXXXXXX@sub_trunk-outgoing-63:2] Set("SIP/Dcms3uAhW3fd50e-0000000c", "MDC_CALLEE_NUM_NAT=XXXXXXX") in new stack
    -- Executing [XXXXXXX@sub_trunk-outgoing-63:3] Set("SIP/Dcms3uAhW3fd50e-0000000c", "CALLERID(name-pres)=prohib") in new stack
    -- Executing [XXXXXXX@sub_trunk-outgoing-63:4] Set("SIP/Dcms3uAhW3fd50e-0000000c", "CALLERID(num-pres)=prohib") in new stack
    -- Executing [XXXXXXX@sub_trunk-outgoing-63:5] Verbose("SIP/Dcms3uAhW3fd50e-0000000c", "1,Placetel - test") in new stack
 Placetel - test
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User FpZHXxTd32695e5
    -- Executing [XXXXXXX@sub_trunk-outgoing-63:6] Dial("SIP/Dcms3uAhW3fd50e-0000000c", "SIP/mdc_trunk_conf-45/XXXXXXX,,t") in new stack
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User 7m5T1IS3s69d654
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User 8dDGFh7BS3a5914
  == Extension Changed 122[mdc_hint-ident] new state InUse for Notify User G72PovOCq3a5a54
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/mdc_trunk_conf-45/XXXXXXX
[Apr 18 13:21:45] WARNING[2270][C-0000000c]: chan_sip.c:22866 handle_response_invite: Received response: "Forbidden" from '"Anonymous" <sip:anonymous@anonymous.invalid>;tag=as26f8f6d4'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [XXXXXXX@sub_trunk-outgoing-63:7] Return("SIP/Dcms3uAhW3fd50e-0000000c", "") in new stack
    -- Executing [XXXXXXX@mdc_outgoing-63:2] Hangup("SIP/Dcms3uAhW3fd50e-0000000c", "21") in new stack
  == Spawn extension (mdc_outgoing-63, XXXXXXX, 2) exited non-zero on 'SIP/Dcms3uAhW3fd50e-0000000c'
    -- Executing [h@mdc_outgoing-63:1] Gosub("SIP/Dcms3uAhW3fd50e-0000000c", "def_hangup,s,1(,CHANUNAVAIL,,CALL)") in new stack
    -- Executing [s@def_hangup:1] Verbose("SIP/Dcms3uAhW3fd50e-0000000c", "1,sub_hangup dialstatus: CHANUNAVAIL") in new stack
 sub_hangup dialstatus: CHANUNAVAIL
    -- Executing [s@def_hangup:2] GotoIf("SIP/Dcms3uAhW3fd50e-0000000c", "0?noanswer,1") in new stack
    -- Executing [s@def_hangup:3] GotoIf("SIP/Dcms3uAhW3fd50e-0000000c", "0?busy,1") in new stack
    -- Executing [s@def_hangup:4] Goto("SIP/Dcms3uAhW3fd50e-0000000c", "unavailable,1") in new stack
    -- Goto (def_hangup,unavailable,1)
    -- Executing [unavailable@def_hangup:1] Hangup("SIP/Dcms3uAhW3fd50e-0000000c", "20") in new stack
  == Spawn extension (def_hangup, unavailable, 1) exited non-zero on 'SIP/Dcms3uAhW3fd50e-0000000c'
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User CMS1tQhfC2695ed
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User c7H9VQx6Z2681e3
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User 1xspYbzok2695e3
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User N3XEZzhjK26867c
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User 2nALmKn4S269567
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User eGiL8GUxV2685c0
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User 63ini8EXl2e51fa
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User reBHVHwyJ26821f
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User oelIvbBUW35c4a8
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User kZs5wUEIl3a4953
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User F1nwWDTse268a22
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User MdfYRy2ba2e484a
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User TmTBHvyXl268a12
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User ZYTJig0IS26977d
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User BtVoX6VeQ3a372f
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User DYZ0xgCiW2689aa
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User h0FILcdTI2681f6
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User ZEB4aN6T52695b2 (queued)
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User FpZHXxTd32695e5
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User 7m5T1IS3s69d654
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User 8dDGFh7BS3a5914
  == Extension Changed 122[mdc_hint-ident] new state Idle for Notify User G72PovOCq3a5a54

Kann mir jemand helfen?