You'll usually only be given a squawk if there is a need to identify you when you are receiving a FIS ie: when there is IFR traffic nearby or aircraft getting a RAS etc.
If your route is well clear of any of this that is probably why you've not been issued with a squawk.
As previously stated, give the nearest airfield a call first, then the FIR if nothing doing.