freebpx disro 14.0.1.20 asterisk 14.6.0
trying to get inbound caller id to display when call is forwared back outside system
carrier requires from:
enabled diversion header (settings-advanced) but sip invite still has no diversion header
tried p-asseted-id - but the header had the inbound did as the number -
what am i missing ??
call comes into 5612223333 - forwards on ext 1234 to 9545551234
call comes into 5612223333 - forwards on ext 1234 to 9545551234
had no caller id on trunk
was allowing any callerr id
tried variations -but divert header is not inserting -
carrier requires from field to be a valid did in the sip trunk group
which i have to argue with them a little
if the diversion header is there - they should honor that then the from field would be the forwarded caller id number
I can get that portion working - no problem -
just cant seem to get the diversion header inserted
If it is enabled, you need to use it with followme module. If you will not do that you will have to generate your customized diversion header through the macro-dialout-trunk-predial-hook context.
You can use a virtual extension with a follome enabled to generate a diversion header as well.
tried it with the follow me feature - still no luck
will have to mess with the macro - not my best forte…
thanks for pointing me in that direction though
You need to show the dialplan execution from the console. This is a SIP header that needs to be added, the adding of that header will be in the dialplan process. Need to see if the header is actually being set or the diversion setting is even being checked or handled.