Yes it’s me again, this time there is no DAHDI involved.
Trunk SIP settings
OutGoing
–Peer Details–
type=friend
qualify=yes
secret=“password”
host=“IP Address”
insecure=invite
context=from-trunk
trustrpid=yes
dtmfmode=rfc2833
port=5060
canreinvite=no
disallow=all
allow=ulaw
disallowed_methods=UPDATE
There is nothing in inbound (Based off instructions on wiki page)
VERBOSE[17441][C-00000004] pbx.c: Executing [223@ext-local:2] Macro(“Local/223@from-internal-00000002;2”, “exten-vm,223,223,0,0,0”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-exten-vm:1] Macro(“Local/223@from-internal-00000002;2”, “user-callerid,”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:1] Set(“Local/223@from-internal-00000002;2”, “TOUCH_MONITOR=1567693684.17”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:2] Set(“Local/223@from-internal-00000002;2”, “AMPUSER=unknown”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:3] GotoIf(“Local/223@from-internal-00000002;2”, “0?report”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:4] ExecIf(“Local/223@from-internal-00000002;2”, “1?Set(REALCALLERIDNUM=unknown)”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:5] Set(“Local/223@from-internal-00000002;2”, “AMPUSER=”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:6] GotoIf(“Local/223@from-internal-00000002;2”, “0?limit”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:7] Set(“Local/223@from-internal-00000002;2”, “AMPUSERCIDNAME=”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:8] ExecIf(“Local/223@from-internal-00000002;2”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:9] GotoIf(“Local/223@from-internal-00000002;2”, “1?report”) in new stack
VERBOSE[17441][C-00000004] pbx_builtins.c: Goto (macro-user-callerid,s,16)
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:16] NoOp(“Local/223@from-internal-00000002;2”, “Macro Depth is 2”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:17] GotoIf(“Local/223@from-internal-00000002;2”, “1?report2:macroerror”) in new stack
VERBOSE[17441][C-00000004] pbx_builtins.c: Goto (macro-user-callerid,s,18)
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:18] GotoIf(“Local/223@from-internal-00000002;2”, “0?continue”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:19] ExecIf(“Local/223@from-internal-00000002;2”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:20] Set(“Local/223@from-internal-00000002;2”, “__TTL=63”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:21] GotoIf(“Local/223@from-internal-00000002;2”, “1?continue”) in new stack
VERBOSE[17441][C-00000004] pbx_builtins.c: Goto (macro-user-callerid,s,37)
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:37] Set(“Local/223@from-internal-00000002;2”, “CALLERID(number)=unknown”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:38] Set(“Local/223@from-internal-00000002;2”, “CALLERID(name)=unknown”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:39] GotoIf(“Local/223@from-internal-00000002;2”, “0?cnum”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:40] Set(“Local/223@from-internal-00000002;2”, “CDR(cnam)=unknown”) in new stack
VERBOSE[17441][C-00000004] pbx.c: Executing [s@macro-user-callerid:41] Set(“Local/223@from-internal-00000002;2”, “CDR(cnum)=unknown”) in new stack
Hopefully this helps a little.
N.B
I have a client who uses PIAF and basically with the same settings as far as I can tell and the caller ID works for them. So I’m not sure as to why this one doesn’t.