Personally I'd chop out the remaining crap and mortar a couple of replacement bricks in, doesn't matter what sort of brick as presumably it'll be covered eventually anyway.
is that the area to the side of a door/French window?
Looks like the right hand side is the external wall.
Don't go mad with foam or the cavity will fill up.
I'd use a chunk of brick
If you need to find a tradesperson to get your job done, please try our local search below,
or if you are doing it yourself you can find suppliers local to you.
Select the supplier or trade you require, enter your location to begin your search.
Please select a service and enter a location to continue...
Are you a trade or supplier? You can create your listing free at DIYnot Local