FreePBX | Register | Issues | Wiki | Portal | Support

Trunk to Trunk CLI


(Ray Roberts) #1

Hello
I have FREEBPX12 running with a SIP trunk provider, all working great however i have another Samsung Officeserv PABX that I’m busy phasing out. in the meantime i have trunked the two systems together, currently the Samsung can make outbound calls using the FreePBX. but my problem is the CLD shown has to be set on the FREEPBX trunk or outbound route. i need the Samsung to control its own outbound CID. I have also tried using ext on the freepbx and peer trunk on the samsung, but still no luck. all my calls get the outbound route CID. Please help.


#2

Is the tie-line trunk using the from-internal context?


(Ray Roberts) #3

Hi Dicko

Thanks for your reply. yes i have set from-internal context, i have a elastix system setup the exact same way and works. i seems that the system is ignoring internal context. Unless i’m missing another feature set somewhere?


#4

Use the forum, post a log of a bad call


(Ray Roberts) #5

Hi, Please see below. the cli that is meant to be sent is 0328150447 instead i’m getting 0328150400, which is the outbound route CID.
I do see: Executing [0832878657@from-internal:5] ExecIf(“SIP/Samsung-0000011a”, “1?Set(TRUNKCIDOVERRIDE=<0328150400>)”) in new stack,
Im not forcing trunk or route CID anywhere, all is set to use “ALLOW ANY CID”

[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:1] Macro(“SIP/Samsung-0000011a”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:1] Set(“SIP/Samsung-0000011a”, “TOUCH_MONITOR=1500217884.1913”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:2] Set(“SIP/Samsung-0000011a”, “AMPUSER=0328150447”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:3] GotoIf(“SIP/Samsung-0000011a”, “0?report”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:4] ExecIf(“SIP/Samsung-0000011a”, “1?Set(REALCALLERIDNUM=0328150447)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:5] Set(“SIP/Samsung-0000011a”, “AMPUSER=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/Samsung-0000011a”, “0?limit”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:7] Set(“SIP/Samsung-0000011a”, “AMPUSERCIDNAME=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:8] GotoIf(“SIP/Samsung-0000011a”, “1?report”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (macro-user-callerid,s,16)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:16] GotoIf(“SIP/Samsung-0000011a”, “1?continue”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (macro-user-callerid,s,30)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:30] Set(“SIP/Samsung-0000011a”, “CALLERID(number)=0328150447”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:31] Set(“SIP/Samsung-0000011a”, “CALLERID(name)=0328150447”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:32] Set(“SIP/Samsung-0000011a”, “CDR(cnum)=0328150447”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:33] Set(“SIP/Samsung-0000011a”, “CDR(cnam)=0328150447”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:34] Set(“SIP/Samsung-0000011a”, “CHANNEL(language)=en”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:2] Gosub(“SIP/Samsung-0000011a”, “sub-record-check,s,1(out,0832878657,yes)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:1] GotoIf(“SIP/Samsung-0000011a”, “0?initialized”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:2] Set(“SIP/Samsung-0000011a”, “__REC_STATUS=INITIALIZED”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:3] Set(“SIP/Samsung-0000011a”, “NOW=1500217884”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:4] Set(“SIP/Samsung-0000011a”, “__DAY=16”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:5] Set(“SIP/Samsung-0000011a”, “__MONTH=07”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:6] Set(“SIP/Samsung-0000011a”, “__YEAR=2017”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:7] Set(“SIP/Samsung-0000011a”, “__TIMESTR=20170716-171124”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:8] Set(“SIP/Samsung-0000011a”, “__FROMEXTEN=0328150447”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:9] Set(“SIP/Samsung-0000011a”, “__MON_FMT=wav”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:10] NoOp(“SIP/Samsung-0000011a”, “Recordings initialized”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:11] ExecIf(“SIP/Samsung-0000011a”, “0?Set(ARG3=dontcare)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:12] Set(“SIP/Samsung-0000011a”, “REC_POLICY_MODE_SAVE=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:13] ExecIf(“SIP/Samsung-0000011a”, “0?Set(REC_STATUS=NO)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:14] GotoIf(“SIP/Samsung-0000011a”, “3?checkaction”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (sub-record-check,s,17)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:17] GotoIf(“SIP/Samsung-0000011a”, “1?sub-record-check,out,1”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (sub-record-check,out,1)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [out@sub-record-check:1] NoOp(“SIP/Samsung-0000011a”, “Outbound Recording Check from 0328150447 to 0832878657”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [out@sub-record-check:2] Set(“SIP/Samsung-0000011a”, “RECMODE=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [out@sub-record-check:3] ExecIf(“SIP/Samsung-0000011a”, “1?Goto(routewins)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (sub-record-check,out,7)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [out@sub-record-check:7] Gosub(“SIP/Samsung-0000011a”, “recordcheck,1(yes,out,0832878657)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:1] NoOp(“SIP/Samsung-0000011a”, “Starting recording check against yes”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:2] Goto(“SIP/Samsung-0000011a”, “yes”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (sub-record-check,recordcheck,9)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:9] ExecIf(“SIP/Samsung-0000011a”, “0?Return()”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:10] Set(“SIP/Samsung-0000011a”, “__REC_POLICY_MODE=YES”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:11] Goto(“SIP/Samsung-0000011a”, “startrec”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (sub-record-check,recordcheck,16)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:16] NoOp(“SIP/Samsung-0000011a”, “Starting recording: out, 0832878657”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:17] Set(“SIP/Samsung-0000011a”, “AUDIOHOOK_INHERIT(MixMonitor)=yes”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:18] Set(“SIP/Samsung-0000011a”, “__CALLFILENAME=out-0832878657-0328150447-20170716-171124-1500217884.1913”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:19] MixMonitor(“SIP/Samsung-0000011a”, “2017/07/16/out-0832878657-0328150447-20170716-171124-1500217884.1913.wav,ai(LOCAL_MIXMON_ID),”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:20] Set(“SIP/Samsung-0000011a”, “__MIXMON_ID=0x7f05580052a0”) in new stack
[2017-07-16 17:11:24] VERBOSE[43476][C-000003c4] app_mixmonitor.c: == Begin MixMonitor Recording SIP/Samsung-0000011a
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:21] Set(“SIP/Samsung-0000011a”, “__RECORD_ID=SIP/Samsung-0000011a”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:22] Set(“SIP/Samsung-0000011a”, “__REC_STATUS=RECORDING”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:23] Set(“SIP/Samsung-0000011a”, “CDR(recordingfile)=out-0832878657-0328150447-20170716-171124-1500217884.1913.wav”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:24] Return(“SIP/Samsung-0000011a”, “”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [out@sub-record-check:8] Return(“SIP/Samsung-0000011a”, “”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:3] ExecIf(“SIP/Samsung-0000011a”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:4] Set(“SIP/Samsung-0000011a”, “MOHCLASS=default”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:5] ExecIf(“SIP/Samsung-0000011a”, “1?Set(TRUNKCIDOVERRIDE=<0328150400>)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:6] Set(“SIP/Samsung-0000011a”, “_NODEST=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:7] Macro(“SIP/Samsung-0000011a”, “dialout-trunk,3,0832878657,off”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/Samsung-0000011a”, “DIAL_TRUNK=3”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/Samsung-0000011a”, “0?sub-pincheck,s,1()”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/Samsung-0000011a”, “0?disabletrunk,1”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/Samsung-0000011a”, “DIAL_NUMBER=0832878657”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/Samsung-0000011a”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/Samsung-0000011a”, “OUTBOUND_GROUP=OUT_3”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/Samsung-0000011a”, “0?nomax”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/Samsung-0000011a”, “0?chanfull”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/Samsung-0000011a”, “0?skipoutcid”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/Samsung-0000011a”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/Samsung-0000011a”, “outbound-callerid,3”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/Samsung-0000011a”, “0?Set(CALLERPRES()=)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/Samsung-0000011a”, “0?Set(REALCALLERIDNUM=0328150447)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/Samsung-0000011a”, “1?normcid”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (macro-outbound-callerid,s,6)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:6] Set(“SIP/Samsung-0000011a”, “USEROUTCID=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/Samsung-0000011a”, “EMERGENCYCID=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/Samsung-0000011a”, “TRUNKOUTCID=<27310019800>”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/Samsung-0000011a”, “1?trunkcid”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (macro-outbound-callerid,s,14)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/Samsung-0000011a”, “1?Set(CALLERID(all)=<27310019800>)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/Samsung-0000011a”, “0?Set(CALLERID(all)=)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/Samsung-0000011a”, “1?Set(CALLERID(all)=<0328150400>)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/Samsung-0000011a”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:18] Set(“SIP/Samsung-0000011a”, “CDR(outbound_cnum)=0328150400”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:19] Set(“SIP/Samsung-0000011a”, “CDR(outbound_cnam)=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/Samsung-0000011a”, “0?sub-flp-3,s,1()”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/Samsung-0000011a”, “OUTNUM=0832878657”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/Samsung-0000011a”, “custom=SIP/SAFRICLOUD”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/Samsung-0000011a”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/Samsung-0000011a”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:17] Macro(“SIP/Samsung-0000011a”, “dialout-trunk-predial-hook,”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/Samsung-0000011a”, “”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/Samsung-0000011a”, “0?bypass,1”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/Samsung-0000011a”, “0?Set(CONNECTEDLINE(num,i)=0832878657)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/Samsung-0000011a”, “0?Set(CONNECTEDLINE(name,i)=CID:0328150400)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/Samsung-0000011a”, “0?customtrunk”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:22] Dial(“SIP/Samsung-0000011a”, “SIP/SAFRICLOUD/0832878657,300,Tt”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] netsock2.c: == Using SIP RTP TOS bits 184
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] netsock2.c: == Using SIP RTP CoS mark 5
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] app_dial.c: – Called SIP/SAFRICLOUD/0832878657
[2017-07-16 17:11:25] VERBOSE[43475][C-000003c4] app_dial.c: – SIP/SAFRICLOUD-0000011b is making progress passing it to SIP/Samsung-0000011a
[2017-07-16 17:11:32] VERBOSE[43475][C-000003c4] app_dial.c: – SIP/SAFRICLOUD-0000011b answered SIP/Samsung-0000011a
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: – Executing [h@macro-dialout-trunk:1] Macro(“SIP/Samsung-0000011a”, “hangupcall,”) in new stack
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-hangupcall:1] ExecIf(“SIP/Samsung-0000011a”, “0?Set(CDR(recordingfile)=out-0832878657-0328150447-20170716-171124-1500217884.1913.wav)”) in new stack
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-hangupcall:2] GotoIf(“SIP/Samsung-0000011a”, “1?theend”) in new stack
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: – Goto (macro-hangupcall,s,4)
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-hangupcall:4] Hangup(“SIP/Samsung-0000011a”, “”) in new stack
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/Samsung-0000011a’ in macro ‘hangupcall’
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/Samsung-0000011a’
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘SIP/Samsung-0000011a’ in macro ‘dialout-trunk’
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: == Spawn extension (from-internal, 0832878657, 7) exited non-zero on ‘SIP/Samsung-0000011a’
[2017-07-16 17:11:35] VERBOSE[43476][C-000003c4] app_mixmonitor.c: == MixMonitor close filestream (mixed)
[2017-07-16 17:11:35] VERBOSE[43476][C-000003c4] app_mixmonitor.c: == End MixMonitor Recording SIP/Samsung-0000011a


(Ray Roberts) #6

Hi Dicko

I managed to fix the problem
I changed my context from-internal to context from-sip.

Thanks for the help anyway.

EDIT:
Sorry seems the Samsung was playing games and failing over to a different SIP local sip trunk. Feeling quite silly now. any other advise you can think of?


#7

As I said, no log, no advise available.


(Ray Roberts) #8

Im not sure what other log you refer to, but below again is my asterisk log for a call with wrong CID.

[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:1] Macro(“SIP/Samsung-0000011a”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:1] Set(“SIP/Samsung-0000011a”, “TOUCH_MONITOR=1500217884.1913”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:2] Set(“SIP/Samsung-0000011a”, “AMPUSER=0328150447”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:3] GotoIf(“SIP/Samsung-0000011a”, “0?report”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:4] ExecIf(“SIP/Samsung-0000011a”, “1?Set(REALCALLERIDNUM=0328150447)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:5] Set(“SIP/Samsung-0000011a”, “AMPUSER=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/Samsung-0000011a”, “0?limit”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:7] Set(“SIP/Samsung-0000011a”, “AMPUSERCIDNAME=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:8] GotoIf(“SIP/Samsung-0000011a”, “1?report”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (macro-user-callerid,s,16)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:16] GotoIf(“SIP/Samsung-0000011a”, “1?continue”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (macro-user-callerid,s,30)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:30] Set(“SIP/Samsung-0000011a”, “CALLERID(number)=0328150447”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:31] Set(“SIP/Samsung-0000011a”, “CALLERID(name)=0328150447”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:32] Set(“SIP/Samsung-0000011a”, “CDR(cnum)=0328150447”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:33] Set(“SIP/Samsung-0000011a”, “CDR(cnam)=0328150447”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-user-callerid:34] Set(“SIP/Samsung-0000011a”, “CHANNEL(language)=en”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:2] Gosub(“SIP/Samsung-0000011a”, “sub-record-check,s,1(out,0832878657,yes)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:1] GotoIf(“SIP/Samsung-0000011a”, “0?initialized”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:2] Set(“SIP/Samsung-0000011a”, “__REC_STATUS=INITIALIZED”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:3] Set(“SIP/Samsung-0000011a”, “NOW=1500217884”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:4] Set(“SIP/Samsung-0000011a”, “__DAY=16”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:5] Set(“SIP/Samsung-0000011a”, “__MONTH=07”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:6] Set(“SIP/Samsung-0000011a”, “__YEAR=2017”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:7] Set(“SIP/Samsung-0000011a”, “__TIMESTR=20170716-171124”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:8] Set(“SIP/Samsung-0000011a”, “__FROMEXTEN=0328150447”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:9] Set(“SIP/Samsung-0000011a”, “__MON_FMT=wav”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:10] NoOp(“SIP/Samsung-0000011a”, “Recordings initialized”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:11] ExecIf(“SIP/Samsung-0000011a”, “0?Set(ARG3=dontcare)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:12] Set(“SIP/Samsung-0000011a”, “REC_POLICY_MODE_SAVE=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:13] ExecIf(“SIP/Samsung-0000011a”, “0?Set(REC_STATUS=NO)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:14] GotoIf(“SIP/Samsung-0000011a”, “3?checkaction”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (sub-record-check,s,17)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@sub-record-check:17] GotoIf(“SIP/Samsung-0000011a”, “1?sub-record-check,out,1”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (sub-record-check,out,1)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [out@sub-record-check:1] NoOp(“SIP/Samsung-0000011a”, “Outbound Recording Check from 0328150447 to 0832878657”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [out@sub-record-check:2] Set(“SIP/Samsung-0000011a”, “RECMODE=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [out@sub-record-check:3] ExecIf(“SIP/Samsung-0000011a”, “1?Goto(routewins)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (sub-record-check,out,7)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [out@sub-record-check:7] Gosub(“SIP/Samsung-0000011a”, “recordcheck,1(yes,out,0832878657)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:1] NoOp(“SIP/Samsung-0000011a”, “Starting recording check against yes”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:2] Goto(“SIP/Samsung-0000011a”, “yes”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (sub-record-check,recordcheck,9)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:9] ExecIf(“SIP/Samsung-0000011a”, “0?Return()”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:10] Set(“SIP/Samsung-0000011a”, “__REC_POLICY_MODE=YES”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:11] Goto(“SIP/Samsung-0000011a”, “startrec”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (sub-record-check,recordcheck,16)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:16] NoOp(“SIP/Samsung-0000011a”, “Starting recording: out, 0832878657”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:17] Set(“SIP/Samsung-0000011a”, “AUDIOHOOK_INHERIT(MixMonitor)=yes”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:18] Set(“SIP/Samsung-0000011a”, “__CALLFILENAME=out-0832878657-0328150447-20170716-171124-1500217884.1913”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:19] MixMonitor(“SIP/Samsung-0000011a”, “2017/07/16/out-0832878657-0328150447-20170716-171124-1500217884.1913.wav,ai(LOCAL_MIXMON_ID),”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:20] Set(“SIP/Samsung-0000011a”, “__MIXMON_ID=0x7f05580052a0”) in new stack
[2017-07-16 17:11:24] VERBOSE[43476][C-000003c4] app_mixmonitor.c: == Begin MixMonitor Recording SIP/Samsung-0000011a
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:21] Set(“SIP/Samsung-0000011a”, “__RECORD_ID=SIP/Samsung-0000011a”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:22] Set(“SIP/Samsung-0000011a”, “__REC_STATUS=RECORDING”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:23] Set(“SIP/Samsung-0000011a”, “CDR(recordingfile)=out-0832878657-0328150447-20170716-171124-1500217884.1913.wav”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [recordcheck@sub-record-check:24] Return(“SIP/Samsung-0000011a”, “”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [out@sub-record-check:8] Return(“SIP/Samsung-0000011a”, “”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:3] ExecIf(“SIP/Samsung-0000011a”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:4] Set(“SIP/Samsung-0000011a”, “MOHCLASS=default”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:5] ExecIf(“SIP/Samsung-0000011a”, “1?Set(TRUNKCIDOVERRIDE=<0328150400>)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:6] Set(“SIP/Samsung-0000011a”, “_NODEST=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [0832878657@from-internal:7] Macro(“SIP/Samsung-0000011a”, “dialout-trunk,3,0832878657,off”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/Samsung-0000011a”, “DIAL_TRUNK=3”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/Samsung-0000011a”, “0?sub-pincheck,s,1()”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/Samsung-0000011a”, “0?disabletrunk,1”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/Samsung-0000011a”, “DIAL_NUMBER=0832878657”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/Samsung-0000011a”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/Samsung-0000011a”, “OUTBOUND_GROUP=OUT_3”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/Samsung-0000011a”, “0?nomax”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/Samsung-0000011a”, “0?chanfull”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/Samsung-0000011a”, “0?skipoutcid”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/Samsung-0000011a”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/Samsung-0000011a”, “outbound-callerid,3”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/Samsung-0000011a”, “0?Set(CALLERPRES()=)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/Samsung-0000011a”, “0?Set(REALCALLERIDNUM=0328150447)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/Samsung-0000011a”, “1?normcid”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (macro-outbound-callerid,s,6)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:6] Set(“SIP/Samsung-0000011a”, “USEROUTCID=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/Samsung-0000011a”, “EMERGENCYCID=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/Samsung-0000011a”, “TRUNKOUTCID=<27310019800>”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/Samsung-0000011a”, “1?trunkcid”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Goto (macro-outbound-callerid,s,14)
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/Samsung-0000011a”, “1?Set(CALLERID(all)=<27310019800>)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/Samsung-0000011a”, “0?Set(CALLERID(all)=)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/Samsung-0000011a”, “1?Set(CALLERID(all)=<0328150400>)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/Samsung-0000011a”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:18] Set(“SIP/Samsung-0000011a”, “CDR(outbound_cnum)=0328150400”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-outbound-callerid:19] Set(“SIP/Samsung-0000011a”, “CDR(outbound_cnam)=”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/Samsung-0000011a”, “0?sub-flp-3,s,1()”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/Samsung-0000011a”, “OUTNUM=0832878657”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/Samsung-0000011a”, “custom=SIP/SAFRICLOUD”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/Samsung-0000011a”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/Samsung-0000011a”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:17] Macro(“SIP/Samsung-0000011a”, “dialout-trunk-predial-hook,”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/Samsung-0000011a”, “”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/Samsung-0000011a”, “0?bypass,1”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/Samsung-0000011a”, “0?Set(CONNECTEDLINE(num,i)=0832878657)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/Samsung-0000011a”, “0?Set(CONNECTEDLINE(name,i)=CID:0328150400)”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/Samsung-0000011a”, “0?customtrunk”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-dialout-trunk:22] Dial(“SIP/Samsung-0000011a”, “SIP/SAFRICLOUD/0832878657,300,Tt”) in new stack
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] netsock2.c: == Using SIP RTP TOS bits 184
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] netsock2.c: == Using SIP RTP CoS mark 5
[2017-07-16 17:11:24] VERBOSE[43475][C-000003c4] app_dial.c: – Called SIP/SAFRICLOUD/0832878657
[2017-07-16 17:11:25] VERBOSE[43475][C-000003c4] app_dial.c: – SIP/SAFRICLOUD-0000011b is making progress passing it to SIP/Samsung-0000011a
[2017-07-16 17:11:32] VERBOSE[43475][C-000003c4] app_dial.c: – SIP/SAFRICLOUD-0000011b answered SIP/Samsung-0000011a
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: – Executing [h@macro-dialout-trunk:1] Macro(“SIP/Samsung-0000011a”, “hangupcall,”) in new stack
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-hangupcall:1] ExecIf(“SIP/Samsung-0000011a”, “0?Set(CDR(recordingfile)=out-0832878657-0328150447-20170716-171124-1500217884.1913.wav)”) in new stack
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-hangupcall:2] GotoIf(“SIP/Samsung-0000011a”, “1?theend”) in new stack
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: – Goto (macro-hangupcall,s,4)
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: – Executing [s@macro-hangupcall:4] Hangup(“SIP/Samsung-0000011a”, “”) in new stack
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/Samsung-0000011a’ in macro ‘hangupcall’
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/Samsung-0000011a’
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘SIP/Samsung-0000011a’ in macro ‘dialout-trunk’
[2017-07-16 17:11:35] VERBOSE[43475][C-000003c4] pbx.c: == Spawn extension (from-internal, 0832878657, 7) exited non-zero on ‘SIP/Samsung-0000011a’
[2017-07-16 17:11:35] VERBOSE[43476][C-000003c4] app_mixmonitor.c: == MixMonitor close filestream (mixed)
[2017-07-16 17:11:35] VERBOSE[43476][C-000003c4] app_mixmonitor.c: == End MixMonitor Recording SIP/Samsung-0000011a


#9

says it all your samsung is misconfigured