FreePBX + Ext FXO FXS + Ext FWT Configuration

Image

FreePBX running on top of VirtualBox.
I am using 2nd hand Planet VIP-480 for ext FXO and FXS. The reason I am using it because that the cheapest I found.
It has some bugs like:
-LAN pc can’t resolve name but can ping dns
-sometime the text I input for some settings will be disappear when I logout
Its old device, can’t complain for that

For FWT (Fixed Wireless Terminal), it can call to 4 different GSM provider.
I don’t know yet whether it can concurrently call 4 GSM or one at a time.
But for incoming call, only one can be set. You can choose which SIM will be active.
Its smart enough to select outgoing call to which SIM card or PSTN
Its good for Customer Service or Marketing department

Still need to figure out Incoming Call setting. Outgoing call so far ok.

Let’s start with the configuration
FreePBX:
Connectivity/Trunks
28-Aug 08.41.05

Connectivity/Outbound Routes
Image

Connectivity/Inbound Routes
Need to retest

Planet VIP-480

Image

Image

FreePBX Server Installation

Download FreePBX iso from https://www.freepbx.org/downloads/
I am using Stable 64bit version.
I install on top of VirtualBox, even-though it will complain but still can run.
Tried on VMware Workstation, but stuck in the middle.
Haven’t tried in ESXi
Open VirtualBox and create vm with Linux/Other Linux (64bit), boot from ISO
13-Aug 13.56.23

13-Aug 13.57.46

13-Aug 13.58.45

13-Aug 13.59.07

13-Aug 13.59.49

13-Aug 14.00.12

13-Aug 14.00.38

go to https://10.0.10.83
L: admin
P:

-Disable unneeded Commercial Module
click Admin/Module Admin
click Module name that has License Commercial
click Disable
repeat with other Commercial module

-Upgrade module
click Admin/Module Admin
click Check On-line
expand Module that said Online Upgrade Available and click Download and Upgrade
click Process and click Confirm
click Apply Config
check in Reports/System Status

-Change Asterisk Manager Password
by default the password is amp111
go to Settings/Advanced Settings
go to Asterisk Manager/Asterisk Manager Password
change it

-Add some extension
click Applications/Extensions
choose Device: Generic CHAIN SIP Device
click Submit

User Extension
NOTE: if possible avoid extension that start with 1 to avoid conflict with
a. Emergency Number
b. Call US number

-to add SIP Trunk
DID Logic
click Connectivity/Trunks
click Add SIP (chan_sip) Trunk
Trunk Name: DIDLogic
Outbound CallerID: <12345678901>
CID Options: Allow Any CID
Maximum Channels: 2
Trunk Name: DIDLogic
PEER Details:
host=sip.sg.didlogic.net
user=12345
username=12345
fromuser=12345
authname=12345
secret=password
insecure=port,invite
type=friend
qualify=yes
disallow=all
allow=ulaw
Register String: 12345:password@sip.sg.didlogic.net

Hoiio
click Connectivity/Trunks
click Add SIP (chan_sip) Trunk
Trunk Name: Hoiio
Outbound CallerID: <12345678901>
CID Options: Allow Any CID
Maximum Channels: 2
Trunk Name: Hoiio
PEER Details:
host=sip1.hoiio.com
username=sip1234567
secret=password
type=peer
USER Context: 12345678901
USER Details:
host=sip1.hoiio.com
type=peer
context=from-trunk
qualify=yes
insecure=invite
Register String: sip1234567:password@sip1.hoiio.com

-To add Inbound Route
click Connectivity/Inbound Routes
click Add Incoming Route
DIDLogic
Description: DIDLogic
DID Number: 12345678901
Set Destination: Extensions 100 Operator

Hoiio
Description: Hoiio
Set Destination: Extensions 100 Operator

click All DIDs (toggle sort), make sure DIDLogic first then Hoiio

-To add Outbound Route
DIDLogic
Route Name: DIDLogic
Dial Patterns that will use this Route
+1XXXXXXXXXX
Trunk Sequence for Matched Routes: 0 DIDLogic

Hoiio
Route Name: Hoiio
Dial Patterns that will use this Route
+852XXXXXXXX
Trunk Sequence for Matched Routes: 0 Hoiio

-disable Allow SIP Guests
click Settings/Asterisk SIP Settings/Chan SIP
Allow SIP Guests: No

-To reset web admin password
login as root to FreePBX
open browser and go to https://10.0.10.83/admin
press Control+A to highlight long string on the bottom left of the page
copy that. for example the string is bvjp7l3emseqgo83bbp6dl2m23
# amportal a u bvjp7l3emseqgo83bbp6dl2m23
refresh https://10.0.10.83/admin
You will be automatically login to the web
reset admin password by clicking at Admin/Administrator/Admin
type new password
click Submit Changes

-To delete all incoming route
# source /etc/amportal.conf
# echo truncate incoming | mysql -u$AMPDBUSER -p$AMPDBPASS $AMPDBNAME

-to enable debug
# asterisk -vvvvvr
localhost*CLI> sip set debug on
-to disable debug
localhost*CLI> sip set debug off
-to debug certain peer only
localhost*CLI> sip show peers
it shows all your peers, then
localhost*CLI> sip set debug peer (peer_name)

# tcpdump -i eth0 -n -s 0 port 5060 -vvv | grep -B1 “INVITE sip”

-to check FreePBX version
# amportal a ma list | grep framework
framework 12.0.74 Enabled

PROBLEM

I have 2 SIP Trunks (DIDLogic and Hoiio)

PROBLEM:
1. inbound call number from DIDLogic shown Anonymous. I want the caller number
2. I can’t make inbound route call work in Hoiio if I set DID Number.
It said “the number you trying to call is not in service”
If I set DID Number empty and set order of Hoiio to last, then I can receive the call

SETTINGS:
https://nbctcp.wordpress.com/2015/08/17/freepbx-server-installation/

SW INFO:
-FreePBX 12.0.74 under VirtualBox

thanks

DEBUG:
This DIDLogic debug
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
— Executing [14159172008@from-trunk-sip-DIDLogic:1] Set(“SIP/DIDLogic-0000023a”, “GROUP()=OUT_2”) in new stack
— Executing [14159172008@from-trunk-sip-DIDLogic:2] Goto(“SIP/DIDLogic-0000023a”, “from-trunk,14159172008,1”) in new stack
— Goto (from-trunk,14159172008,1)
— Executing [14159172008@from-trunk:1] Set(“SIP/DIDLogic-0000023a”, “__FROM_DID=14159172008”) in new stack
— Executing [14159172008@from-trunk:2] Gosub(“SIP/DIDLogic-0000023a”, “sub-record-check,s,1(in,14159172008,dontcare)”) in new stack
— Executing [s@sub-record-check:1] GotoIf(“SIP/DIDLogic-0000023a”, “0?initialized”) in new stack
— Executing [s@sub-record-check:2] Set(“SIP/DIDLogic-0000023a”, “__REC_STATUS=INITIALIZED”) in new stack
— Executing [s@sub-record-check:3] Set(“SIP/DIDLogic-0000023a”, “NOW=1439764902”) in new stack
— Executing [s@sub-record-check:4] Set(“SIP/DIDLogic-0000023a”, “__DAY=17”) in new stack
— Executing [s@sub-record-check:5] Set(“SIP/DIDLogic-0000023a”, “__MONTH=08”) in new stack
— Executing [s@sub-record-check:6] Set(“SIP/DIDLogic-0000023a”, “__YEAR=2015”) in new stack
— Executing [s@sub-record-check:7] Set(“SIP/DIDLogic-0000023a”, “__TIMESTR=20150817-054142”) in new stack
— Executing [s@sub-record-check:8] Set(“SIP/DIDLogic-0000023a”, “__FROMEXTEN=unknown”) in new stack
— Executing [s@sub-record-check:9] Set(“SIP/DIDLogic-0000023a”, “__MON_FMT=wav”) in new stack
— Executing [s@sub-record-check:10] NoOp(“SIP/DIDLogic-0000023a”, “Recordings initialized”) in new stack
— Executing [s@sub-record-check:11] ExecIf(“SIP/DIDLogic-0000023a”, “0?Set(ARG3=dontcare)”) in new stack
— Executing [s@sub-record-check:12] Set(“SIP/DIDLogic-0000023a”, “REC_POLICY_MODE_SAVE=”) in new stack
— Executing [s@sub-record-check:13] ExecIf(“SIP/DIDLogic-0000023a”, “0?Set(REC_STATUS=NO)”) in new stack
— Executing [s@sub-record-check:14] GotoIf(“SIP/DIDLogic-0000023a”, “2?checkaction”) in new stack
— Goto (sub-record-check,s,17)
— Executing [s@sub-record-check:17] GotoIf(“SIP/DIDLogic-0000023a”, “1?sub-record-check,in,1”) in new stack
— Goto (sub-record-check,in,1)
— Executing [in@sub-record-check:1] NoOp(“SIP/DIDLogic-0000023a”, “Inbound Recording Check to 14159172008”) in new stack
— Executing [in@sub-record-check:2] Set(“SIP/DIDLogic-0000023a”, “FROMEXTEN=unknown”) in new stack
— Executing [in@sub-record-check:3] ExecIf(“SIP/DIDLogic-0000023a”, “10?Set(FROMEXTEN=Restricted)”) in new stack
— Executing [in@sub-record-check:4] Gosub(“SIP/DIDLogic-0000023a”, “recordcheck,1(dontcare,in,14159172008)”) in new stack
— Executing [recordcheck@sub-record-check:1] NoOp(“SIP/DIDLogic-0000023a”, “Starting recording check against dontcare”) in new stack
— Executing [recordcheck@sub-record-check:2] Goto(“SIP/DIDLogic-0000023a”, “dontcare”) in new stack
— Goto (sub-record-check,recordcheck,3)
— Executing [recordcheck@sub-record-check:3] Return(“SIP/DIDLogic-0000023a”, “”) in new stack
— Executing [in@sub-record-check:5] Return(“SIP/DIDLogic-0000023a”, “”) in new stack
— Executing [14159172008@from-trunk:3] Gosub(“SIP/DIDLogic-0000023a”, “app-blacklist-check,s,1()”) in new stack
— Executing [s@app-blacklist-check:1] GotoIf(“SIP/DIDLogic-0000023a”, “0?blacklisted”) in new stack
— Executing [s@app-blacklist-check:2] Set(“SIP/DIDLogic-0000023a”, “CALLED_BLACKLIST=1”) in new stack
— Executing [s@app-blacklist-check:3] Return(“SIP/DIDLogic-0000023a”, “”) in new stack
— Executing [14159172008@from-trunk:4] Set(“SIP/DIDLogic-0000023a”, “CDR(did)=14159172008”) in new stack
— Executing [14159172008@from-trunk:5] ExecIf(“SIP/DIDLogic-0000023a”, “0 ?Set(CALLERID(name)=Restricted)”) in new stack
— Executing [14159172008@from-trunk:6] Set(“SIP/DIDLogic-0000023a”, “CHANNEL(musicclass)=default”) in new stack
— Executing [14159172008@from-trunk:7] Set(“SIP/DIDLogic-0000023a”, “__MOHCLASS=default”) in new stack
[2015-08-17 05:41:42] WARNING[19766][C-00000247]: func_channel.c:538 func_channel_read: Unknown or unavailable item requested: ‘reversecharge’
— Executing [14159172008@from-trunk:8] GotoIf(“SIP/DIDLogic-0000023a”, “0?macro-hangupcall”) in new stack
— Executing [14159172008@from-trunk:9] Set(“SIP/DIDLogic-0000023a”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
— Executing [14159172008@from-trunk:10] Set(“SIP/DIDLogic-0000023a”, “CALLERPRES()=allowed_not_screened”) in new stack
— Executing [14159172008@from-trunk:11] Goto(“SIP/DIDLogic-0000023a”, “from-did-direct,100,1”) in new stack
— Goto (from-did-direct,100,1)
— Executing [100@from-did-direct:1] GotoIf(“SIP/DIDLogic-0000023a”, “1?ext-local,100,1”) in new stack
— Goto (ext-local,100,1)
— Executing [100@ext-local:1] Set(“SIP/DIDLogic-0000023a”, “__RINGTIMER=15”) in new stack
— Executing [100@ext-local:2] Macro(“SIP/DIDLogic-0000023a”, “exten-vm,novm,100,0,0,0”) in new stack
— Executing [s@macro-exten-vm:1] Macro(“SIP/DIDLogic-0000023a”, “user-callerid,”) in new stack
— Executing [s@macro-user-callerid:1] Set(“SIP/DIDLogic-0000023a”, “TOUCH_MONITOR=1439764902.570”) in new stack
— Executing [s@macro-user-callerid:2] Set(“SIP/DIDLogic-0000023a”, “AMPUSER=Restricted”) in new stack
— Executing [s@macro-user-callerid:3] GotoIf(“SIP/DIDLogic-0000023a”, “0?report”) in new stack
— Executing [s@macro-user-callerid:4] ExecIf(“SIP/DIDLogic-0000023a”, “1?Set(REALCALLERIDNUM=Restricted)”) in new stack
— Executing [s@macro-user-callerid:5] Set(“SIP/DIDLogic-0000023a”, “AMPUSER=”) in new stack
— Executing [s@macro-user-callerid:6] GotoIf(“SIP/DIDLogic-0000023a”, “0?limit”) in new stack
— Executing [s@macro-user-callerid:7] Set(“SIP/DIDLogic-0000023a”, “AMPUSERCIDNAME=”) in new stack
— Executing [s@macro-user-callerid:8] GotoIf(“SIP/DIDLogic-0000023a”, “1?report”) in new stack
— Goto (macro-user-callerid,s,16)
— Executing [s@macro-user-callerid:16] GotoIf(“SIP/DIDLogic-0000023a”, “0?continue”) in new stack
— Executing [s@macro-user-callerid:17] ExecIf(“SIP/DIDLogic-0000023a”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
— Executing [s@macro-user-callerid:18] Set(“SIP/DIDLogic-0000023a”, “__TTL=64”) in new stack
— Executing [s@macro-user-callerid:19] GotoIf(“SIP/DIDLogic-0000023a”, “1?continue”) in new stack
— Goto (macro-user-callerid,s,30)
— Executing [s@macro-user-callerid:30] Set(“SIP/DIDLogic-0000023a”, “CALLERID(number)=Restricted”) in new stack
— Executing [s@macro-user-callerid:31] Set(“SIP/DIDLogic-0000023a”, “CALLERID(name)=Anonymous”) in new stack
— Executing [s@macro-user-callerid:32] Set(“SIP/DIDLogic-0000023a”, “CDR(cnum)=Restricted”) in new stack
— Executing [s@macro-user-callerid:33] Set(“SIP/DIDLogic-0000023a”, “CDR(cnam)=Anonymous”) in new stack
— Executing [s@macro-user-callerid:34] Set(“SIP/DIDLogic-0000023a”, “CHANNEL(language)=en”) in new stack
— Executing [s@macro-exten-vm:2] Set(“SIP/DIDLogic-0000023a”, “RingGroupMethod=none”) in new stack
— Executing [s@macro-exten-vm:3] Set(“SIP/DIDLogic-0000023a”, “__EXTTOCALL=100”) in new stack
— Executing [s@macro-exten-vm:4] Set(“SIP/DIDLogic-0000023a”, “__PICKUPMARK=100”) in new stack
— Executing [s@macro-exten-vm:5] Set(“SIP/DIDLogic-0000023a”, “RT=”) in new stack
— Executing [s@macro-exten-vm:6] ExecIf(“SIP/DIDLogic-0000023a”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
— Executing [s@macro-exten-vm:7] ExecIf(“SIP/DIDLogic-0000023a”, “0?MacroExit()”) in new stack
— Executing [s@macro-exten-vm:8] Gosub(“SIP/DIDLogic-0000023a”, “sub-record-check,s,1(exten,100,dontcare)”) in new stack
— Executing [s@sub-record-check:1] GotoIf(“SIP/DIDLogic-0000023a”, “10?initialized”) in new stack
— Goto (sub-record-check,s,10)
— Executing [s@sub-record-check:10] NoOp(“SIP/DIDLogic-0000023a”, “Recordings initialized”) in new stack
— Executing [s@sub-record-check:11] ExecIf(“SIP/DIDLogic-0000023a”, “0?Set(ARG3=dontcare)”) in new stack
— Executing [s@sub-record-check:12] Set(“SIP/DIDLogic-0000023a”, “REC_POLICY_MODE_SAVE=”) in new stack
— Executing [s@sub-record-check:13] ExecIf(“SIP/DIDLogic-0000023a”, “0?Set(REC_STATUS=NO)”) in new stack
— Executing [s@sub-record-check:14] GotoIf(“SIP/DIDLogic-0000023a”, “5?checkaction”) in new stack
— Goto (sub-record-check,s,17)
— Executing [s@sub-record-check:17] GotoIf(“SIP/DIDLogic-0000023a”, “1?sub-record-check,exten,1”) in new stack
— Goto (sub-record-check,exten,1)
— Executing [exten@sub-record-check:1] NoOp(“SIP/DIDLogic-0000023a”, “Exten Recording Check between Restricted and 100”) in new stack
— Executing [exten@sub-record-check:2] Set(“SIP/DIDLogic-0000023a”, “CALLTYPE=external”) in new stack
— Executing [exten@sub-record-check:3] ExecIf(“SIP/DIDLogic-0000023a”, “0?Set(CALLTYPE=)”) in new stack
— Executing [exten@sub-record-check:4] Set(“SIP/DIDLogic-0000023a”, “CALLEE=dontcare”) in new stack
— Executing [exten@sub-record-check:5] ExecIf(“SIP/DIDLogic-0000023a”, “0?Set(CALLEE=dontcare)”) in new stack
— Executing [exten@sub-record-check:6] GotoIf(“SIP/DIDLogic-0000023a”, “1?callee”) in new stack
— Goto (sub-record-check,exten,11)
— Executing [exten@sub-record-check:11] Gosub(“SIP/DIDLogic-0000023a”, “recordcheck,1(dontcare,external,100)”) in new stack
— Executing [recordcheck@sub-record-check:1] NoOp(“SIP/DIDLogic-0000023a”, “Starting recording check against dontcare”) in new stack
— Executing [recordcheck@sub-record-check:2] Goto(“SIP/DIDLogic-0000023a”, “dontcare”) in new stack
— Goto (sub-record-check,recordcheck,3)
— Executing [recordcheck@sub-record-check:3] Return(“SIP/DIDLogic-0000023a”, “”) in new stack
— Executing [exten@sub-record-check:12] Return(“SIP/DIDLogic-0000023a”, “”) in new stack
— Executing [s@macro-exten-vm:9] GotoIf(“SIP/DIDLogic-0000023a”, “1?macrodial”) in new stack
— Goto (macro-exten-vm,s,15)
— Executing [s@macro-exten-vm:15] GosubIf(“SIP/DIDLogic-0000023a”, “0?clrheader,1()”) in new stack
— Executing [s@macro-exten-vm:16] Macro(“SIP/DIDLogic-0000023a”, “dial-one,,Ttr,100”) in new stack
— Executing [s@macro-dial-one:1] Set(“SIP/DIDLogic-0000023a”, “DEXTEN=100”) in new stack
— Executing [s@macro-dial-one:2] Set(“SIP/DIDLogic-0000023a”, “DIALSTATUS_CW=”) in new stack
— Executing [s@macro-dial-one:3] GosubIf(“SIP/DIDLogic-0000023a”, “0?screen,1()”) in new stack
— Executing [s@macro-dial-one:4] GosubIf(“SIP/DIDLogic-0000023a”, “0?cf,1()”) in new stack
— Executing [s@macro-dial-one:5] GotoIf(“SIP/DIDLogic-0000023a”, “1?skip1”) in new stack
— Goto (macro-dial-one,s,8)
— Executing [s@macro-dial-one:8] GotoIf(“SIP/DIDLogic-0000023a”, “0?nodial”) in new stack
— Executing [s@macro-dial-one:9] GotoIf(“SIP/DIDLogic-0000023a”, “0?continue”) in new stack
— Executing [s@macro-dial-one:10] Set(“SIP/DIDLogic-0000023a”, “EXTHASCW=ENABLED”) in new stack
— Executing [s@macro-dial-one:11] GotoIf(“SIP/DIDLogic-0000023a”, “0?next1:cwinusebusy”) in new stack
— Goto (macro-dial-one,s,23)
— Executing [s@macro-dial-one:23] GotoIf(“SIP/DIDLogic-0000023a”, “1?next3:continue”) in new stack
— Goto (macro-dial-one,s,24)
— Executing [s@macro-dial-one:24] ExecIf(“SIP/DIDLogic-0000023a”, “0?Set(DIALSTATUS_CW=BUSY)”) in new stack
— Executing [s@macro-dial-one:25] GotoIf(“SIP/DIDLogic-0000023a”, “0?nodial”) in new stack
— Executing [s@macro-dial-one:26] GosubIf(“SIP/DIDLogic-0000023a”, “1?dstring,1():dlocal,1()”) in new stack
— Executing [dstring@macro-dial-one:1] Set(“SIP/DIDLogic-0000023a”, “DSTRING=”) in new stack
— Executing [dstring@macro-dial-one:2] Set(“SIP/DIDLogic-0000023a”, “DEVICES=100”) in new stack
— Executing [dstring@macro-dial-one:3] ExecIf(“SIP/DIDLogic-0000023a”, “0?Return()”) in new stack
— Executing [dstring@macro-dial-one:4] ExecIf(“SIP/DIDLogic-0000023a”, “0?Set(DEVICES=00)”) in new stack
— Executing [dstring@macro-dial-one:5] Set(“SIP/DIDLogic-0000023a”, “LOOPCNT=1”) in new stack
— Executing [dstring@macro-dial-one:6] Set(“SIP/DIDLogic-0000023a”, “ITER=1”) in new stack
— Executing [dstring@macro-dial-one:7] Set(“SIP/DIDLogic-0000023a”, “THISDIAL=SIP/100”) in new stack
— Executing [dstring@macro-dial-one:8] GosubIf(“SIP/DIDLogic-0000023a”, “1?zap2dahdi,1()”) in new stack
— Executing [zap2dahdi@macro-dial-one:1] ExecIf(“SIP/DIDLogic-0000023a”, “0?Return()”) in new stack
— Executing [zap2dahdi@macro-dial-one:2] Set(“SIP/DIDLogic-0000023a”, “NEWDIAL=”) in new stack
— Executing [zap2dahdi@macro-dial-one:3] Set(“SIP/DIDLogic-0000023a”, “LOOPCNT2=1”) in new stack
— Executing [zap2dahdi@macro-dial-one:4] Set(“SIP/DIDLogic-0000023a”, “ITER2=1”) in new stack
— Executing [zap2dahdi@macro-dial-one:5] Set(“SIP/DIDLogic-0000023a”, “THISPART2=SIP/100”) in new stack
— Executing [zap2dahdi@macro-dial-one:6] ExecIf(“SIP/DIDLogic-0000023a”, “0?Set(THISPART2=DAHDI/100)”) in new stack
— Executing [zap2dahdi@macro-dial-one:7] Set(“SIP/DIDLogic-0000023a”, “NEWDIAL=SIP/100&”) in new stack
— Executing [zap2dahdi@macro-dial-one:8] Set(“SIP/DIDLogic-0000023a”, “ITER2=2”) in new stack
— Executing [zap2dahdi@macro-dial-one:9] GotoIf(“SIP/DIDLogic-0000023a”, “0?begin2”) in new stack
— Executing [zap2dahdi@macro-dial-one:10] Set(“SIP/DIDLogic-0000023a”, “THISDIAL=SIP/100”) in new stack
— Executing [zap2dahdi@macro-dial-one:11] Return(“SIP/DIDLogic-0000023a”, “”) in new stack
— Executing [dstring@macro-dial-one:9] GotoIf(“SIP/DIDLogic-0000023a”, “1?doset”) in new stack
— Goto (macro-dial-one,dstring,13)
— Executing [dstring@macro-dial-one:13] Set(“SIP/DIDLogic-0000023a”, “DSTRING=SIP/100&”) in new stack
— Executing [dstring@macro-dial-one:14] Set(“SIP/DIDLogic-0000023a”, “ITER=2”) in new stack
— Executing [dstring@macro-dial-one:15] GotoIf(“SIP/DIDLogic-0000023a”, “0?begin”) in new stack
— Executing [dstring@macro-dial-one:16] ExecIf(“SIP/DIDLogic-0000023a”, “0?Return()”) in new stack
— Executing [dstring@macro-dial-one:17] Set(“SIP/DIDLogic-0000023a”, “DSTRING=SIP/100”) in new stack
— Executing [dstring@macro-dial-one:18] Return(“SIP/DIDLogic-0000023a”, “”) in new stack
— Executing [s@macro-dial-one:27] GotoIf(“SIP/DIDLogic-0000023a”, “0?nodial”) in new stack
— Executing [s@macro-dial-one:28] GotoIf(“SIP/DIDLogic-0000023a”, “0?skiptrace”) in new stack
— Executing [s@macro-dial-one:29] GosubIf(“SIP/DIDLogic-0000023a”, “0?ctset,1():ctclear,1()”) in new stack
— Executing [ctclear@macro-dial-one:1] NoOp(“SIP/DIDLogic-0000023a”, “Deleting: CALLTRACE/100 85230794461”) in new stack
— Executing [ctclear@macro-dial-one:2] Return(“SIP/DIDLogic-0000023a”, “”) in new stack
— Executing [s@macro-dial-one:30] Set(“SIP/DIDLogic-0000023a”, “D_OPTIONS=Ttr”) in new stack
— Executing [s@macro-dial-one:31] ExecIf(“SIP/DIDLogic-0000023a”, “0?SIPAddHeader(Alert-Info: )”) in new stack
— Executing [s@macro-dial-one:32] ExecIf(“SIP/DIDLogic-0000023a”, “0?SIPAddHeader()”) in new stack
— Executing [s@macro-dial-one:33] ExecIf(“SIP/DIDLogic-0000023a”, “1?Set(CHANNEL(musicclass)=default)”) in new stack
— Executing [s@macro-dial-one:34] GosubIf(“SIP/DIDLogic-0000023a”, “0?qwait,1()”) in new stack
— Executing [s@macro-dial-one:35] Set(“SIP/DIDLogic-0000023a”, “__CWIGNORE=”) in new stack
— Executing [s@macro-dial-one:36] Set(“SIP/DIDLogic-0000023a”, “__KEEPCID=TRUE”) in new stack
— Executing [s@macro-dial-one:37] GotoIf(“SIP/DIDLogic-0000023a”, “0?usegoto,1”) in new stack
— Executing [s@macro-dial-one:38] GotoIf(“SIP/DIDLogic-0000023a”, “1?godial”) in new stack
— Goto (macro-dial-one,s,43)
— Executing [s@macro-dial-one:43] Macro(“SIP/DIDLogic-0000023a”, “dialout-one-predial-hook,”) in new stack
— Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“SIP/DIDLogic-0000023a”, “”) in new stack
— Executing [s@macro-dial-one:44] Dial(“SIP/DIDLogic-0000023a”, “SIP/100,,Ttr”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
— Called SIP/100
— SIP/100-0000023b is ringing
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
— Executing [9007972592195995@from-sip-external:1] NoOp(“SIP/139.0.190.24-0000023c”, “Received incoming SIP connection from unknown peer to 9007972592195995”) in new stack
— Executing [9007972592195995@from-sip-external:2] Set(“SIP/139.0.190.24-0000023c”, “DID=9007972592195995”) in new stack
— Executing [9007972592195995@from-sip-external:3] Goto(“SIP/139.0.190.24-0000023c”, “s,1”) in new stack
— Goto (from-sip-external,s,1)
— Executing [s@from-sip-external:1] GotoIf(“SIP/139.0.190.24-0000023c”, “0?checklang:noanonymous”) in new stack
— Goto (from-sip-external,s,5)
— Executing [s@from-sip-external:5] Set(“SIP/139.0.190.24-0000023c”, “TIMEOUT(absolute)=15”) in new stack
— Channel will hangup at 2015-08-17 05:42:01.450 WIB.
— Executing [s@from-sip-external:6] Log(“SIP/139.0.190.24-0000023c”, “WARNING,”Rejecting unknown SIP connection from 142.54.189.154″”) in new stack
[2015-08-17 05:41:46] WARNING[19768][C-00000248]: Ext. s:6 @ from-sip-external: “Rejecting unknown SIP connection from 142.54.189.154”
— Executing [s@from-sip-external:7] Answer(“SIP/139.0.190.24-0000023c”, “”) in new stack
— Executing [s@from-sip-external:8] Wait(“SIP/139.0.190.24-0000023c”, “2”) in new stack
== Spawn extension (from-sip-external, s, 8) exited non-zero on ‘SIP/139.0.190.24-0000023c’
— Executing [h@from-sip-external:1] Hangup(“SIP/139.0.190.24-0000023c”, “”) in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/139.0.190.24-0000023c’
== Spawn extension (macro-dial-one, s, 44) exited non-zero on ‘SIP/DIDLogic-0000023a’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 16) exited non-zero on ‘SIP/DIDLogic-0000023a’ in macro ‘exten-vm’
== Spawn extension (ext-local, 100, 2) exited non-zero on ‘SIP/DIDLogic-0000023a’
— Executing [h@ext-local:1] Macro(“SIP/DIDLogic-0000023a”, “hangupcall,”) in new stack
— Executing [s@macro-hangupcall:1] ExecIf(“SIP/DIDLogic-0000023a”, “0?Set(CDR(recordingfile)=.wav)”) in new stack
— Executing [s@macro-hangupcall:2] GotoIf(“SIP/DIDLogic-0000023a”, “1?theend”) in new stack
— Goto (macro-hangupcall,s,4)
— Executing [s@macro-hangupcall:4] Hangup(“SIP/DIDLogic-0000023a”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/DIDLogic-0000023a’ in macro ‘hangupcall’
== Spawn extension (ext-local, h, 1) exited non-zero on ‘SIP/DIDLogic-0000023a’

CLI> sip set debug on
Reliably Transmitting (NAT) to 54.251.255.196:5060:
OPTIONS sip:sip1.hoiio.com SIP/2.0
Via: SIP/2.0/UDP 10.0.10.83:5060;branch=z9hG4bK30646acc;rport
Max-Forwards: 70
From: “Unknown” <sip:Unknown@10.0.10.83>;tag=as12a0e2d8
To: <sip:sip1.hoiio.com>
Contact: <sip:Unknown@10.0.10.83:5060>
Call-ID: 03f4761e75d24ca71a7f73f969ba7084@10.0.10.83:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.74(11.19.0)
Date: Sun, 16 Aug 2015 22:43:18 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

<— SIP read from UDP:54.251.255.196:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.10.83:5060;branch=z9hG4bK30646acc;rport=5060;received=139.0.190.24
From: “Unknown” <sip:Unknown@10.0.10.83>;tag=as12a0e2d8
To: <sip:sip1.hoiio.com>;tag=868db4f6cffb55076ecda8456d16c298.c14d
Call-ID: 03f4761e75d24ca71a7f73f969ba7084@10.0.10.83:5060
CSeq: 102 OPTIONS
Server: kamailio (4.2.1 (x86_64/linux))
Content-Length: 0

<————->
— (8 headers 0 lines) —
Really destroying SIP dialog ’03f4761e75d24ca71a7f73f969ba7084@10.0.10.83:5060′ Method: OPTIONS
Reliably Transmitting (NAT) to 192.170.159.194:5060:
OPTIONS sip:sip.sg.didlogic.net SIP/2.0
Via: SIP/2.0/UDP 10.0.10.83:5060;branch=z9hG4bK67141686;rport
Max-Forwards: 70
From: “Unknown” <sip:08843@10.0.10.83>;tag=as67b0ecd0
To: <sip:sip.sg.didlogic.net>
Contact: <sip:08843@10.0.10.83:5060>
Call-ID: 2a55dd5805aeac2136b1db4661381ef5@10.0.10.83:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.74(11.19.0)
Date: Sun, 16 Aug 2015 22:43:18 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

<— SIP read from UDP:192.170.159.194:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.10.83:5060;branch=z9hG4bK67141686;rport=5060;received=139.0.190.24
From: “Unknown” <sip:08843@10.0.10.83>;tag=as67b0ecd0
To: <sip:sip.sg.didlogic.net>;tag=b27e1a1d33761e85846fc98f5f3a7e58.402f
Call-ID: 2a55dd5805aeac2136b1db4661381ef5@10.0.10.83:5060
CSeq: 102 OPTIONS
Content-Length: 0

<————->
— (7 headers 0 lines) —
Really destroying SIP dialog ‘2a55dd5805aeac2136b1db4661381ef5@10.0.10.83:5060’ Method: OPTIONS

<— SIP read from UDP:192.170.159.194:5060 —>
INVITE sip:14159172008@10.0.10.83:5060 SIP/2.0
Record-Route: <sip:192.170.159.194;lr=on;ftag=as5b94fb55;vst=AAAAAAEMCQEKcQUCBx4JeQkeHwIbHwEdCzM-;nat=yes>
Record-Route: <sip:207.198.125.133;lr=on;ftag=as5b94fb55;vsf=AAAAABMLHBoLBAwBFiQhXF9ZV1xWTV0fW1tYUF9aZDo1MDgw>
Via: SIP/2.0/UDP 192.170.159.194;branch=z9hG4bKc027.dc99fb14642b37584c92ad7c60656da4.0
Via: SIP/2.0/UDP 207.198.125.133;rport=5060;branch=z9hG4bKc027.8eaafe73ac00e89545c82ae87dc565a8.0
Via: SIP/2.0/UDP 192.170.152.170:5080;received=192.170.152.170;branch=z9hG4bK4d59a910;rport=5080
Max-Forwards: 68
From: Anonymous <sip:Restricted@207.198.125.133>;tag=as5b94fb55
To: 14159172008 <sip:14159172008@10.0.10.83>
Contact: <sip:Anonymous@192.170.152.170:5080>
Call-ID: 46608fc27bf8d5d32be1e8d21b82b619@192.170.152.170
CSeq: 102 INVITE
Date: Sun, 16 Aug 2015 22:43:15 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
X-CID: 1158153571_16032226@207.223.70.243
X-CallId:
Content-Type: application/sdp
Content-Length: 357
User-Agent: DIDLogic SBC

v=0
o=didlogic 1675557745 1675557745 IN IP4 192.170.152.170
s=DID Logic MGW
c=IN IP4 192.170.152.170
t=0 0
m=audio 14316 RTP/AVP 8 0 9 18 3 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<————->
— (20 headers 16 lines) —
Sending to 192.170.159.194:5060 (NAT)
Sending to 192.170.159.194:5060 (NAT)
Using INVITE request as basis request – 46608fc27bf8d5d32be1e8d21b82b619@192.170.152.170
Found peer ‘DIDLogic’ for ‘Restricted’ from 192.170.159.194:5060
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 9
Found RTP audio format 18
Found RTP audio format 3
Found RTP audio format 101
Found audio description format PCMA for ID 8
Found audio description format PCMU for ID 0
Found audio description format G722 for ID 9
Found audio description format G729 for ID 18
Found audio description format GSM for ID 3
Found audio description format telephone-event for ID 101
Capabilities: us – (ulaw), peer – audio=(gsm|ulaw|alaw|g729|g722)/video=(nothing)/text=(nothing), combined – (ulaw)
Non-codec capabilities (dtmf): us – 0x1 (telephone-event|), peer – 0x1 (telephone-event|), combined – 0x1 (telephone-event|)
Peer audio RTP is at port 192.170.152.170:14316
Looking for 14159172008 in from-trunk-sip-DIDLogic (domain 10.0.10.83)
list_route: hop: <sip:192.170.159.194;lr=on;ftag=as5b94fb55;vst=AAAAAAEMCQEKcQUCBx4JeQkeHwIbHwEdCzM-;nat=yes>
list_route: hop: <sip:207.198.125.133;lr=on;ftag=as5b94fb55;vsf=AAAAABMLHBoLBAwBFiQhXF9ZV1xWTV0fW1tYUF9aZDo1MDgw>

<— Transmitting (NAT) to 192.170.159.194:5060 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.170.159.194;branch=z9hG4bKc027.dc99fb14642b37584c92ad7c60656da4.0;received=192.170.159.194;rport=5060
Via: SIP/2.0/UDP 207.198.125.133;rport=5060;branch=z9hG4bKc027.8eaafe73ac00e89545c82ae87dc565a8.0
Via: SIP/2.0/UDP 192.170.152.170:5080;received=192.170.152.170;branch=z9hG4bK4d59a910;rport=5080
Record-Route: <sip:192.170.159.194;lr=on;ftag=as5b94fb55;vst=AAAAAAEMCQEKcQUCBx4JeQkeHwIbHwEdCzM-;nat=yes>
Record-Route: <sip:207.198.125.133;lr=on;ftag=as5b94fb55;vsf=AAAAABMLHBoLBAwBFiQhXF9ZV1xWTV0fW1tYUF9aZDo1MDgw>
From: Anonymous <sip:Restricted@207.198.125.133>;tag=as5b94fb55
To: 14159172008 <sip:14159172008@10.0.10.83>
Call-ID: 46608fc27bf8d5d32be1e8d21b82b619@192.170.152.170
CSeq: 102 INVITE
Server: FPBX-12.0.74(11.19.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:14159172008@10.0.10.83:5060>
Content-Length: 0
<————>
— Executing [14159172008@from-trunk-sip-DIDLogic:1] Set(“SIP/DIDLogic-0000023f”, “GROUP()=OUT_2”) in new stack
— Executing [14159172008@from-trunk-sip-DIDLogic:2] Goto(“SIP/DIDLogic-0000023f”, “from-trunk,14159172008,1”) in new stack
— Goto (from-trunk,14159172008,1)
— Executing [14159172008@from-trunk:1] Set(“SIP/DIDLogic-0000023f”, “__FROM_DID=14159172008”) in new stack
— Executing [14159172008@from-trunk:2] Gosub(“SIP/DIDLogic-0000023f”, “sub-record-check,s,1(in,14159172008,dontcare)”) in new stack
— Executing [s@sub-record-check:1] GotoIf(“SIP/DIDLogic-0000023f”, “0?initialized”) in new stack
— Executing [s@sub-record-check:2] Set(“SIP/DIDLogic-0000023f”, “__REC_STATUS=INITIALIZED”) in new stack
— Executing [s@sub-record-check:3] Set(“SIP/DIDLogic-0000023f”, “NOW=1439764998”) in new stack
— Executing [s@sub-record-check:4] Set(“SIP/DIDLogic-0000023f”, “__DAY=17”) in new stack
— Executing [s@sub-record-check:5] Set(“SIP/DIDLogic-0000023f”, “__MONTH=08”) in new stack
— Executing [s@sub-record-check:6] Set(“SIP/DIDLogic-0000023f”, “__YEAR=2015”) in new stack
— Executing [s@sub-record-check:7] Set(“SIP/DIDLogic-0000023f”, “__TIMESTR=20150817-054318”) in new stack
— Executing [s@sub-record-check:8] Set(“SIP/DIDLogic-0000023f”, “__FROMEXTEN=unknown”) in new stack
— Executing [s@sub-record-check:9] Set(“SIP/DIDLogic-0000023f”, “__MON_FMT=wav”) in new stack
— Executing [s@sub-record-check:10] NoOp(“SIP/DIDLogic-0000023f”, “Recordings initialized”) in new stack
— Executing [s@sub-record-check:11] ExecIf(“SIP/DIDLogic-0000023f”, “0?Set(ARG3=dontcare)”) in new stack
— Executing [s@sub-record-check:12] Set(“SIP/DIDLogic-0000023f”, “REC_POLICY_MODE_SAVE=”) in new stack
— Executing [s@sub-record-check:13] ExecIf(“SIP/DIDLogic-0000023f”, “0?Set(REC_STATUS=NO)”) in new stack
— Executing [s@sub-record-check:14] GotoIf(“SIP/DIDLogic-0000023f”, “2?checkaction”) in new stack
— Goto (sub-record-check,s,17)
— Executing [s@sub-record-check:17] GotoIf(“SIP/DIDLogic-0000023f”, “1?sub-record-check,in,1”) in new stack
— Goto (sub-record-check,in,1)
— Executing [in@sub-record-check:1] NoOp(“SIP/DIDLogic-0000023f”, “Inbound Recording Check to 14159172008”) in new stack
— Executing [in@sub-record-check:2] Set(“SIP/DIDLogic-0000023f”, “FROMEXTEN=unknown”) in new stack
— Executing [in@sub-record-check:3] ExecIf(“SIP/DIDLogic-0000023f”, “10?Set(FROMEXTEN=Restricted)”) in new stack
— Executing [in@sub-record-check:4] Gosub(“SIP/DIDLogic-0000023f”, “recordcheck,1(dontcare,in,14159172008)”) in new stack
— Executing [recordcheck@sub-record-check:1] NoOp(“SIP/DIDLogic-0000023f”, “Starting recording check against dontcare”) in new stack
— Executing [recordcheck@sub-record-check:2] Goto(“SIP/DIDLogic-0000023f”, “dontcare”) in new stack
— Goto (sub-record-check,recordcheck,3)
— Executing [recordcheck@sub-record-check:3] Return(“SIP/DIDLogic-0000023f”, “”) in new stack
— Executing [in@sub-record-check:5] Return(“SIP/DIDLogic-0000023f”, “”) in new stack
— Executing [14159172008@from-trunk:3] Gosub(“SIP/DIDLogic-0000023f”, “app-blacklist-check,s,1()”) in new stack
— Executing [s@app-blacklist-check:1] GotoIf(“SIP/DIDLogic-0000023f”, “0?blacklisted”) in new stack
— Executing [s@app-blacklist-check:2] Set(“SIP/DIDLogic-0000023f”, “CALLED_BLACKLIST=1”) in new stack
— Executing [s@app-blacklist-check:3] Return(“SIP/DIDLogic-0000023f”, “”) in new stack
— Executing [14159172008@from-trunk:4] Set(“SIP/DIDLogic-0000023f”, “CDR(did)=14159172008”) in new stack
— Executing [14159172008@from-trunk:5] ExecIf(“SIP/DIDLogic-0000023f”, “0 ?Set(CALLERID(name)=Restricted)”) in new stack
— Executing [14159172008@from-trunk:6] Set(“SIP/DIDLogic-0000023f”, “CHANNEL(musicclass)=default”) in new stack
— Executing [14159172008@from-trunk:7] Set(“SIP/DIDLogic-0000023f”, “__MOHCLASS=default”) in new stack
[2015-08-17 05:43:18] WARNING[19828][C-0000024b]: func_channel.c:538 func_channel_read: Unknown or unavailable item requested: ‘reversecharge’
— Executing [14159172008@from-trunk:8] GotoIf(“SIP/DIDLogic-0000023f”, “0?macro-hangupcall”) in new stack
— Executing [14159172008@from-trunk:9] Set(“SIP/DIDLogic-0000023f”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
— Executing [14159172008@from-trunk:10] Set(“SIP/DIDLogic-0000023f”, “CALLERPRES()=allowed_not_screened”) in new stack
— Executing [14159172008@from-trunk:11] Goto(“SIP/DIDLogic-0000023f”, “from-did-direct,100,1”) in new stack
— Goto (from-did-direct,100,1)
— Executing [100@from-did-direct:1] GotoIf(“SIP/DIDLogic-0000023f”, “1?ext-local,100,1”) in new stack
— Goto (ext-local,100,1)
— Executing [100@ext-local:1] Set(“SIP/DIDLogic-0000023f”, “__RINGTIMER=15”) in new stack
— Executing [100@ext-local:2] Macro(“SIP/DIDLogic-0000023f”, “exten-vm,novm,100,0,0,0”) in new stack
— Executing [s@macro-exten-vm:1] Macro(“SIP/DIDLogic-0000023f”, “user-callerid,”) in new stack
— Executing [s@macro-user-callerid:1] Set(“SIP/DIDLogic-0000023f”, “TOUCH_MONITOR=1439764998.575”) in new stack
— Executing [s@macro-user-callerid:2] Set(“SIP/DIDLogic-0000023f”, “AMPUSER=Restricted”) in new stack
— Executing [s@macro-user-callerid:3] GotoIf(“SIP/DIDLogic-0000023f”, “0?report”) in new stack
— Executing [s@macro-user-callerid:4] ExecIf(“SIP/DIDLogic-0000023f”, “1?Set(REALCALLERIDNUM=Restricted)”) in new stack
— Executing [s@macro-user-callerid:5] Set(“SIP/DIDLogic-0000023f”, “AMPUSER=”) in new stack
— Executing [s@macro-user-callerid:6] GotoIf(“SIP/DIDLogic-0000023f”, “0?limit”) in new stack
— Executing [s@macro-user-callerid:7] Set(“SIP/DIDLogic-0000023f”, “AMPUSERCIDNAME=”) in new stack
— Executing [s@macro-user-callerid:8] GotoIf(“SIP/DIDLogic-0000023f”, “1?report”) in new stack
— Goto (macro-user-callerid,s,16)
— Executing [s@macro-user-callerid:16] GotoIf(“SIP/DIDLogic-0000023f”, “0?continue”) in new stack
— Executing [s@macro-user-callerid:17] ExecIf(“SIP/DIDLogic-0000023f”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
— Executing [s@macro-user-callerid:18] Set(“SIP/DIDLogic-0000023f”, “__TTL=64”) in new stack
— Executing [s@macro-user-callerid:19] GotoIf(“SIP/DIDLogic-0000023f”, “1?continue”) in new stack
— Goto (macro-user-callerid,s,30)
— Executing [s@macro-user-callerid:30] Set(“SIP/DIDLogic-0000023f”, “CALLERID(number)=Restricted”) in new stack
— Executing [s@macro-user-callerid:31] Set(“SIP/DIDLogic-0000023f”, “CALLERID(name)=Anonymous”) in new stack
— Executing [s@macro-user-callerid:32] Set(“SIP/DIDLogic-0000023f”, “CDR(cnum)=Restricted”) in new stack
— Executing [s@macro-user-callerid:33] Set(“SIP/DIDLogic-0000023f”, “CDR(cnam)=Anonymous”) in new stack
— Executing [s@macro-user-callerid:34] Set(“SIP/DIDLogic-0000023f”, “CHANNEL(language)=en”) in new stack
— Executing [s@macro-exten-vm:2] Set(“SIP/DIDLogic-0000023f”, “RingGroupMethod=none”) in new stack
— Executing [s@macro-exten-vm:3] Set(“SIP/DIDLogic-0000023f”, “__EXTTOCALL=100”) in new stack
— Executing [s@macro-exten-vm:4] Set(“SIP/DIDLogic-0000023f”, “__PICKUPMARK=100”) in new stack
— Executing [s@macro-exten-vm:5] Set(“SIP/DIDLogic-0000023f”, “RT=”) in new stack
— Executing [s@macro-exten-vm:6] ExecIf(“SIP/DIDLogic-0000023f”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
— Executing [s@macro-exten-vm:7] ExecIf(“SIP/DIDLogic-0000023f”, “0?MacroExit()”) in new stack
— Executing [s@macro-exten-vm:8] Gosub(“SIP/DIDLogic-0000023f”, “sub-record-check,s,1(exten,100,dontcare)”) in new stack
— Executing [s@sub-record-check:1] GotoIf(“SIP/DIDLogic-0000023f”, “10?initialized”) in new stack
— Goto (sub-record-check,s,10)
— Executing [s@sub-record-check:10] NoOp(“SIP/DIDLogic-0000023f”, “Recordings initialized”) in new stack
— Executing [s@sub-record-check:11] ExecIf(“SIP/DIDLogic-0000023f”, “0?Set(ARG3=dontcare)”) in new stack
— Executing [s@sub-record-check:12] Set(“SIP/DIDLogic-0000023f”, “REC_POLICY_MODE_SAVE=”) in new stack
— Executing [s@sub-record-check:13] ExecIf(“SIP/DIDLogic-0000023f”, “0?Set(REC_STATUS=NO)”) in new stack
— Executing [s@sub-record-check:14] GotoIf(“SIP/DIDLogic-0000023f”, “5?checkaction”) in new stack
— Goto (sub-record-check,s,17)
— Executing [s@sub-record-check:17] GotoIf(“SIP/DIDLogic-0000023f”, “1?sub-record-check,exten,1”) in new stack
— Goto (sub-record-check,exten,1)
— Executing [exten@sub-record-check:1] NoOp(“SIP/DIDLogic-0000023f”, “Exten Recording Check between Restricted and 100”) in new stack
— Executing [exten@sub-record-check:2] Set(“SIP/DIDLogic-0000023f”, “CALLTYPE=external”) in new stack
— Executing [exten@sub-record-check:3] ExecIf(“SIP/DIDLogic-0000023f”, “0?Set(CALLTYPE=)”) in new stack
— Executing [exten@sub-record-check:4] Set(“SIP/DIDLogic-0000023f”, “CALLEE=dontcare”) in new stack
— Executing [exten@sub-record-check:5] ExecIf(“SIP/DIDLogic-0000023f”, “0?Set(CALLEE=dontcare)”) in new stack
— Executing [exten@sub-record-check:6] GotoIf(“SIP/DIDLogic-0000023f”, “1?callee”) in new stack
— Goto (sub-record-check,exten,11)
— Executing [exten@sub-record-check:11] Gosub(“SIP/DIDLogic-0000023f”, “recordcheck,1(dontcare,external,100)”) in new stack
— Executing [recordcheck@sub-record-check:1] NoOp(“SIP/DIDLogic-0000023f”, “Starting recording check against dontcare”) in new stack
— Executing [recordcheck@sub-record-check:2] Goto(“SIP/DIDLogic-0000023f”, “dontcare”) in new stack
— Goto (sub-record-check,recordcheck,3)
— Executing [recordcheck@sub-record-check:3] Return(“SIP/DIDLogic-0000023f”, “”) in new stack
— Executing [exten@sub-record-check:12] Return(“SIP/DIDLogic-0000023f”, “”) in new stack
— Executing [s@macro-exten-vm:9] GotoIf(“SIP/DIDLogic-0000023f”, “1?macrodial”) in new stack
— Goto (macro-exten-vm,s,15)
— Executing [s@macro-exten-vm:15] GosubIf(“SIP/DIDLogic-0000023f”, “0?clrheader,1()”) in new stack
— Executing [s@macro-exten-vm:16] Macro(“SIP/DIDLogic-0000023f”, “dial-one,,Ttr,100”) in new stack
— Executing [s@macro-dial-one:1] Set(“SIP/DIDLogic-0000023f”, “DEXTEN=100”) in new stack
— Executing [s@macro-dial-one:2] Set(“SIP/DIDLogic-0000023f”, “DIALSTATUS_CW=”) in new stack
— Executing [s@macro-dial-one:3] GosubIf(“SIP/DIDLogic-0000023f”, “0?screen,1()”) in new stack
— Executing [s@macro-dial-one:4] GosubIf(“SIP/DIDLogic-0000023f”, “0?cf,1()”) in new stack
— Executing [s@macro-dial-one:5] GotoIf(“SIP/DIDLogic-0000023f”, “1?skip1”) in new stack
— Goto (macro-dial-one,s,8)
— Executing [s@macro-dial-one:8] GotoIf(“SIP/DIDLogic-0000023f”, “0?nodial”) in new stack
— Executing [s@macro-dial-one:9] GotoIf(“SIP/DIDLogic-0000023f”, “0?continue”) in new stack
— Executing [s@macro-dial-one:10] Set(“SIP/DIDLogic-0000023f”, “EXTHASCW=ENABLED”) in new stack
— Executing [s@macro-dial-one:11] GotoIf(“SIP/DIDLogic-0000023f”, “0?next1:cwinusebusy”) in new stack
— Goto (macro-dial-one,s,23)
— Executing [s@macro-dial-one:23] GotoIf(“SIP/DIDLogic-0000023f”, “1?next3:continue”) in new stack
— Goto (macro-dial-one,s,24)
— Executing [s@macro-dial-one:24] ExecIf(“SIP/DIDLogic-0000023f”, “0?Set(DIALSTATUS_CW=BUSY)”) in new stack
— Executing [s@macro-dial-one:25] GotoIf(“SIP/DIDLogic-0000023f”, “0?nodial”) in new stack
— Executing [s@macro-dial-one:26] GosubIf(“SIP/DIDLogic-0000023f”, “1?dstring,1():dlocal,1()”) in new stack
— Executing [dstring@macro-dial-one:1] Set(“SIP/DIDLogic-0000023f”, “DSTRING=”) in new stack
— Executing [dstring@macro-dial-one:2] Set(“SIP/DIDLogic-0000023f”, “DEVICES=100”) in new stack
— Executing [dstring@macro-dial-one:3] ExecIf(“SIP/DIDLogic-0000023f”, “0?Return()”) in new stack
— Executing [dstring@macro-dial-one:4] ExecIf(“SIP/DIDLogic-0000023f”, “0?Set(DEVICES=00)”) in new stack
— Executing [dstring@macro-dial-one:5] Set(“SIP/DIDLogic-0000023f”, “LOOPCNT=1”) in new stack
— Executing [dstring@macro-dial-one:6] Set(“SIP/DIDLogic-0000023f”, “ITER=1”) in new stack
— Executing [dstring@macro-dial-one:7] Set(“SIP/DIDLogic-0000023f”, “THISDIAL=SIP/100”) in new stack
— Executing [dstring@macro-dial-one:8] GosubIf(“SIP/DIDLogic-0000023f”, “1?zap2dahdi,1()”) in new stack
— Executing [zap2dahdi@macro-dial-one:1] ExecIf(“SIP/DIDLogic-0000023f”, “0?Return()”) in new stack
— Executing [zap2dahdi@macro-dial-one:2] Set(“SIP/DIDLogic-0000023f”, “NEWDIAL=”) in new stack
— Executing [zap2dahdi@macro-dial-one:3] Set(“SIP/DIDLogic-0000023f”, “LOOPCNT2=1”) in new stack
— Executing [zap2dahdi@macro-dial-one:4] Set(“SIP/DIDLogic-0000023f”, “ITER2=1”) in new stack
— Executing [zap2dahdi@macro-dial-one:5] Set(“SIP/DIDLogic-0000023f”, “THISPART2=SIP/100”) in new stack
— Executing [zap2dahdi@macro-dial-one:6] ExecIf(“SIP/DIDLogic-0000023f”, “0?Set(THISPART2=DAHDI/100)”) in new stack
— Executing [zap2dahdi@macro-dial-one:7] Set(“SIP/DIDLogic-0000023f”, “NEWDIAL=SIP/100&”) in new stack
— Executing [zap2dahdi@macro-dial-one:8] Set(“SIP/DIDLogic-0000023f”, “ITER2=2”) in new stack
— Executing [zap2dahdi@macro-dial-one:9] GotoIf(“SIP/DIDLogic-0000023f”, “0?begin2”) in new stack
— Executing [zap2dahdi@macro-dial-one:10] Set(“SIP/DIDLogic-0000023f”, “THISDIAL=SIP/100”) in new stack
— Executing [zap2dahdi@macro-dial-one:11] Return(“SIP/DIDLogic-0000023f”, “”) in new stack
— Executing [dstring@macro-dial-one:9] GotoIf(“SIP/DIDLogic-0000023f”, “1?doset”) in new stack
— Goto (macro-dial-one,dstring,13)
— Executing [dstring@macro-dial-one:13] Set(“SIP/DIDLogic-0000023f”, “DSTRING=SIP/100&”) in new stack
— Executing [dstring@macro-dial-one:14] Set(“SIP/DIDLogic-0000023f”, “ITER=2”) in new stack
— Executing [dstring@macro-dial-one:15] GotoIf(“SIP/DIDLogic-0000023f”, “0?begin”) in new stack
— Executing [dstring@macro-dial-one:16] ExecIf(“SIP/DIDLogic-0000023f”, “0?Return()”) in new stack
— Executing [dstring@macro-dial-one:17] Set(“SIP/DIDLogic-0000023f”, “DSTRING=SIP/100”) in new stack
— Executing [dstring@macro-dial-one:18] Return(“SIP/DIDLogic-0000023f”, “”) in new stack
— Executing [s@macro-dial-one:27] GotoIf(“SIP/DIDLogic-0000023f”, “0?nodial”) in new stack
— Executing [s@macro-dial-one:28] GotoIf(“SIP/DIDLogic-0000023f”, “0?skiptrace”) in new stack
— Executing [s@macro-dial-one:29] GosubIf(“SIP/DIDLogic-0000023f”, “0?ctset,1():ctclear,1()”) in new stack
— Executing [ctclear@macro-dial-one:1] NoOp(“SIP/DIDLogic-0000023f”, “Deleting: CALLTRACE/100 “) in new stack
— Executing [ctclear@macro-dial-one:2] Return(“SIP/DIDLogic-0000023f”, “”) in new stack
— Executing [s@macro-dial-one:30] Set(“SIP/DIDLogic-0000023f”, “D_OPTIONS=Ttr”) in new stack
— Executing [s@macro-dial-one:31] ExecIf(“SIP/DIDLogic-0000023f”, “0?SIPAddHeader(Alert-Info: )”) in new stack
— Executing [s@macro-dial-one:32] ExecIf(“SIP/DIDLogic-0000023f”, “0?SIPAddHeader()”) in new stack
— Executing [s@macro-dial-one:33] ExecIf(“SIP/DIDLogic-0000023f”, “1?Set(CHANNEL(musicclass)=default)”) in new stack
— Executing [s@macro-dial-one:34] GosubIf(“SIP/DIDLogic-0000023f”, “0?qwait,1()”) in new stack
— Executing [s@macro-dial-one:35] Set(“SIP/DIDLogic-0000023f”, “__CWIGNORE=”) in new stack
— Executing [s@macro-dial-one:36] Set(“SIP/DIDLogic-0000023f”, “__KEEPCID=TRUE”) in new stack
— Executing [s@macro-dial-one:37] GotoIf(“SIP/DIDLogic-0000023f”, “0?usegoto,1”) in new stack
— Executing [s@macro-dial-one:38] GotoIf(“SIP/DIDLogic-0000023f”, “1?godial”) in new stack
— Goto (macro-dial-one,s,43)
— Executing [s@macro-dial-one:43] Macro(“SIP/DIDLogic-0000023f”, “dialout-one-predial-hook,”) in new stack
— Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“SIP/DIDLogic-0000023f”, “”) in new stack
— Executing [s@macro-dial-one:44] Dial(“SIP/DIDLogic-0000023f”, “SIP/100,,Ttr”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Audio is at 11780
Adding codec 100003 (ulaw) to SDP
Adding codec 100004 (alaw) to SDP
Adding codec 100002 (gsm) to SDP
Adding codec 100011 (g726) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 10.0.10.113:49101:
INVITE sip:100@139.0.190.24:49101;rinstance=c22f119d4cc84886;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.0.10.83:5060;branch=z9hG4bK782620c3;rport
Max-Forwards: 70
From: “Anonymous” <sip:Restricted@10.0.10.83>;tag=as062ef86b
To: <sip:100@139.0.190.24:49101;rinstance=c22f119d4cc84886;transport=UDP>
Contact: <sip:Restricted@10.0.10.83:5060>
Call-ID: 4171c39c7ee908db707843040aaebc84@10.0.10.83:5060
CSeq: 102 INVITE
User-Agent: FPBX-12.0.74(11.19.0)
Date: Sun, 16 Aug 2015 22:43:18 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
P-Asserted-Identity: “Anonymous” <sip:Restricted@10.0.10.83>
Content-Type: application/sdp
Content-Length: 308

v=0
o=root 412444345 412444345 IN IP4 10.0.10.83
s=Asterisk PBX 11.19.0
c=IN IP4 10.0.10.83
t=0 0
m=audio 11780 RTP/AVP 0 8 3 111 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv


— Called SIP/100

<— Transmitting (NAT) to 192.170.159.194:5060 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.170.159.194;branch=z9hG4bKc027.dc99fb14642b37584c92ad7c60656da4.0;received=192.170.159.194;rport=5060
Via: SIP/2.0/UDP 207.198.125.133;rport=5060;branch=z9hG4bKc027.8eaafe73ac00e89545c82ae87dc565a8.0
Via: SIP/2.0/UDP 192.170.152.170:5080;received=192.170.152.170;branch=z9hG4bK4d59a910;rport=5080
Record-Route: <sip:192.170.159.194;lr=on;ftag=as5b94fb55;vst=AAAAAAEMCQEKcQUCBx4JeQkeHwIbHwEdCzM-;nat=yes>
Record-Route: <sip:207.198.125.133;lr=on;ftag=as5b94fb55;vsf=AAAAABMLHBoLBAwBFiQhXF9ZV1xWTV0fW1tYUF9aZDo1MDgw>
From: Anonymous <sip:Restricted@207.198.125.133>;tag=as5b94fb55
To: 14159172008 <sip:14159172008@10.0.10.83>;tag=as58926234
Call-ID: 46608fc27bf8d5d32be1e8d21b82b619@192.170.152.170
CSeq: 102 INVITE
Server: FPBX-12.0.74(11.19.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:14159172008@10.0.10.83:5060>
Content-Length: 0
<————>

<— SIP read from UDP:10.0.10.113:49101 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.0.10.83:5060;branch=z9hG4bK782620c3;rport=5060
To: <sip:100@139.0.190.24:49101;rinstance=c22f119d4cc84886;transport=UDP>
From: “Anonymous” <sip:Restricted@10.0.10.83>;tag=as062ef86b
Call-ID: 4171c39c7ee908db707843040aaebc84@10.0.10.83:5060
CSeq: 102 INVITE
Content-Length: 0

<————->
— (7 headers 0 lines) —

<— SIP read from UDP:10.0.10.113:49101 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.0.10.83:5060;branch=z9hG4bK782620c3;rport=5060
Contact: <sip:100@139.0.190.24:49101>
To: <sip:100@139.0.190.24:49101;rinstance=c22f119d4cc84886;transport=UDP>;tag=ba6ba54c
From: “Anonymous” <sip:Restricted@10.0.10.83>;tag=as062ef86b
Call-ID: 4171c39c7ee908db707843040aaebc84@10.0.10.83:5060
CSeq: 102 INVITE
User-Agent: Z 3.7.30891 r30851
Content-Length: 0

<————->
— (9 headers 0 lines) —
list_route: hop: <sip:100@139.0.190.24:49101>
— SIP/100-00000240 is ringing

<— Transmitting (NAT) to 192.170.159.194:5060 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.170.159.194;branch=z9hG4bKc027.dc99fb14642b37584c92ad7c60656da4.0;received=192.170.159.194;rport=5060
Via: SIP/2.0/UDP 207.198.125.133;rport=5060;branch=z9hG4bKc027.8eaafe73ac00e89545c82ae87dc565a8.0
Via: SIP/2.0/UDP 192.170.152.170:5080;received=192.170.152.170;branch=z9hG4bK4d59a910;rport=5080
Record-Route: <sip:192.170.159.194;lr=on;ftag=as5b94fb55;vst=AAAAAAEMCQEKcQUCBx4JeQkeHwIbHwEdCzM-;nat=yes>
Record-Route: <sip:207.198.125.133;lr=on;ftag=as5b94fb55;vsf=AAAAABMLHBoLBAwBFiQhXF9ZV1xWTV0fW1tYUF9aZDo1MDgw>
From: Anonymous <sip:Restricted@207.198.125.133>;tag=as5b94fb55
To: 14159172008 <sip:14159172008@10.0.10.83>;tag=as58926234
Call-ID: 46608fc27bf8d5d32be1e8d21b82b619@192.170.152.170
CSeq: 102 INVITE
Server: FPBX-12.0.74(11.19.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:14159172008@10.0.10.83:5060>
Content-Length: 0
This Hoiio debug
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
— Executing [s@from-trunk:1] NoOp(“SIP/85258010007-0000021d”, “No DID or CID Match”) in new stack
— Executing [s@from-trunk:2] Answer(“SIP/85258010007-0000021d”, “”) in new stack
— Executing [s@from-trunk:3] Log(“SIP/85258010007-0000021d”, “WARNING,Friendly Scanner from 54.251.255.196”) in new stack
[2015-08-17 05:34:06] WARNING[19496][C-0000022a]: Ext. s:3 @ from-trunk: Friendly Scanner from 54.251.255.196
— Executing [s@from-trunk:4] Wait(“SIP/85258010007-0000021d”, “2”) in new stack
> 0x7fc6380baa10 — Probation passed – setting RTP source address to 54.251.255.198:14276
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
— Executing [01017972598031097@from-sip-external:1] NoOp(“SIP/139.0.190.24-0000021e”, “Received incoming SIP connection from unknown peer to 01017972598031097”) in new stack
— Executing [01017972598031097@from-sip-external:2] Set(“SIP/139.0.190.24-0000021e”, “DID=01017972598031097”) in new stack
— Executing [01017972598031097@from-sip-external:3] Goto(“SIP/139.0.190.24-0000021e”, “s,1”) in new stack
— Goto (from-sip-external,s,1)
— Executing [s@from-sip-external:1] GotoIf(“SIP/139.0.190.24-0000021e”, “0?checklang:noanonymous”) in new stack
— Goto (from-sip-external,s,5)
— Executing [s@from-sip-external:5] Set(“SIP/139.0.190.24-0000021e”, “TIMEOUT(absolute)=15”) in new stack
— Channel will hangup at 2015-08-17 05:34:22.931 WIB.
— Executing [s@from-sip-external:6] Log(“SIP/139.0.190.24-0000021e”, “WARNING,”Rejecting unknown SIP connection from 142.54.189.154″”) in new stack
[2015-08-17 05:34:07] WARNING[19497][C-0000022b]: Ext. s:6 @ from-sip-external: “Rejecting unknown SIP connection from 142.54.189.154”
— Executing [s@from-sip-external:7] Answer(“SIP/139.0.190.24-0000021e”, “”) in new stack
== Spawn extension (from-sip-external, s, 7) exited non-zero on ‘SIP/139.0.190.24-0000021e’
— Executing [h@from-sip-external:1] Hangup(“SIP/139.0.190.24-0000021e”, “”) in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/139.0.190.24-0000021e’
— Executing [s@from-trunk:5] Playback(“SIP/85258010007-0000021d”, “ss-noservice”) in new stack
— <SIP/85258010007-0000021d> Playing ‘ss-noservice.ulaw’ (language ‘en’)
== Spawn extension (from-trunk, s, 5) exited non-zero on ‘SIP/85258010007-0000021d’
— Executing [h@from-trunk:1] Macro(“SIP/85258010007-0000021d”, “hangupcall,”) in new stack
— Executing [s@macro-hangupcall:1] ExecIf(“SIP/85258010007-0000021d”, “0?Set(CDR(recordingfile)=.)”) in new stack
— Executing [s@macro-hangupcall:2] GotoIf(“SIP/85258010007-0000021d”, “1?theend”) in new stack
— Goto (macro-hangupcall,s,4)
— Executing [s@macro-hangupcall:4] Hangup(“SIP/85258010007-0000021d”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/85258010007-0000021d’ in macro ‘hangupcall’
== Spawn extension (from-trunk, h, 1) exited non-zero on ‘SIP/85258010007-0000021d’

CLI> sip set debug on
<————->
— (14 headers 0 lines) —
Really destroying SIP dialog ’78a185490ccc392531fed3a714d5220a@10.0.10.83:5060′ Method: OPTIONS
Really destroying SIP dialog ‘fe5f2d484f721552ea893aed07680a67’ Method: BYE

<— SIP read from UDP:142.54.189.154:5084 —>
INVITE sip:901017972592195434@139.0.190.24 SIP/2.0
To: 901017972592195434<sip:901017972592195434@139.0.190.24>
From: 1013<sip:1013@139.0.190.24>;tag=c22d4e94
Via: SIP/2.0/UDP 142.54.189.154:5084;branch=z9hG4bK-2d20f30ad098e6489e808aa02f74cdf2;rport
Call-ID: 2d20f30ad098e6489e808aa02f74cdf2
CSeq: 1 INVITE
Contact: <sip:1013@142.54.189.154:5084>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE
User-Agent: sipcli/v1.8
Content-Type: application/sdp
Content-Length: 284

v=0
o=sipcli-Session 607366599 1446372477 IN IP4 142.54.189.154
s=sipcli
c=IN IP4 142.54.189.154
t=0 0
m=audio 5087 RTP/AVP 18 0 8 101
a=fmtp:101 0-15
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=ptime:20
a=sendrecv
<————->
— (12 headers 13 lines) —
Sending to 142.54.189.154:5084 (NAT)
Sending to 142.54.189.154:5084 (NAT)
Using INVITE request as basis request – 2d20f30ad098e6489e808aa02f74cdf2
No matching peer for ‘1013’ from ‘142.54.189.154:5084’
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Found RTP audio format 18
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 101
Found audio description format G729 for ID 18
Found audio description format PCMU for ID 0
Found audio description format PCMA for ID 8
Found audio description format telephone-event for ID 101
Capabilities: us – (gsm|ulaw|alaw|g726), peer – audio=(ulaw|alaw|g729)/video=(nothing)/text=(nothing), combined – (ulaw|alaw)
Non-codec capabilities (dtmf): us – 0x1 (telephone-event|), peer – 0x1 (telephone-event|), combined – 0x1 (telephone-event|)
Peer audio RTP is at port 142.54.189.154:5087
Looking for 901017972592195434 in from-sip-external (domain 139.0.190.24)
list_route: hop: <sip:1013@142.54.189.154:5084>
<— Transmitting (NAT) to 142.54.189.154:5084 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 142.54.189.154:5084;branch=z9hG4bK-2d20f30ad098e6489e808aa02f74cdf2;received=142.54.189.154;rport=5084
From: 1013<sip:1013@139.0.190.24>;tag=c22d4e94
To: 901017972592195434<sip:901017972592195434@139.0.190.24>
Call-ID: 2d20f30ad098e6489e808aa02f74cdf2
CSeq: 1 INVITE
Server: FPBX-12.0.74(11.19.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:901017972592195434@10.0.10.83:5060>
Content-Length: 0
<————>
— Executing [901017972592195434@from-sip-external:1] NoOp(“SIP/139.0.190.24-0000022c”, “Received incoming SIP connection from unknown peer to 901017972592195434”) in new stack
— Executing [901017972592195434@from-sip-external:2] Set(“SIP/139.0.190.24-0000022c”, “DID=901017972592195434”) in new stack
— Executing [901017972592195434@from-sip-external:3] Goto(“SIP/139.0.190.24-0000022c”, “s,1”) in new stack
— Goto (from-sip-external,s,1)
— Executing [s@from-sip-external:1] GotoIf(“SIP/139.0.190.24-0000022c”, “0?checklang:noanonymous”) in new stack
— Goto (from-sip-external,s,5)
— Executing [s@from-sip-external:5] Set(“SIP/139.0.190.24-0000022c”, “TIMEOUT(absolute)=15”) in new stack
— Channel will hangup at 2015-08-17 05:38:07.186 WIB.
— Executing [s@from-sip-external:6] Log(“SIP/139.0.190.24-0000022c”, “WARNING,”Rejecting unknown SIP connection from 142.54.189.154″”) in new stack
[2015-08-17 05:37:52] WARNING[19633][C-00000239]: Ext. s:6 @ from-sip-external: “Rejecting unknown SIP connection from 142.54.189.154”
— Executing [s@from-sip-external:7] Answer(“SIP/139.0.190.24-0000022c”, “”) in new stack
Audio is at 19110
Adding codec 100003 (ulaw) to SDP
Adding codec 100004 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP

<— Reliably Transmitting (NAT) to 142.54.189.154:5084 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 142.54.189.154:5084;branch=z9hG4bK-2d20f30ad098e6489e808aa02f74cdf2;received=142.54.189.154;rport=5084
From: 1013<sip:1013@139.0.190.24>;tag=c22d4e94
To: 901017972592195434<sip:901017972592195434@139.0.190.24>;tag=as4647be9f
Call-ID: 2d20f30ad098e6489e808aa02f74cdf2
CSeq: 1 INVITE
Server: FPBX-12.0.74(11.19.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:901017972592195434@10.0.10.83:5060>
Content-Type: application/sdp
Content-Length: 256

v=0
o=root 2139276905 2139276905 IN IP4 10.0.10.83
s=Asterisk PBX 11.19.0
c=IN IP4 10.0.10.83
t=0 0
m=audio 19110 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv