Discussion:
freepbx xs4all outgoing
(te oud om op te antwoorden)
b***@gmail.com
2016-05-22 14:10:15 UTC
Permalink
Hoi,

Ik heb probleem om via freepbx uitgaand te bellen.

Bij mijn trunk setting heb ik dit staan

Outgoing:

Trunk Name xs4all-trunk

peer details:

fromuser=030xxxxxxxx
host=sip.xs4all.nl
insecure=very
outboundproxy=sip.xs4all.nl
secret=geheim
type=peer
username=030xxxxxxxx
allow=ulaw&g729
disallow=all
nat=yes


Incoming

USER Context: 030xxxxxxxx

User details:

context=from-trunk&from-trunk
fromuser=030xxxxxxxx
secret=geheim
type=user
insecure=very
nat=yes
canreinvite=no

Register String: 030xxxxxxxx:***@sip.xs4all.nl


Het inbellen gaat goed maar uitgaand gaat het fout ik krijg ingesprek toon en zie dit in de log:



[2016-05-22 16:08:33] VERBOSE[2958][C-00000043] pbx.c: == Spawn extension (from-sip-external, s, 11) exited non-zero on 'SIP/192.168.200.31-0000005b'
[2016-05-22 16:08:33] VERBOSE[2958][C-00000043] pbx.c: -- Executing [***@from-sip-external:1] Hangup("SIP/192.168.200.31-0000005b", "") in new stack
[2016-05-22 16:08:33] VERBOSE[2958][C-00000043] pbx.c: == Spawn extension (from-sip-external, h, 1) exited non-zero on 'SIP/192.168.200.31-0000005b'
[2016-05-22 16:08:33] VERBOSE[1924][C-00000045] netsock2.c: == Using SIP RTP TOS bits 184
[2016-05-22 16:08:33] VERBOSE[1924][C-00000045] netsock2.c: == Using SIP RTP CoS mark 5
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@from-internal:1] Macro("SIP/6001-0000005d", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:1] Set("SIP/6001-0000005d", "TOUCH_MONITOR=1463926113.93") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:2] Set("SIP/6001-0000005d", "AMPUSER=6001") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:3] GotoIf("SIP/6001-0000005d", "0?report") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:4] ExecIf("SIP/6001-0000005d", "1?Set(REALCALLERIDNUM=6001)") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:5] Set("SIP/6001-0000005d", "AMPUSER=6001") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:6] GotoIf("SIP/6001-0000005d", "0?limit") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:7] Set("SIP/6001-0000005d", "AMPUSERCIDNAME=Bas van den Dikkkenberg (bureau1)") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:8] GotoIf("SIP/6001-0000005d", "0?report") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:9] Set("SIP/6001-0000005d", "AMPUSERCID=6001") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:10] Set("SIP/6001-0000005d", "__DIAL_OPTIONS=Ttr") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:11] Set("SIP/6001-0000005d", "CALLERID(all)="Bas van den Dikkkenberg (bureau1)" <6001>") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:12] GotoIf("SIP/6001-0000005d", "0?limit") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:13] ExecIf("SIP/6001-0000005d", "1?Set(GROUP(concurrency_limit)=6001)") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:14] GotoIf("SIP/6001-0000005d", "1?continue") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Goto (macro-user-callerid,s,27)
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:27] Set("SIP/6001-0000005d", "CALLERID(number)=6001") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:28] Set("SIP/6001-0000005d", "CALLERID(name)=Bas van den Dikkkenberg (bureau1)") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:29] Set("SIP/6001-0000005d", "CDR(cnum)=6001") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:30] Set("SIP/6001-0000005d", "CDR(cnam)=Bas van den Dikkkenberg (bureau1)") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-user-callerid:31] Set("SIP/6001-0000005d", "CHANNEL(language)=en") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@from-internal:2] Gosub("SIP/6001-0000005d", "sub-record-check,s,1(out,06xxxxxxxx,never)") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:1] GotoIf("SIP/6001-0000005d", "0?initialized") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:2] Set("SIP/6001-0000005d", "__REC_STATUS=INITIALIZED") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:3] Set("SIP/6001-0000005d", "NOW=1463926113") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:4] Set("SIP/6001-0000005d", "__DAY=22") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:5] Set("SIP/6001-0000005d", "__MONTH=05") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:6] Set("SIP/6001-0000005d", "__YEAR=2016") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:7] Set("SIP/6001-0000005d", "__TIMESTR=20160522-160833") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:8] Set("SIP/6001-0000005d", "__FROMEXTEN=6001") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:9] Set("SIP/6001-0000005d", "__MON_FMT=wav") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:10] NoOp("SIP/6001-0000005d", "Recordings initialized") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:11] ExecIf("SIP/6001-0000005d", "0?Set(ARG3=dontcare)") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:12] Set("SIP/6001-0000005d", "REC_POLICY_MODE_SAVE=") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:13] ExecIf("SIP/6001-0000005d", "0?Set(REC_STATUS=NO)") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:14] GotoIf("SIP/6001-0000005d", "3?checkaction") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Goto (sub-record-check,s,17)
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:17] GotoIf("SIP/6001-0000005d", "1?sub-record-check,out,1") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Goto (sub-record-check,out,1)
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:1] NoOp("SIP/6001-0000005d", "Outbound Recording Check from 6001 to 06xxxxxxxx") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:2] Set("SIP/6001-0000005d", "RECMODE=dontcare") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:3] ExecIf("SIP/6001-0000005d", "1?Goto(routewins)") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Goto (sub-record-check,out,7)
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:7] Gosub("SIP/6001-0000005d", "recordcheck,1(never,out,06xxxxxxxx)") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:1] NoOp("SIP/6001-0000005d", "Starting recording check against never") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:2] Goto("SIP/6001-0000005d", "never") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Goto (sub-record-check,recordcheck,14)
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:14] Set("SIP/6001-0000005d", "__REC_POLICY_MODE=NEVER") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:15] Goto("SIP/6001-0000005d", "stoprec") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Goto (sub-record-check,recordcheck,25)
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:25] NoOp("SIP/6001-0000005d", "Stopping recording: out, 06xxxxxxxx") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:26] Set("SIP/6001-0000005d", "__REC_STATUS=STOPPED") in new stack
[2016-05-22 16:08:33] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:27] System("SIP/6001-0000005d", "/var/lib/asterisk/bin/stoprecording.php "SIP/6001-0000005d"") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:28] Return("SIP/6001-0000005d", "") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@sub-record-check:8] Return("SIP/6001-0000005d", "") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@from-internal:3] Set("SIP/6001-0000005d", "MOHCLASS=default") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@from-internal:4] ExecIf("SIP/6001-0000005d", "1?Set(TRUNKCIDOVERRIDE=030xxxxxxx)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@from-internal:5] Set("SIP/6001-0000005d", "_NODEST=") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@from-internal:6] Macro("SIP/6001-0000005d", "dialout-trunk,4,06xxxxxxxx,,off") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:1] Set("SIP/6001-0000005d", "DIAL_TRUNK=4") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:2] GosubIf("SIP/6001-0000005d", "0?sub-pincheck,s,1()") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:3] GotoIf("SIP/6001-0000005d", "0?disabletrunk,1") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:4] Set("SIP/6001-0000005d", "DIAL_NUMBER=06xxxxxxxx") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:5] Set("SIP/6001-0000005d", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:6] Set("SIP/6001-0000005d", "OUTBOUND_GROUP=OUT_4") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:7] GotoIf("SIP/6001-0000005d", "1?nomax") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Goto (macro-dialout-trunk,s,9)
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:9] GotoIf("SIP/6001-0000005d", "0?skipoutcid") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:10] Set("SIP/6001-0000005d", "DIAL_TRUNK_OPTIONS=Tt") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:11] Macro("SIP/6001-0000005d", "outbound-callerid,4") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:1] ExecIf("SIP/6001-0000005d", "0?Set(CALLERPRES(name-pres)=)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:2] ExecIf("SIP/6001-0000005d", "0?Set(CALLERPRES(num-pres)=)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:3] ExecIf("SIP/6001-0000005d", "0?Set(REALCALLERIDNUM=6001)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:4] GotoIf("SIP/6001-0000005d", "1?normcid") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Goto (macro-outbound-callerid,s,7)
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:7] Set("SIP/6001-0000005d", "USEROUTCID=Bas van den Dikkkenberg") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:8] Set("SIP/6001-0000005d", "EMERGENCYCID=") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:9] Set("SIP/6001-0000005d", "TRUNKOUTCID=030xxxxxxx") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:10] GotoIf("SIP/6001-0000005d", "1?trunkcid") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Goto (macro-outbound-callerid,s,15)
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:15] ExecIf("SIP/6001-0000005d", "1?Set(CALLERID(all)=030xxxxxxx)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:16] ExecIf("SIP/6001-0000005d", "1?Set(CALLERID(all)=Bas van den Dikkkenberg)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:17] ExecIf("SIP/6001-0000005d", "1?Set(CALLERID(all)=030xxxxxxx)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:18] ExecIf("SIP/6001-0000005d", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:19] ExecIf("SIP/6001-0000005d", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:20] Set("SIP/6001-0000005d", "CDR(outbound_cnum)=030xxxxxxx") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-outbound-callerid:21] Set("SIP/6001-0000005d", "CDR(outbound_cnam)=") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:12] GosubIf("SIP/6001-0000005d", "0?sub-flp-4,s,1()") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:13] Set("SIP/6001-0000005d", "OUTNUM=06xxxxxxxx") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:14] Set("SIP/6001-0000005d", "custom=SIP/xs4all-trunk") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:15] ExecIf("SIP/6001-0000005d", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:16] ExecIf("SIP/6001-0000005d", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:17] Macro("SIP/6001-0000005d", "dialout-trunk-predial-hook,") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/6001-0000005d", "") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:18] GotoIf("SIP/6001-0000005d", "0?bypass,1") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:19] ExecIf("SIP/6001-0000005d", "1?Set(CONNECTEDLINE(num,i)=06xxxxxxxx)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:20] ExecIf("SIP/6001-0000005d", "1?Set(CONNECTEDLINE(name,i)=CID:030xxxxxxx)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:21] ExecIf("SIP/6001-0000005d", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)030xxxxxxx)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:22] GotoIf("SIP/6001-0000005d", "0?customtrunk") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:23] Dial("SIP/6001-0000005d", "SIP/xs4all-trunk/06xxxxxxxx,300,Tt") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] netsock2.c: == Using SIP RTP TOS bits 184
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] netsock2.c: == Using SIP RTP CoS mark 5
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] app_dial.c: -- Called SIP/xs4all-trunk/06xxxxxxxx
[2016-05-22 16:08:36] WARNING[1924][C-00000045] chan_sip.c: Received response: "Forbidden" from '<sip:***@192.168.200.31>;tag=as4bb9e4f5'
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:24] NoOp("SIP/6001-0000005d", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:25] GotoIf("SIP/6001-0000005d", "0?continue,1:s-CHANUNAVAIL,1") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [s-***@macro-dialout-trunk:1] Set("SIP/6001-0000005d", "RC=21") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [s-***@macro-dialout-trunk:2] Goto("SIP/6001-0000005d", "21,1") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Goto (macro-dialout-trunk,21,1)
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:1] Goto("SIP/6001-0000005d", "continue,1") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Goto (macro-dialout-trunk,continue,1)
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:1] NoOp("SIP/6001-0000005d", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-dialout-trunk:2] ExecIf("SIP/6001-0000005d", "1?Set(CALLERID(number)=6001)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@from-internal:7] Macro("SIP/6001-0000005d", "outisbusy,") in new stack
[2016-05-22 16:08:36] WARNING[2963][C-00000045] app_macro.c: No such context 'macro-outisbusy' for macro 'outisbusy'. Was called by ***@from-internal
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@from-internal:8] Congestion("SIP/6001-0000005d", "20") in new stack
[2016-05-22 16:08:36] WARNING[2963][C-00000045] channel.c: Prodding channel 'SIP/6001-0000005d' failed
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: == Spawn extension (from-internal, 06xxxxxxxx, 8) exited non-zero on 'SIP/6001-0000005d'
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@from-internal:1] Macro("SIP/6001-0000005d", "hangupcall") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-hangupcall:1] ExecIf("SIP/6001-0000005d", "0?Set(CDR(recordingfile)=.wav)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-hangupcall:2] GotoIf("SIP/6001-0000005d", "1?theend") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Goto (macro-hangupcall,s,4)
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-hangupcall:4] ExecIf("SIP/6001-0000005d", "0?Set(CDR(recordingfile)=)") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: -- Executing [***@macro-hangupcall:5] Hangup("SIP/6001-0000005d", "") in new stack
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] app_macro.c: == Spawn extension (macro-hangupcall, s, 5) exited non-zero on 'SIP/6001-0000005d' in macro 'hangupcall'
[2016-05-22 16:08:36] VERBOSE[2963][C-00000045] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/6001-0000005d'


Iemand een idee wat ik fout doe ?
Johnny Doe
2016-05-24 17:08:26 UTC
Permalink
Post by b***@gmail.com
[2016-05-22 16:08:36] WARNING[1924][C-00000045] chan_sip.c: Received
response: "Forbidden" from
Staat er in FreePBX wel een extern IP ingesteld? Die foutmelding doet het
erop lijken alsof je interne IP in de Contact-URI van het SIP-request
staat.
Post by b***@gmail.com
"Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and
HANGUPCAUSE = 21") in new stack
Hangupcause 21 = Call rejected. Kan me indenken dat dat is vanwege het
interne IP op het publieke web.


Guido

Loading...