Connect 2 freepbx machines w/out registration

ever since the summer, i was no longer able to connect multiple freePBX machines together just like that. Now, I need to set up a username and secret on the other machine and register as follows:

context=from-internal
host=xxxx
secret=xxxx
trunk=yes
type=friend
username=395
dtmfmode=rfc2833

I was able to register without the “username” and secret filed at one point. This prevented the other party’s caller ID (internal calls) from saying “Name” <395>. It would just say the extension number of the calling party, no matter which phone you called from.

Is there a way that I can fix this?

Thanks

bump

what type of trunk is this? sip, IAX? I have a IAX trunk between offices and the only differenace is I don’t have trunk=yes or dtmf settings but it works as your describe. infact a call in from once office dialing another office will carry the CID info across without issue which is exactly what we need.

I did what you told me. took off trunk=yes and dtmf
over IAX
heres results:
– Executing Macro(“Local/[email protected],2”, “outbound-callerid|7”) in new stack
– Executing GotoIf(“Local/[email protected],2”, “0?start”) in new stack
– Executing Set(“Local/[email protected],2”, “REALCALLERIDNUM=223”) in new stack
– Executing NoOp(“Local/[email protected],2”, “REALCALLERIDNUM is 223”) in new stack
– Executing GotoIf(“Local/[email protected],2”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,9)
– Executing Set(“Local/[email protected],2”, “USEROUTCID=”) in new stack
– Executing Set(“Local/[email protected],2”, “EMERGENCYCID=”) in new stack
– Executing Set(“Local/[email protected],2”, “TRUNKOUTCID=“Victoria Albi” <12126892600>”) in new stack
– Executing GotoIf(“Local/[email protected],2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,16)
– Executing GotoIf(“Local/[email protected],2”, “0?usercid”) in new stack
– Executing Set(“Local/[email protected],2”, “CALLERID(all)=“Victoria Albi” <12126892600>”) in new stack
– Executing GotoIf(“Local/[email protected],2”, “1?report”) in new stack
– Goto (macro-outbound-callerid,s,22)
– Executing NoOp(“Local/[email protected],2”, “CallerID set to “Victoria Albi” <12126892600>”) in new stack
– Executing AGI(“Local/[email protected],2”, “fixlocalprefix”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
– AGI Script fixlocalprefix completed, returning 0
– Executing Set(“Local/[email protected],2”, “OUTNUM=611”) in new stack
– Executing Set(“Local/[email protected],2”, “custom=IAX2/CustomerCare”) in new stack
– Executing GotoIf(“Local/[email protected],2”, “1?gocall”) in new stack
– Goto (macro-dialout-trunk,s,17)
– Executing Macro(“Local/[email protected],2”, “dialout-trunk-predial-hook|”) in new stack
– Executing GotoIf(“Local/[email protected],2”, “0?bypass|1”) in new stack
– Executing GotoIf(“Local/[email protected],2”, “0?customtrunk”) in new stack
– Executing Dial(“Local/[email protected],2”, “IAX2/CustomerCare/611|300|”) in new stack
– Called CustomerCare/611