Hallo Markus,
ich hab den Clip Modus wieder geändert auf Number…
Steht in der ausgeh. Regel bei CIDNummer eine Nummer aus unseren 100er Block, ist ein/ausgeh. Telefonie möglich…
Steh eine andere Nummer drin, ist keine ein/ausgehende Tel. möglich…?!?
Hier mal ein Peer Debug, wenn unter CDINummer ein fremde TelNr. steht…
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [0017684xxxx68@mdc_location-2:1] Verbose("SIP/pcphoner-0000000c", "1,Christoph") in new stack
Christoph
-- Executing [0017684xxxx68@mdc_location-2:2] Set("SIP/pcphoner-0000000c", "__MDC_CALLER_LOCATION_ID=2") in new stack
-- Executing [0017684xxxx68@mdc_location-2:3] Set("SIP/pcphoner-0000000c", "__MDC_CALLER_LOCATION_NAME=Christoph") in new stack
-- Executing [0017684xxxx68@mdc_location-2:4] Gosub("SIP/pcphoner-0000000c", "sub_location,s,1(2,0017684xxxx68)") in new stack
-- Executing [s@sub_location:1] Verbose("SIP/pcphoner-0000000c", "1,used location id: 2 - dialed extension: 0017684xxxx68") in new stack
used location id: 2 - dialed extension: 0017684xxxx68
-- Executing [s@sub_location:2] Set("SIP/pcphoner-0000000c", "MDC_CALLEE_NUM=0017684xxxx68") in new stack
-- Executing [s@sub_location:3] Return("SIP/pcphoner-0000000c", "") in new stack
-- Executing [0017684xxxx68@mdc_location-2:5] Gosub("SIP/pcphoner-0000000c", "sub_split-location,s,1(2)") in new stack
-- Executing [s@sub_split-location:1] Verbose("SIP/pcphoner-0000000c", "1,get user for location: 2") in new stack
get user for location: 2
-- Executing [s@sub_split-location:2] GotoIf("SIP/pcphoner-0000000c", "0?s-zero,1") in new stack
-- Executing [s@sub_split-location:3] Set("SIP/pcphoner-0000000c", "TMP_USER_ID=3") in new stack
-- Executing [s@sub_split-location:4] Verbose("SIP/pcphoner-0000000c", "1,user id: 3") in new stack
user id: 3
-- Executing [s@sub_split-location:5] Return("SIP/pcphoner-0000000c", "") in new stack
-- Executing [0017684xxxx68@mdc_location-2:6] Goto("SIP/pcphoner-0000000c", "mdc_user-3,0017684xxxx68,1") in new stack
-- Goto (mdc_user-3,0017684xxxx68,1)
-- Executing [0017684xxxx68@mdc_user-3:1] Verbose("SIP/pcphoner-0000000c", "1,Christoph") in new stack
Christoph
-- Executing [0017684xxxx68@mdc_user-3:2] Gosub("SIP/pcphoner-0000000c", "sub_user,s,1(caller,3,15,Christoph,Christoph,15,15,15)") in new stack
-- Executing [s@sub_user:1] Verbose("SIP/pcphoner-0000000c", "1,sub_user mode caller") in new stack
sub_user mode caller
-- Executing [s@sub_user:2] Goto("SIP/pcphoner-0000000c", "s-caller,1") in new stack
-- Goto (sub_user,s-caller,1)
-- Executing [s-caller@sub_user:1] Verbose("SIP/pcphoner-0000000c", "1,sub_user user id: 3 - user exten: 15 - user: Christoph - realname: Christoph - own mailbox: 15 - watched mailbox: 15 - callerid(num): 15") in new stack
sub_user user id: 3 - user exten: 15 - user: Christoph - realname: Christoph - own mailbox: 15 - watched mailbox: 15 - callerid(num): 15
-- Executing [s-caller@sub_user:2] Set("SIP/pcphoner-0000000c", "__MDC_CALLER_USER_ID=3") in new stack
-- Executing [s-caller@sub_user:3] Set("SIP/pcphoner-0000000c", "__MDC_CALLER_NUM=15") in new stack
-- Executing [s-caller@sub_user:4] Set("SIP/pcphoner-0000000c", "__MDC_CALLER_ACC_NAME=Christoph") in new stack
-- Executing [s-caller@sub_user:5] Set("SIP/pcphoner-0000000c", "__MDC_CALLER_ACC_REALNAME=Christoph") in new stack
-- Executing [s-caller@sub_user:6] Set("SIP/pcphoner-0000000c", "__MDC_CALLER_VM_OWN=15") in new stack
-- Executing [s-caller@sub_user:7] Set("SIP/pcphoner-0000000c", "__MDC_CALLER_VM_WATCHED=15") in new stack
-- Executing [s-caller@sub_user:8] Set("SIP/pcphoner-0000000c", "CALLERID(name)=Christoph") in new stack
-- Executing [s-caller@sub_user:9] Set("SIP/pcphoner-0000000c", "CALLERID(num)=15") in new stack
-- Executing [s-caller@sub_user:10] Return("SIP/pcphoner-0000000c", "") in new stack
-- Executing [0017684xxxx68@mdc_user-3:3] Goto("SIP/pcphoner-0000000c", "internal,0017684xxxx68,1") in new stack
-- Goto (internal,0017684xxxx68,1)
-- Executing [0017684xxxx68@internal:1] SIPAddHeader("SIP/pcphoner-0000000c", ""Alert-Info:<http://www.notused.de>;info=alert-internal;x-line-id=0"") in new stack
-- Executing [0017684xxxx68@internal:2] GosubIf("SIP/pcphoner-0000000c", "1?sub_initcall,s,1(int,0017684xxxx68)") in new stack
-- Executing [s@sub_initcall:1] Verbose("SIP/pcphoner-0000000c", "1,sub_initcall descent: int exten: 0017684xxxx68") in new stack
sub_initcall descent: int exten: 0017684xxxx68
-- Executing [s@sub_initcall:2] GosubIf("SIP/pcphoner-0000000c", "1?sub_initloop,s,1") in new stack
-- Executing [s@sub_initloop:1] Verbose("SIP/pcphoner-0000000c", "1,initial loop") in new stack
initial loop
-- Executing [s@sub_initloop:2] Set("SIP/pcphoner-0000000c", "MDC_ALIAS_HOP=0") in new stack
-- Executing [s@sub_initloop:3] Return("SIP/pcphoner-0000000c", "") in new stack
-- Executing [s@sub_initcall:3] Set("SIP/pcphoner-0000000c", "__MDC_TRANSFERBACK_HOP=0") in new stack
-- Executing [s@sub_initcall:4] Set("SIP/pcphoner-0000000c", "__MDC_DIALDESCENT=int") in new stack
-- Executing [s@sub_initcall:5] Goto("SIP/pcphoner-0000000c", "int,1") in new stack
-- Goto (sub_initcall,int,1)
-- Executing [int@sub_initcall:1] Set("SIP/pcphoner-0000000c", "__MDC_DIALCALLERNUMINIT=15") in new stack
-- Executing [int@sub_initcall:2] Set("SIP/pcphoner-0000000c", "__MDC_DIALCALLEENUMINIT=0017684xxxx68") in new stack
-- Executing [int@sub_initcall:3] Set("SIP/pcphoner-0000000c", "__MDC_DIALCALLEENUMMAP=0017684xxxx68") in new stack
-- Executing [int@sub_initcall:4] Return("SIP/pcphoner-0000000c", "") in new stack
-- Executing [0017684xxxx68@internal:3] Goto("SIP/pcphoner-0000000c", "main,0017684xxxx68,1") in new stack
-- Goto (main,0017684xxxx68,1)
-- Executing [0017684xxxx68@main:1] Gosub("SIP/pcphoner-0000000c", "sub_defcall,s,1(0017684xxxx68)") in new stack
-- Executing [s@sub_defcall:1] Set("SIP/pcphoner-0000000c", "__MDC_ALIAS_HOP=1") in new stack
-- Executing [s@sub_defcall:2] Set("SIP/pcphoner-0000000c", "__MDC_DIALCALLEENUM=0017684xxxx68") in new stack
-- Executing [s@sub_defcall:3] Set("SIP/pcphoner-0000000c", "__MDC_DIALCALLERNUM=15") in new stack
-- Executing [s@sub_defcall:4] GotoIf("SIP/pcphoner-0000000c", "1?nozap") in new stack
-- Goto (sub_defcall,s,8)
-- Executing [s@sub_defcall:8] Set("SIP/pcphoner-0000000c", "__MDC_DIALCALLERNAME=Christoph") in new stack
-- Executing [s@sub_defcall:9] Set("SIP/pcphoner-0000000c", "__MDC_DIALCHANNELNAME=pcphoner") in new stack
-- Executing [s@sub_defcall:10] Return("SIP/pcphoner-0000000c", "") in new stack
-- Executing [0017684xxxx68@main:2] Goto("SIP/pcphoner-0000000c", "mdc_distribute,0017684xxxx68,1") in new stack
-- Goto (mdc_distribute,0017684xxxx68,1)
-- Executing [0017684xxxx68@mdc_distribute:1] Set("SIP/pcphoner-0000000c", "MDC_INPREFIX_TRUNK=0") in new stack
-- Executing [0017684xxxx68@mdc_distribute:2] Verbose("SIP/pcphoner-0000000c", "1,remove inprefix: 0") in new stack
remove inprefix: 0
-- Executing [0017684xxxx68@mdc_distribute:3] Goto("SIP/pcphoner-0000000c", "mdc_outgoing-2,017684xxxx68,1") in new stack
-- Goto (mdc_outgoing-2,017684xxxx68,1)
-- Executing [017684xxxx68@mdc_outgoing-2:1] Gosub("SIP/pcphoner-0000000c", "sub_trunk-outgoing-2,017684xxxx68,1") in new stack
-- Executing [017684xxxx68@sub_trunk-outgoing-2:1] Gosub("SIP/pcphoner-0000000c", "sub_nat2int,s,1(MDC_CALLEE_NUM_INTERNAT,017684xxxx68,00,49,0,7021)") in new stack
-- Executing [s@sub_nat2int:1] Verbose("SIP/pcphoner-0000000c", "1,sub_nat2int:: variable: MDC_CALLEE_NUM_INTERNAT - number: 017684xxxx68 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7021") in new stack
sub_nat2int:: variable: MDC_CALLEE_NUM_INTERNAT - number: 017684xxxx68 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7021
-- Executing [s@sub_nat2int:2] GotoIf("SIP/pcphoner-0000000c", "0?s-emergency,1") in new stack
-- Executing [s@sub_nat2int:3] GotoIf("SIP/pcphoner-0000000c", "0?s-int,1") in new stack
-- Executing [s@sub_nat2int:4] GotoIf("SIP/pcphoner-0000000c", "0?s-int,1") in new stack
-- Executing [s@sub_nat2int:5] GotoIf("SIP/pcphoner-0000000c", " 0?s-convert,1") in new stack
-- Executing [s@sub_nat2int:6] GotoIf("SIP/pcphoner-0000000c", "0?s-int,1") in new stack
-- Executing [s@sub_nat2int:7] GotoIf("SIP/pcphoner-0000000c", "0?s-intshort,1") in new stack
-- Executing [s@sub_nat2int:8] GotoIf("SIP/pcphoner-0000000c", "0?s-natshort,1") in new stack
-- Executing [s@sub_nat2int:9] GotoIf("SIP/pcphoner-0000000c", "1?s-nat,1") in new stack
-- Goto (sub_nat2int,s-nat,1)
-- Executing [s-nat@sub_nat2int:1] Verbose("SIP/pcphoner-0000000c", "1,national") in new stack
national
-- Executing [s-nat@sub_nat2int:2] Set("SIP/pcphoner-0000000c", "MDC_CALLEE_NUM_INTERNAT=004917684xxxx68") in new stack
-- Executing [s-nat@sub_nat2int:3] Return("SIP/pcphoner-0000000c", "") in new stack
-- Executing [017684xxxx68@sub_trunk-outgoing-2:2] Gosub("SIP/pcphoner-0000000c", "sub_int2nat,s,1(MDC_CALLEE_NUM_NAT,004917684xxxx68,00,49,0,7021)") in new stack
-- Executing [s@sub_int2nat:1] Verbose("SIP/pcphoner-0000000c", "1,sub_int2nat:: variable: MDC_CALLEE_NUM_NAT - exten: 004917684xxxx68 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7021") in new stack
sub_int2nat:: variable: MDC_CALLEE_NUM_NAT - exten: 004917684xxxx68 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7021
-- Executing [s@sub_int2nat:2] GotoIf("SIP/pcphoner-0000000c", "0?s-emergency,1") in new stack
-- Executing [s@sub_int2nat:3] GotoIf("SIP/pcphoner-0000000c", "0?nat") in new stack
-- Executing [s@sub_int2nat:4] GotoIf("SIP/pcphoner-0000000c", "1?s-internat,1") in new stack
-- Goto (sub_int2nat,s-internat,1)
-- Executing [s-internat@sub_int2nat:1] Set("SIP/pcphoner-0000000c", "MDC_CALLEE_NUM_NAT=017684xxxx68") in new stack
-- Executing [s-internat@sub_int2nat:2] Return("SIP/pcphoner-0000000c", "") in new stack
-- Executing [017684xxxx68@sub_trunk-outgoing-2:3] Set("SIP/pcphoner-0000000c", "CALLERID(num)=070218868686") in new stack
-- Executing [017684xxxx68@sub_trunk-outgoing-2:4] UserEvent("SIP/pcphoner-0000000c", "ResolveCallerName,Strategy: default,Outbound: 1,Channel: SIP/pcphoner-0000000c") in new stack
-- Executing [017684xxxx68@sub_trunk-outgoing-2:5] Wait("SIP/pcphoner-0000000c", "0.25") in new stack
-- Executing [017684xxxx68@sub_trunk-outgoing-2:6] Verbose("SIP/pcphoner-0000000c", "1,MDC_RESOLVENAME_HITS = 0") in new stack
MDC_RESOLVENAME_HITS = 0
-- Executing [017684xxxx68@sub_trunk-outgoing-2:7] Verbose("SIP/pcphoner-0000000c", "1,MDC_DIALCALLEENAME = ") in new stack
MDC_DIALCALLEENAME =
-- Executing [017684xxxx68@sub_trunk-outgoing-2:8] Verbose("SIP/pcphoner-0000000c", "1,DT_Telefon - DTS_aus") in new stack
DT_Telefon - DTS_aus
-- Executing [017684xxxx68@sub_trunk-outgoing-2:9] Dial("SIP/pcphoner-0000000c", "SIP/solusy_01/017684xxxx68,,t") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Audio is at 19872
Adding codec 100004 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 177.121.45.65:5060:
INVITE sip:017684xxxx68@177.121.45.65 SIP/2.0
Via: SIP/2.0/UDP 192.168.150.45:5060;branch=z9hG4bK7c0305d2
Max-Forwards: 70
From: "Christoph" <sip:070218868686@192.168.150.45>;tag=as7ded26d9
To: <sip:017684xxxx68@177.121.45.65>
Contact: <sip:070218868686@192.168.150.45:5060>
Call-ID: 754c37d15c4f787235350cdc21a0c8cf@192.168.150.45:5060
CSeq: 102 INVITE
User-Agent: Asterisk PBX 11.6-cert2
Date: Mon, 29 Sep 2014 15:11:55 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Alert-Info: <http://www.notused.de>;info=alert-internal;x-line-id=0
Content-Type: application/sdp
Content-Length: 239
v=0
o=root 1836437741 1836437741 IN IP4 192.168.150.45
s=Asterisk PBX 11.6-cert2
c=IN IP4 192.168.150.45
t=0 0
m=audio 19872 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
-- Called SIP/solusy_01/017684xxxx68
<--- SIP read from UDP:177.121.45.65:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.150.45:5060;branch=z9hG4bK7c0305d2;received=237.155.23.219;rport=5070
From: "Christoph" <sip:070218868686@192.168.150.45>;tag=as7ded26d9
To: <sip:017684xxxx68@177.121.45.65>
Call-ID: 754c37d15c4f787235350cdc21a0c8cf@192.168.150.45:5060
CSeq: 102 INVITE
Server: Asterisk PBX 1.8.28.cert1-1_dtst
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:017684xxxx68@177.121.45.65:5060>
Content-Length: 0
<------------->
--- (12 headers 0 lines) ---
<--- SIP read from UDP:177.121.45.65:5060 --->
SIP/2.0 603 Declined
Via: SIP/2.0/UDP 192.168.150.45:5060;branch=z9hG4bK7c0305d2;received=237.155.23.219;rport=5070
From: "Christoph" <sip:070218868686@192.168.150.45>;tag=as7ded26d9
To: <sip:017684xxxx68@177.121.45.65>;tag=as2b449650
Call-ID: 754c37d15c4f787235350cdc21a0c8cf@192.168.150.45:5060
CSeq: 102 INVITE
Server: Asterisk PBX 1.8.28.cert1-1_dtst
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
-- Got SIP response 603 "Declined" back from 177.121.45.65:5060
Transmitting (no NAT) to 177.121.45.65:5060:
ACK sip:017684xxxx68@177.121.45.65 SIP/2.0
Via: SIP/2.0/UDP 192.168.150.45:5060;branch=z9hG4bK7c0305d2
Max-Forwards: 70
From: "Christoph" <sip:070218868686@192.168.150.45>;tag=as7ded26d9
To: <sip:017684xxxx68@177.121.45.65>;tag=as2b449650
Contact: <sip:070218868686@192.168.150.45:5060>
Call-ID: 754c37d15c4f787235350cdc21a0c8cf@192.168.150.45:5060
CSeq: 102 ACK
User-Agent: Asterisk PBX 11.6-cert2
Content-Length: 0
---
-- SIP/solusy_01-0000000d is busy
== Everyone is busy/congested at this time (1:1/0/0)
-- Executing [017684xxxx68@sub_trunk-outgoing-2:10] Return("SIP/pcphoner-0000000c", "") in new stack
-- Executing [017684xxxx68@mdc_outgoing-2:2] Hangup("SIP/pcphoner-0000000c", "21") in new stack
== Spawn extension (mdc_outgoing-2, 017684xxxx68, 2) exited non-zero on 'SIP/pcphoner-0000000c'
-- Executing [h@mdc_outgoing-2:1] Gosub("SIP/pcphoner-0000000c", "def_hangup,s,1(,BUSY,,CALL)") in new stack
-- Executing [s@def_hangup:1] NoOp("SIP/pcphoner-0000000c", ">>>def_hangup:: EXTEN: DIALSTATUS: BUSY QUEUESTATUS: REASON: CALL") in new stack
Really destroying SIP dialog '754c37d15c4f787235350cdc21a0c8cf@192.168.150.45:5060' Method: INVITE
mobydick*CLI> sip set debug off
SIP Debugging Disabled
mobydick*CLI>
cu
Christoph